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
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
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