Commit Graph

5681 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
1492ea9930 Backed out changeset e5bacdd4594c (bug 1022612) for bustage on a CLOSED TREE 2014-07-15 10:31:12 +02:00
Carsten "Tomcat" Book
2bdd8df774 Backed out changeset cdaa916f6851 (bug 1022612) 2014-07-15 10:30:47 +02:00
Carsten "Tomcat" Book
f47b379c1a Backed out changeset 6d2fc524e961 (bug 1022612) 2014-07-15 10:30:46 +02:00
Carsten "Tomcat" Book
4681a11b43 Backed out changeset f9564f9f4648 (bug 1022612) 2014-07-15 10:30:11 +02:00
Carsten "Tomcat" Book
4dafc50d79 Backed out changeset 7e9751c1302a (bug 1022612) 2014-07-15 10:30:01 +02:00
Carsten "Tomcat" Book
300634b007 Backed out changeset 1dd246b1436c (bug 1022612) 2014-07-15 10:29:58 +02:00
Carsten "Tomcat" Book
b21012d2de Backed out changeset 3de27f6dcd31 (bug 1022612) 2014-07-15 10:29:55 +02:00
Carsten "Tomcat" Book
f6a5f99ba1 Backed out changeset 2b29602d9850 (bug 995519) for suspicion of causing Reftest 20 test failure on a CLOSED TREE 2014-07-15 10:21:36 +02:00
Robert O'Callahan
46c2b20d44 Bug 1022612. Part 37: Remove aAllowVisibleRegionExpansion. r=mattwoodrow
This is no longer needed thanks to the readback simplification.

--HG--
extra : rebase_source : 6dad4c34681c478f9d4bf4829723ff9542b9d083
2014-06-23 16:24:51 +12:00
Robert O'Callahan
a7a227d36d Bug 1022612. Part 35: nsDisplayPluginReadback doesn't need to hack visible regions anymore. r=mattwoodrow
One nice bit of fallout from this bug is that handling plugin background
readback is simplified. We no longer have to fiddle with display item
visibility calculations; only layer occlusion culling has to know about
readback.

--HG--
extra : rebase_source : c735f4cb964d659b6778f5b43fa2e2b4c8f83933
2014-06-23 16:24:14 +12:00
Robert O'Callahan
435bb6a055 Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
This hasn't been used for a while I guess.

--HG--
extra : rebase_source : 8087253453b58dc4ea52a040341ced4638ffd0a7
2014-06-23 16:24:14 +12:00
Robert O'Callahan
a8a94867f0 Bug 1022612. Part 27: Make FrameLayerBuilder responsible for setting all layer visible regions. r=mattwoodrow
Calling Layer::SetVisibleRegion multiple times in a transaction can result in
unnecessary IPC traffic.

This patch removes Intersect(childGfxBounds). This is only needed to
restrict the visible region to something sane for 3D transforms, and this will
be fixed up in a later patch.

--HG--
extra : rebase_source : dc1eaa8079f61648c24ac9502e837ac9f2630730
2014-06-18 15:12:55 +12:00
Robert O'Callahan
1c4afc62d4 Bug 1022612. Part 5: BuildDisplayListForExtraPage needs to pass the correct dirty rect in. r=mattwoodrow
When printing, every page has the same origin. So doing this change naively
would result in the first page having all the display items for every page
added to it, and all but the first page's display items being pruned
away by PruneDisplayListForExtraPage. This would making printing long documents
very slow. We avoid that problem with the new check for
NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO, so the only pages other than the
current page we descend into are the ones with placeholders for abs-pos content
on the current page.

--HG--
extra : rebase_source : 5e07ef9e894ef41d36d4daf4498a14d5163da337
2014-06-09 16:47:58 +12:00
Robert O'Callahan
f0eb2a246f Bug 1022612. Part 4: Track current dirty rect in nsDisplayListBuilder. r=mattwoodrow
We need this to set the initial visible rect during display list construction.
Eventually we'll also be able to get rid of the dirty rect parameter to
nsIFrame::BuildDisplayList.

--HG--
extra : rebase_source : 1ba0444270986dd799a27e4373ca16525f3ced6c
2014-05-20 15:59:14 +12:00
Robert O'Callahan
ca0ac51233 Bug 1022612. Part 1: Always pass a frame to AutoBuildingDisplayList. r=mattwoodrow
--HG--
extra : rebase_source : c76f7af7e65a4e98dc3ee0a8309d0c05e02cf82e
2014-05-20 15:08:18 +12:00
Timothy Nikkel
d3e1ebc989 Bug 995519. Enable overlay scrollbars on root scrollframes in root content documents. r=roc 2014-07-15 00:09:24 -05:00
Simon Montagu
62a78bb0c4 Bug 1037903: convert from frame's writing mode to block's writing mode in GetBEndMarginClone. r=jfkthame 2014-07-14 01:59:30 -07:00
Kyle Huey
3076eaa115 Bug 1034304: Remove nsIDOMHTMLAudio/VideoElement. r=smaug 2014-07-12 19:20:42 -07:00
Jonathan Kew
2c0eccb279 bug 789096 patch X - avoid some unconstrained-width (should be -isize) warnings with mixed writing modes. r=smontagu 2014-07-10 10:11:33 +01:00
Jonathan Kew
14f6044141 bug 789096 patch 2 followup - set aMetrics.BSize() rather than .Height() in nsInlineFrame::ReflowFrames, to accompany setting .ISize(). r=smontagu 2014-07-10 10:11:30 +01:00
Mats Palmgren
1beb89da43 Bug 1001994. r=roc 2014-07-07 16:08:42 +00:00
Jonathan Watt
b6e81d9628 Bug 1034528, part 2 - Remove the Thebes backed gfxContext propagating code from nsCanvasFrame. r=Bas 2014-07-07 09:05:16 +01:00
Mats Palmgren
a0fc4f03ca Bug 1032450 - Flag the reflow state for a table frame as a "dummy" state if its parent state is. r=roc
InitCBReflowState() copies the mCBReflowState from the parent
reflow state for table frames, which is null for "dummy" states,
so it would lead to a crash in InitConstraints() which assumes
non-dummy states has a non-null mCBReflowState.
2014-07-04 11:48:15 +00:00
Mats Palmgren
c80262ec64 Bug 1031726 - Implement clip:rect() correctly when fragments are involved, for both box-decoration-break:slice/clone. r=roc 2014-07-04 11:48:15 +00:00
Kestrel
82e157e326 Bug 378775 - Implement Opera's behavior for selecting text inside of a link and link drag and drop. r=Enn 2014-07-03 04:26:00 -04:00
Susanna Bowen
6dd29185f6 Bug 1033052 - Call SetRect in ReflowFrame since the old rect does not need to be preserved. r=dbaron 2014-07-02 13:54:49 -07:00
Martijn Wargers
d8f5f4bdb8 Bug 1027268 - Fix for Bug 1027268 - Intermittent test_bug391747.html | uncaught exception. r=mats 2014-07-01 16:26:36 +02:00
Wes Kocher
5946b02728 Backed out changeset bcab7bc926c5 (bug 1031726) for b2g emulator reftest-6 bustage on a CLOSED TREE 2014-07-01 14:19:57 -07:00
Mats Palmgren
950248eff1 Bug 1031701 - Remove FlexContainerFrame::MarginComponentForSide(), use nsMargin::Side() instead. r=dholbert 2014-07-01 17:58:14 +00:00
Mats Palmgren
c6bcdff951 Bug 1031726 - Implement clip:rect() correctly when fragments are involved, for both box-decoration-break:slice/clone. r=roc 2014-07-01 17:58:14 +00:00
Jonathan Kew
1260837fc4 bug 789096 patch 8 followup - constify new accessors in nsBlockReflowState. r=smontagu 2014-06-30 19:05:28 +01:00
Carsten "Tomcat" Book
95c5ed5683 Backed out changeset 6bf1863c97a5 (bug 1009306) for m6 and m7 android test failures on a CLOSED TREE 2014-06-30 12:30:57 +02:00
Chris Lord
4283e5b09c Bug 1009306 - Always align scrolling to pixels on mobile. r=roc
Whole-layer invalidations are always expensive, but they're especially
expensive on mobile. Avoid them on mobile by always aligning to pixel
values, even if it means the scroll position will fall out of bounds.
2014-06-25 19:28:33 +01:00
Mats Palmgren
456573f73b Bug 1028460 - part 4, Remove LOGICAL_SIDE* and use the LogicalSideBits enum values instead. r=roc
CLOSED TREE
2014-06-28 10:13:14 +00:00
Mats Palmgren
b5c267b13f Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
927bd106f7 Bug 1028460 - part 2, Implement a mozilla::LogicalSides type that represents a set of logical sides that can be used for the GetLogicalSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
92fe6a5293 Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
1829b003f4 Bug 1028460 - part 4, Remove LOGICAL_SIDE* and use the LogicalSideBits enum values instead. r=roc 2014-06-28 10:13:14 +00:00
Mats Palmgren
d11737c8ef Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
6366f43016 Bug 1028460 - part 2, Implement a mozilla::LogicalSides type that represents a set of logical sides that can be used for the GetLogicalSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Seth Fowler
a9aee866f3 Bug 997010 (Part 1) - Support dynamic changes to the image-orientation property. r=dbaron 2014-06-27 20:50:26 -07:00
Seth Fowler
4cc0ce1c76 Bug 997604 - Add invalidation rect support to ImageWrappers, and use it in nsImageFrame. r=tn,sr=bz
--HG--
extra : rebase_source : a0b0f79c2bfab604f13e1098d09b2ec61e578a37
2014-06-26 16:02:04 -07:00
Jonathan Watt
fad16fd3b4 Bug 1030843 - Fix crash in nsNativeThemeCocoa::GetMinimumWidgetSize. r=roc 2014-06-27 10:19:00 +01:00
L. David Baron
c6d8a59ab8 Followup to Bug 789096 patch 8: fix indentation. No review.
The mis-indentation of the second argument to std::max predated this
patch (probably due to a substitution from something else to std::max),
and led to further misindentation in this patch.
2014-06-26 15:28:43 -07:00
James Kitchener
522cf7fbea Bug 1027354 - Fix fontweight and fontstyle on single char <mi>. r=roc 2014-06-25 05:20:00 -04:00
Mats Palmgren
06408f4155 Bug 1026641 - Put outline-style:auto rendering behind a pref and disable it by default. r=roc 2014-06-26 12:48:05 +00:00
Jonathan Watt
5150f90b6d Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
Chris Peterson
ef028fde56 Bug 1027486 - Make nsTextFrame::UpdateOverflow bail if it has no block ancestor (fixing -Wsometimes-uninitialized warning). r=dholbert 2014-06-18 21:23:21 -07:00
Carsten "Tomcat" Book
d6eca1576d Backed out changeset f1afdcec1927 (bug 1025553) for bustage on a CLOSED TREE 2014-06-25 14:21:34 +02:00
Jonathan Watt
41dd3d564a Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00