Commit Graph

14978 Commits

Author SHA1 Message Date
dbaron%dbaron.org
75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
de72fd6d40 Oops, wrong tree. Backing out. 2003-05-15 03:36:05 +00:00
dbaron%dbaron.org
9029e25c56 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:32:08 +00:00
roc+%cs.cmu.edu
ade40a3ae3 Bug 204531. Remove bogus RTL listbox reflow hack. Fix border computation for desired size of combobox dropdowns. 2003-05-15 01:42:53 +00:00
bryner%netscape.com
18429137a3 Fix crash mousing around menus (bug 205728). Patch by bienvenu, r=me, sr=dbaron, a=sspitzer. 2003-05-15 00:06:23 +00:00
dbaron%dbaron.org
5cee333241 Fix regression that text zoom was broken on text fields on Windows. b=205534 r+sr=roc a=asa 2003-05-14 22:37:57 +00:00
dbaron%dbaron.org
f132e9126f Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa 2003-05-14 22:36:33 +00:00
roc+%cs.cmu.edu
f601bd510e Bug 199897. Fix regression by being smarter about how we clip border painting to the dirty rect. r=bernd,sr=dbaron,a=asa 2003-05-14 00:44:38 +00:00
danm%netscape.com
b60ee24dd1 backing out last revision. interestingly this doesn't seem to affect the fix that revision made. bug 204770 r=bryner,roc+moz a=asa 2003-05-12 22:47:46 +00:00
bryner%netscape.com
8dc3ad3076 Fixes for a number of focus problems:
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)

Summary of the changes:
- Don't require a frame to be present for focus events.  This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent.  We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().

r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00
rbs%maths.uq.edu.au
6e66b5ebb8 mismatch in the mathfont association of the solidus symbol '/', spotted by Geoff Leach <gl@cs.rmit.edu.au> in bug 128153, r+sr=rbs, a=sspitzer 2003-05-10 03:40:36 +00:00
jst%netscape.com
fba31f0405 Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com 2003-05-09 20:42:49 +00:00
brade%netscape.com
0f98e1c43e api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365 2003-05-09 18:30:02 +00:00
smontagu%netscape.com
1d28d1dc0e Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2003-05-08 18:38:19 +00:00
bzbarsky%mit.edu
e7e97a4c97 Minor tweak to never match in an error case we better not be hitting anyway.
Bug 77519, r=glazou (who also posted the first patch version; r=me on the part
he did), sr=dbaron, a=sspitzer
2003-05-08 01:59:25 +00:00
caillon%returnzero.com
f167f4a8e0 Bug 192577 - URL bar doesn't collapse on windows
Patch by aaronl@netscape.com
r=danm sr=bryner
a=asa for checkin into a closed tree
2003-05-07 01:12:41 +00:00
bzbarsky%mit.edu
48c50e8f7c Fix scroll state restoration when going back to URL with anchor. Bug 204364,
r=jkeiser, sr=dbaron, a=asa
2003-05-06 05:46:46 +00:00
roc+%cs.cmu.edu
f4a1c61d8c Bug 201797. Do an extra reflow of the scrollframe if we adjusted the width or height after reflowing it the first time. Also, don't include border/padding when calculating the visible width in the unconstrained case 2003-05-04 19:00:21 +00:00
cbiesinger%web.de
e27ab6d217 199045 r+sr=bz a=asa Animated image rotates although "Animate images should loop ... [X] never" is marked 2003-05-04 18:06:10 +00:00
bzbarsky%mit.edu
61cfa22b74 When doing a placeholder, paint it and the alt text in the foreground layer,
not the background one.  Bug 156987, r+sr=roc+moz, a=sspitzer
2003-05-03 02:34:42 +00:00
varga%netscape.com
7967318ca3 Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
cbiesinger%web.de
4a19167b35 204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent 2003-05-02 19:21:00 +00:00
neil%parkwaycc.co.uk
8664402ee6 Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa 2003-05-01 10:42:33 +00:00
mjudge%netscape.com
b0318bfe51 195080 fix regression. sr=sfrasier r=danm. fix logic for moving caret around 0 width frames 2003-04-30 21:37:05 +00:00
colin%theblakes.com
b4b0010418 Remove bad ANSI alias. b=190733. r=bbaetz. sr=dbaron. a=sspitzer 2003-04-30 20:39:27 +00:00
bzbarsky%mit.edu
fb289d8bd3 Images with no alt attr in quirks mode should show a placeholder, even if they
were blocked.  Bug 201288, r+sr=roc+moz, a=asa
2003-04-29 18:49:42 +00:00
bzbarsky%mit.edu
8565cf3ef4 Fix sizing of disabled buttons to match enabled ones. Bug 147463,
r=jkeiser, sr=roc+moz, a=asa
2003-04-29 18:45:51 +00:00
sspitzer%netscape.com
c0914052a5 some bulletproofing/wallpapering for crasher bug #203431
r=varga, sr=bienvenu, a=sspitzer
2003-04-26 21:57:39 +00:00
caillon%returnzero.com
9f6e7048fb 182099 - lock up on stylesheets tab double-clicking the twisty
r=varga, sr=bzbarsky, a=sspitzer
2003-04-26 21:38:53 +00:00
bzbarsky%mit.edu
04d9b57f42 Make sure to flush reflows before trying to scroll so that frame coordinates
will be up-to-date.  Bug 186149, r=peterv, sr=jst, a=asa
2003-04-26 01:13:28 +00:00
bzbarsky%mit.edu
0b19a3bbf0 Pass the content parent frame to ConstructTableFrame so the view that's created
goes in the right place in the z-ordering.  Bug 203086, r+sr=roc, a=asa
2003-04-26 01:08:35 +00:00
peterlubczynski%netscape.com
1fb13b0d22 Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa 2003-04-25 00:21:12 +00:00
bzbarsky%mit.edu
03a2ec9100 Fix crash on closing windows that are in the middle of loading standalone
images.  Bug 202895, r=bryner, sr=jst, a=asa
2003-04-24 22:44:48 +00:00
harishd%netscape.com
13e997dbf1 Fixing potential build bustage. 2003-04-23 01:53:51 +00:00
harishd%netscape.com
e9a6d023b7 Fixing bustage 2003-04-23 01:31:59 +00:00
rbs%maths.uq.edu.au
ca039d0ff3 Still wrestling with bug 118600, turn static class into pointer and s/./->/g accordingly 2003-04-23 01:08:40 +00:00
bzbarsky%mit.edu
d3b47fec8c Don't check for :before/:after on frames that have pseudo-style-contexts. Bug
202917, r+sr=dbaron
2003-04-23 00:43:03 +00:00
smontagu%netscape.com
d2e02afe6c Bug 170547 Caret is in the wrong place after deleting <LI>'s. r+sr=kin. 2003-04-23 00:24:24 +00:00
mjudge%netscape.com
7892a93f8c 192566 r=danm sr=smfr even though we may disagree with the user experience in some cases, this fix will stop the editor from drawing the alpha blended images in the case of only the images being selected (see resizing images) 2003-04-22 23:18:34 +00:00
mjudge%netscape.com
0bc89daad7 202834 r=danm sr=kin fixes regression in line clicking and navigation. 2003-04-22 22:40:58 +00:00
jst%netscape.com
8f24979ea4 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
sfraser%netscape.com
352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
rbs%maths.uq.edu.au
21c618c8ea Extra consolidation for bug 118600, r+sr=roc+moz 2003-04-22 16:40:56 +00:00
rbs%maths.uq.edu.au
1bbb3daf7f Parameterize the handling of base fonts (i.e., fonts used for certain characters at their base/non-stretchy size). Use that to set base fonts for sqrt (which used to be hard-coded), and fix the &le; problem by setting the safer Symbol font as its base font. Also while here, emulate \mathstrut in sqrt for extra beautification. b=118600, r+sr=roc+moz 2003-04-22 03:32:06 +00:00
roc+%cs.cmu.edu
4955d7cabf Fixing indentation 2003-04-22 01:34:30 +00:00
roc+%cs.cmu.edu
e7bf73c0d8 Bug 201767. Make nsBlockFrame::GetAdditionalChildListNames return the overflowList. Also, don't create scrollbars in print contexts except for the viewport scrollbar. r+sr=bzbarsky. 2003-04-22 01:33:14 +00:00
bzbarsky%mit.edu
476c30fdff Make sure that Init() failures for image frames don't mean no alt text. Also
fixes a crasher when reframing fixed-pos frames.

This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED).  This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.

Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
bzbarsky%mit.edu
f09182206c Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
pseudos.  Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions.  Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
bryner%netscape.com
b5af164b7c Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc. 2003-04-21 23:01:36 +00:00
varga%netscape.com
1ee3454e9e Fix for bug 201077. Dragging a bookmark item to the last bookmark folder causes the application to hang.
r+sr=bryner
2003-04-21 08:30:57 +00:00