Commit Graph

5675 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
9c7c401755 Backed out changeset 3de27f6dcd31 (bug 1022612) 2014-07-15 10:29:55 +02:00
Carsten "Tomcat" Book
43704c4689 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
6c60c59615 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
2682bcb1da 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
b342cdbc2b 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
30dd0c42a3 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
276239307d 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
59f4b64c9f 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
5c39722fc1 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
2359218d0d Bug 995519. Enable overlay scrollbars on root scrollframes in root content documents. r=roc 2014-07-15 00:09:24 -05:00
Simon Montagu
456968ad5c 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
8031891b11 Bug 1034304: Remove nsIDOMHTMLAudio/VideoElement. r=smaug 2014-07-12 19:20:42 -07:00
Jonathan Kew
79d8c2ccbe 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
302f54b760 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
bfb8cecc5a Bug 1001994. r=roc 2014-07-07 16:08:42 +00:00
Jonathan Watt
19e2f4f417 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
3ac085223f 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
d98f30f9ec 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
d6e54f0575 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
b5b4081189 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
b9c3d864ae Bug 1027268 - Fix for Bug 1027268 - Intermittent test_bug391747.html | uncaught exception. r=mats 2014-07-01 16:26:36 +02:00
Wes Kocher
d8180167fd 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
82223ffa28 Bug 1031701 - Remove FlexContainerFrame::MarginComponentForSide(), use nsMargin::Side() instead. r=dholbert 2014-07-01 17:58:14 +00:00
Mats Palmgren
92c6f6dcbd 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
7cc94b4c74 bug 789096 patch 8 followup - constify new accessors in nsBlockReflowState. r=smontagu 2014-06-30 19:05:28 +01:00
Carsten "Tomcat" Book
c3bb21ab7c 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
48f589f3c3 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
31ecf02156 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
b9e51ca2f6 Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
73f56a90b1 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
e41382e94d 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
a76144f2dd 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
7a89d0eea9 Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
21f145e8f4 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
0dde473422 Bug 997010 (Part 1) - Support dynamic changes to the image-orientation property. r=dbaron 2014-06-27 20:50:26 -07:00
Seth Fowler
bcff2e0531 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
b6e95499e1 Bug 1030843 - Fix crash in nsNativeThemeCocoa::GetMinimumWidgetSize. r=roc 2014-06-27 10:19:00 +01:00
L. David Baron
f191075705 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
86687a4536 Bug 1027354 - Fix fontweight and fontstyle on single char <mi>. r=roc 2014-06-25 05:20:00 -04:00
Mats Palmgren
36e99b59b2 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
d8f6a0711e Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
Chris Peterson
18b41da2f8 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
505a69a6b2 Backed out changeset f1afdcec1927 (bug 1025553) for bustage on a CLOSED TREE 2014-06-25 14:21:34 +02:00
Jonathan Watt
ce0451f1da Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
Mats Palmgren
a83d5d9a7e Bug 1025669 - part 2, some minor cleanup. r=roc 2014-06-24 17:52:19 +00:00
Mats Palmgren
2572f3ffbd Bug 1025669 - part 1, Implement layout of block margins for box-decoration-break:clone. r=roc 2014-06-24 17:52:19 +00:00
Mats Palmgren
4afee6639d Bug 1025669 - part 0.5, Add LogicalMargin::ApplySkipSides. r=jfkthame 2014-06-24 17:52:19 +00:00
Mats Palmgren
01d6c4f07f Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc 2014-06-24 17:52:19 +00:00
Benoit Jacob
0c5dc76161 Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
Benoit Jacob
4d8d1e305a Bug 1028420 - Non-unified build fails when using --enable-warnings-as-errors - bustage fix, no review 2014-06-23 14:49:09 -04:00