Commit Graph

1056 Commits

Author SHA1 Message Date
L. David Baron
5a8f68315b Backed out changeset 046f5da25280 due to crash in layout/forms/test/ mochitests. 2009-01-13 17:47:03 -08:00
L. David Baron
54c0fed0d2 When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky 2009-01-13 11:50:41 -08:00
John Daggett
f9e721b5df Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron. 2009-01-13 14:16:58 +09:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Robert Kaiser
5f8c1f03e4 bug 469331 - [SeaMonkey] test_bug458898.html fails, make the width test function always ok on Windows, r=dbaron 2008-12-23 16:03:25 +01:00
Boris Zbarsky
e70ba8495c Adding asserts for bug 470167 2008-12-22 15:00:08 -08:00
Robert Kaiser
7cf9888fa2 bug 469331 - [SeaMonkey] test_bug458898.html fails, mark the test todo on SeaMonkey for now, r=dbaron 2008-12-21 13:42:15 +01:00
Olli Pettay
d766a4a00e Bug 466057, r+sr=bz 2008-12-20 16:28:19 +02:00
Serge Gautherie
98e21ae301 Backed out changeset: 4fbb9483d7e6 2008-12-20 04:59:56 +01:00
Zack Weinberg
6e87ad1067 Bug 456219 - fix background clipping with rounded corners; r+sr=roc 2008-12-20 01:55:59 +01:00
Olli Pettay
28242cb1ae Bug 461994 - Crash [@ DocumentViewerImpl::Close] with reloading, r+sr=bz 2008-12-20 01:45:56 +02:00
Olli Pettay
7fb4bae15c Bug 470167 - 'ASSERTION: Should be in an update while creating frames' with stylesheet appended many times, r+sr=bz 2008-12-20 01:35:30 +02:00
Joe Drew
a29562512b Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-19 17:35:50 -05:00
Stuart Parmenter
91c3580bb5 bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me 2008-12-12 02:50:31 -08:00
Ehsan Akhgari
ca2a90bdee Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
Robert O'Callahan
ed66190092 Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
--HG--
extra : rebase_source : 4d11b963d3082f98269069c68aae33eef365aacb
2008-12-17 13:27:46 +13:00
L. David Baron
3e5f6435ab Move wrapping of blocks inside XUL into ProcessChildren to catch more callers. (Bug 421203) r+sr=roc a=blocking1.9.1+
--HG--
rename : layout/reftests/bugs/321402-3.xul => layout/reftests/bugs/421203-3.xul
rename : layout/reftests/bugs/321402-4.xul => layout/reftests/bugs/421203-4.xul
rename : layout/reftests/bugs/321402-5.xul => layout/reftests/bugs/421203-5.xul
rename : layout/reftests/bugs/321402-6.xul => layout/reftests/bugs/421203-6.xul
2008-12-16 16:30:31 -08:00
Masayuki Nakano
229283883c Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc 2008-12-15 12:54:54 +09:00
Simon Montagu
70d49c14fa Make display of the directional hook on the caret dependent on the bidi.browser.ui pref. Bug 418513, r=uriber, sr=roc (for core) r=mano, gavin.sharp (for browser) 2008-12-14 01:05:39 -08:00
Olli Pettay
f8412fdedc Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz 2008-12-13 22:30:02 +02:00
Zack Weinberg
942db4a483 Bug 467459: make sure PresShell::Paint() uses an opaque color for the backstop; r+sr=roc 2008-12-13 17:07:08 +01:00
Graeme McCutcheon
4d0acd8eae Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc 2008-12-12 14:25:22 -05:00
Robert O'Callahan
a3a3951684 Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats 2008-12-12 21:34:43 +13:00
Robert O'Callahan
a06ae88b70 Bug 468690. Remove leftover assertion that's no longer needed after the fix for bug 460012. r+sr=bzbarsky 2008-12-12 21:28:47 +13:00
Robert O'Callahan
aea35dfccb Bug 455314. nsSVGRenderingObserver::GetReferencedFrame shouldn't try to look up the frame on a cache miss, if we're currently destroying frames. r+sr=mats 2008-12-12 21:25:16 +13:00
John Daggett
4e18b0296a Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc 2008-12-12 16:31:51 +09:00
Markus Stange
975559338c Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc 2008-12-11 15:37:38 +01:00
Robert Sayre
58f4455a2a Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak. 2008-12-11 01:27:58 -08:00
Joe Drew
294499eab5 Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-10 16:25:34 -08:00
Robert O'Callahan
088a6b0690 Bug 458898. Make sizeToContent work for HTML documents by ensuring CanvasFrame converts an UNCONSTRAINEDSIZE computed height into its actual desired height. r+sr=dbaron 2008-12-09 13:33:46 +13:00
L. David Baron
39812fadae Rebuild all style data when the user font set changes so that we recompute ex and ch units. (Bug 458878) r=jdaggett sr=bzbarsky a=blocking1.9.1+ 2008-12-08 08:08:05 -08:00
Robert O'Callahan
bfa41e8f5e Merged to trunk 2008-12-08 20:52:15 +13:00
Mats Palmgren
1c185b29b9 Walk child frame next-in-flows that are overflow containers. Skip [excess]overflowContainersList to avoid processing them more than once. b=411835 r+sr=roc 2008-12-08 04:01:25 +01:00
Robert O'Callahan
64e40d52ed Bug 451117. Remove obsolete assertion. r+sr=bzbarsky 2008-12-08 13:50:57 +13:00
Mats Palmgren
e79d638b8e Make GetCurrentEventFrame() return null if the shell is being destroyed (don't call GetPrimaryFrameFor()). b=421839 r+sr=roc 2008-12-08 00:10:31 +01:00
L. David Baron
7fc92bad7f Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc 2008-12-07 13:58:07 -08:00
Masatoshi Kimura
a682e0d618 Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Michael Ventnor
e758b80cd9 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Neil Deakin
368d82a815 Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
Zack Weinberg
1e1e399d77 Bug 460217 - handle @font-face block without family name correctly in nsCSSRuleProcessor - r+sr=dbaron 2008-12-04 21:01:37 -08:00
L. David Baron
e2343835b0 Merge backout of changeset 7b553bbed53d (bug 302561) due to chrome test crash. 2008-12-04 09:57:44 -08:00
L. David Baron
90b976fe34 Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash. 2008-12-04 09:57:18 -08:00
L. David Baron
5ef811c47a Make incremental frame construction set mFixedPosIsAbsPos just like from-the-top frame construction. (Bug 467460) r+sr=roc 2008-12-04 08:09:53 -08:00
L. David Baron
3e43af7a94 Allow PostRebuildAllStyleData to be called with an aExtraHint. (Bug 458878) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
L. David Baron
c95d61afc0 Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
L. David Baron
85dd73ebd3 Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc 2008-12-04 08:09:52 -08:00
Markus Stange
76daa5a7da Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc 2008-12-02 14:18:08 +01:00
Daniel Holbert
357fdecd33 (Undoing whitespace-only change) 2008-12-04 05:15:11 -08:00
Daniel Holbert
2059630793 Note: prev changeset (d5969f0d3fd9) was for Bug 466607 -- I forgot the bug # in the checkin comment. (I'm pushing _this_ whitespace-only changeset as a follow-up to get that bug # in there.) 2008-12-04 05:14:21 -08:00
Daniel Holbert
34af9c25e6 Use QI for type-safety check in StopMediaInstance/StartMediaInstance. r=chris.double sr=roc 2008-12-04 05:08:39 -08:00
Graeme McCutcheon
db7058c5de Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky 2008-12-03 12:55:14 -05:00
Robert O'Callahan
70ba87beed Backing out bug 458898 to try to fix Windows orange 2008-12-04 00:42:49 +13:00
Robert O'Callahan
5364eb1faf Backed out changeset 357d1c01bde3 2008-12-04 00:42:02 +13:00
Simon Montagu
3363523acc Delete all text frame continuations when deleting first letter frame. Bug 466763, r+sr=roc 2008-12-02 22:56:53 -08:00
Robert O'Callahan
9370e7013a Bustage fix for bug 463307 2008-12-03 15:02:29 +13:00
Robert O'Callahan
38bbc69620 Bug 463307. Convert to float a bit earlier to avoid integer overflow. r+sr=dbaron 2008-12-03 14:32:18 +13:00
Uri Bernstein
ac8e218f9c Bug 466568. Don't traverse into scrollable frames if we're not allowed to traverse out of them. r+sr=roc 2008-12-03 14:24:07 +13:00
Michael Ventnor
e02630a781 Bug 458031. Take dirty rect into account to limit box-shadow computation. r+sr=roc 2008-12-03 10:16:22 +13:00
Robert O'Callahan
c06c17a0c2 Bug 458898. Fix intrinsic sizing of windows by ensuring CanvasFrame converts an NS_UNCONSTRAINEDSIZE desired height to its actual desired height. r+sr=dbaron 2008-12-03 09:50:16 +13:00
Robert O'Callahan
b72f6882fb Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad 2008-12-03 09:46:44 +13:00
Gavin Sharp
58c580b07d Bug 462887: document ignoreScrollFrame argument in nsLayoutUtils, rename it to ignoreRootScrollFrame, r=roc, sr=bzbarsky, a=beltzner 2008-11-28 14:53:33 -05:00
L. David Baron
f947c3be3c Don't assert when we call GetUserFontSet during frame construction. (Bug 466756) r+sr=bzbarsky a191=beltzner 2008-11-27 12:31:04 -08:00
John Daggett
0d24013534 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
L. David Baron
7372b5e796 Merge roc-1.bundle to land 5 patches for roc. 2008-11-25 20:41:38 -08:00
Boris Zbarsky
bad0b33175 Bug 437142. Be a little more careful with GetPrimaryFrameFor to work around the mess that <area> elements cause. r+sr=roc 2008-11-25 20:49:14 -05:00
L. David Baron
f0a1beced5 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
2aa2ccaca4 Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
5785e50c68 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
b5cdb24735 Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures. 2008-11-25 15:09:02 -08:00
Robert O'Callahan
54b396e60b Bug 463952. Expand destArea according to CSS background-repeat *before* intersecting with bgClipArea, instead of after. r+sr=dbaron 2008-11-26 11:19:34 +13:00
Robert O'Callahan
1dd1408b35 Bug 460012. When recreating frames for a generated content node, reframe the nearest non-generated-content ancestor. r+sr=bzbarsky 2008-11-26 11:15:41 +13:00
Robert O'Callahan
98a52f5f6c Bug 454751. Use a fresh nsFrameConstructorState when we construct new frames in ReconstructDocElementHierarchyInternal, so internal state pointing to deleted frames is flushed out. r+sr=bzbarsky 2008-11-26 11:12:06 +13:00
L. David Baron
88620d4af0 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
dc119e5622 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
49d3fcc1ac Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
f493486819 Address my own review comment: Restore IsTransparent() check, which should restore old behavior for background-images when printing backgrounds is disabled. (Bug 456219) r=zwol 2009-01-10 08:37:01 -08:00
Mats Palmgren ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
b06807d54b Put the root element in the undisplayed map so that we reconstruct it when it has its 'display' changed from 'none' to something else. (Bug 283686) r+sr=bzbarsky 2009-01-10 08:28:15 -08:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
L. David Baron
914fe872e6 bug 464970 - nsCSSBorderRenderer::AreBorderSideFinalStylesSame is too pessimistic. r=vlad, a=beltzner 2008-11-19 11:53:08 -05:00
Boris Zbarsky
127c0998fe Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp 2008-11-18 17:54:36 -05:00
Robert O'Callahan
2f76e95c17 Bug 464811. Snap the anchor point to pixels using a method that guarantees the source rect and the subimage rect intersect. r+sr=dbaron 2008-11-18 20:48:46 +13:00
Robert O'Callahan
774dc6063b Backed out changeset 0ced86fbf8ed (reftest failures) 2008-11-18 10:13:55 +13:00
Robert O'Callahan
48c8f9855c Bug 464811. Tweak the anchor point snapping algorithm again. This time we have a proof that the resulting snapping algorithm guarantees the subimage rectangle intersects the logical source rectangle. r+sr=dbaron 2008-11-18 09:32:11 +13:00
Blake Kaplan
337fb163df Bug 458440 - Attempt to work around speculative parsing crash. r+sr=dbaron 2008-11-11 13:38:54 -08:00
Robert O'Callahan
c8375e914a Bug 463217. Don't let nsLayoutUtils::DrawSingleImage/DrawSingleUnscaledImage do any tiling, restrict their drawing to the single tile. r+sr=dbaron 2008-11-10 20:24:21 +13:00
Joe Drew
a2b8f5356f Backed out changeset 6bedb1e92dd0 due to refcount leaks 2008-11-07 15:01:35 -05:00
Joe Drew
8fd1536f32 Bug 393936 - Cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call CancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). r=bz, sr=pavlov, a=blocking1.9.1+ 2008-11-07 14:35:22 -05:00
Robert O'Callahan
6303f1ce0f Bug 463204. Be more careful about snapping the anchor point. We must transform the anchor point to match the snapping of the fill rect before we actually snap it to device pixels. r+sr=dbaron 2008-11-07 13:58:42 +13:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Michael Ventnor
318cfd2e10 Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc 2009-01-09 13:29:38 +13:00
Zack Weinberg
dacf4ab104 Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc 2009-01-09 13:28:32 +13:00
Robert O'Callahan
6b943be957 Backed out changeset 5041ce453104 2009-01-08 23:19:21 +13:00
Zack Weinberg
25f522098f Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
--HG--
extra : rebase_source : ec710fd6f83332fcecaa926b1f0ec07e4d2e3635
2009-01-08 21:10:21 +13:00
Robert O'Callahan
f708c8026e Bug 425981. Make first-letter frame wrapping build its own frame constructor state to ensure it's for the correct place in the frame tree. r+sr=bzbarsky
--HG--
extra : rebase_source : 7dd5de3f6b2a9e83994d7023d4cfafce205e9376
2009-01-08 21:07:51 +13:00
Boris Zbarsky
95874e95d3 Bug 472500. Allow generated content on XUL frames. r+sr=roc 2009-01-07 18:22:08 -05:00
Boris Zbarsky
835c17ffde Bug 472501. Add XUL namespace checks in some more places where they're needed, and make the XBL suppression of child frame processing work for all frames, not just XUL. r=enndeakin, sr=roc 2009-01-07 18:22:05 -05:00
Boris Zbarsky
709cd54c51 Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc 2009-01-06 17:29:50 -05:00
Boris Zbarsky
6925343822 Bug 472322. Don't treat non-XUL listboxbody/listitem specially in XUL frame construction. r=enndeakin, sr=roc 2009-01-06 14:18:04 -05:00
Boris Zbarsky
1ce2a69367 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron 2009-01-06 14:17:05 -05:00
Boris Zbarsky
7663cfbf76 Bug 291854. Push float containing blocks inside ProcessChildren. r+sr=roc 2009-01-05 20:54:32 -05:00
Robert O'Callahan
b4af72fc54 Bug 471365. Make reftest-wait tests track invalidation via MozAfterPaint and repaint the invalid areas like normal window repaining would. This makes invalidation-related bugs testable. r=dbaron 2009-01-06 14:15:13 +13:00
Boris Zbarsky
60aefffa14 Bug 472138. Push CreateAnonymousFrames into ProcessChildren. r+sr=roc 2009-01-05 17:25:33 -05:00
Boris Zbarsky
e240a880db Bug 472138. Eliminate unused or unnecessary CreateAnonymousFrames args. r+sr=roc 2009-01-05 17:25:31 -05:00
Olli Pettay
d30fae3581 Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron 2009-01-05 18:26:59 +02:00
Michael Ventnor
2d49b62ed7 Bug 445741. Round rects consistently to avoid a gap between an element and its shadow. r+sr=roc
--HG--
extra : rebase_source : dbb4ae33812db8167650dcc218f0bd4a3e0f3dc2
2009-01-05 13:41:01 +13:00
Robert O'Callahan
7b82035873 Bug 465448. Perform sanity check to avoid resizing a window smaller than the content area we're trying to achieve. r+sr=bzbarsky
--HG--
extra : rebase_source : 57e7e4e95ec2c100b8ceaa66864f6dfb5ba1cc86
2009-01-05 13:39:40 +13:00
L. David Baron
57a8e776d8 Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc 2009-01-04 19:39:54 -05:00
L. David Baron
87389f6007 Remove TestSpaceManager. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
L. David Baron
82d6666100 Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
L. David Baron
3b375b5c0b Fix assertion in bug 468645, per bzbarsky's followup review comment. r+sr=bzbarsky 2009-01-04 14:52:38 -05:00
L. David Baron
9b5ab1b7c2 Forgot to rev IID in bug 468645 (changeset efbec418c3a1). 2009-01-04 14:52:38 -05:00
L. David Baron
b3d748ba11 Fix some missed renames from bug 471356. r+sr=bzbarsky 2009-01-04 14:52:38 -05:00
Olli Pettay
4055e86a98 Bug 471883 - Gesture events should be dispatched to the element under mouse, not to document. r+sr=roc 2009-01-03 14:40:26 +02:00
Serge Gautherie
3345c79902 Bug 469331 - [SeaMonkey] test_bug458898.html fails; (Cv1) Report the (failing) values; r=dbaron 2009-01-03 08:27:27 +01:00
Olli Pettay
28e3d7cf73 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
Jesse Ruderman
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
L. David Baron
23d4f4d4b2 Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
d0d2117def Add crashtests for bug 468645. 2008-12-29 10:07:37 -05:00
L. David Baron
7748baab3d Fix nsLayoutUtils::IsReallyFixedPos to work right in paginated mode. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
83b583a320 Don't post media features values changed events when nothing changed. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
a4dd12922f Pass the correct parent content when re-resolving the inner table for a display:table pseudo-element (:before or :after). (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
Robert O'Callahan
0d380f02a0 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Markus Stange
7a9f82ce7e Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc 2008-11-04 15:38:16 +01:00
Boris Zbarsky
17950b40a6 Fixing merge; no idea where that came from 2008-11-02 21:34:00 -05:00
Boris Zbarsky
644555dba0 Adding test file too 2008-11-02 21:33:04 -05:00
Boris Zbarsky
70c50466ec Bug 454578. Load the quirk stylesheet separately from the general UA stylesheet, so it can be sensibly enabled/disabled in style sets. r+sr=dbaron 2008-11-02 21:29:51 -05:00
L. David Baron
9b86daea26 Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky 2008-11-02 11:44:55 -08:00
Mats Palmgren
ada556a4e8 Delete mNext iteratively to avoid blowing up the stack. b=460461 r+sr=dbaron 2008-11-02 17:05:14 +01:00
Benjamin Smedberg
9696613a50 Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren 2008-10-30 12:17:59 -07:00
Benjamin Smedberg
4eb5e5d5a8 Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc 2008-10-30 10:15:22 -07:00
Zack Weinberg
679447bf82 Bug 455105 - IsSolidBorderEdge in nsCSSRendering.cpp ignores foreground borders; r=vladimir, sr=roc 2008-10-30 12:54:58 +03:30
Daniel
4b653f7ab0 Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; nsPresShell.cpp; r+sr=roc 2008-10-29 06:11:40 +01:00
Mats Palmgren
de8a444db0 Fix various mistakes in handling of mBorderImageLoaders. (Bug 446328) r+sr=dbaron 2008-10-28 14:38:37 -07:00
L. David Baron
8878bc85e1 Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:36:44 -07:00
L. David Baron
65cadd7c29 Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:36:17 -07:00
L. David Baron
2015aefdfd Merge backout of changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:35:18 -07:00
L. David Baron
e7cd23e3ac Backed out changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
--HG--
rename : layout/base/nsImageLoadNotifier.cpp => layout/base/nsImageLoader.cpp
rename : layout/base/nsImageLoadNotifier.h => layout/base/nsImageLoader.h
2008-10-28 14:34:03 -07:00
Chris Double
b9fbf2e7c2 Bug 449518 - Video autostart after doing Back/Forward history button on browser - r+sr=roc 2008-10-29 07:48:39 +13:00
Benjamin Smedberg
05386c2561 Back out bugs 461410 and 461212 because I'm not sure which is causing the mochitest regression. 2008-10-28 02:51:50 -04:00
Benjamin Smedberg
dfbac6a0c3 Merge backout and typo fix of bug 461212 2008-10-28 02:50:20 -04:00
Benjamin Smedberg
4214b72dd5 Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212 2008-10-28 02:49:14 -04:00
Benjamin Smedberg
13f4fb61ed Backed out changeset eda9709dc586 (deCOM frame enumerator) due to regression from it or bug 461410. 2008-10-28 02:48:32 -04:00
Benjamin Smedberg
3a3f316c84 Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410. 2008-10-28 02:47:40 -04:00
Benjamin Smedberg
e5bc6108a6 Stupid typo during review fix for bug 461212 2008-10-28 01:03:11 -04:00
Benjamin Smedberg
dd4c950cff Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!

r+sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
d89e3c2841 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
30eacd2625 Bug 461576 - nsListBoxBodyFrame shouldn't need to implement nsIListBoxObject - r=enn sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4 Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc 2008-10-28 00:47:19 -04:00