Commit Graph

51804 Commits

Author SHA1 Message Date
Markus Stange
46d8f7daf1 Bug 1298844 - Add PrintDisplayItemToStdout and PrintDisplayListToStdout helper functions for debugging. r=jrmuizel
MozReview-Commit-ID: 3Uv0H9z2aLk

--HG--
extra : rebase_source : c15b2cce683fe5166588233aad7c7bb767e76412
2016-08-22 15:49:09 -04:00
Markus Stange
780f4f012a Bug 1298214 - Don't treat container items as forced-empty items if they have contents. r=tnikkel
MozReview-Commit-ID: LbZt3qBfoV8

--HG--
extra : rebase_source : 0cfdb45c2d2f65bda87ffadd72a4c8f30db1f294
2016-08-22 13:41:59 -04:00
Markus Stange
aa2a5d9598 Bug 1298209 - Remove unused mIsPerspectiveItem. r=mattwoodrow
MozReview-Commit-ID: 7KPw4wnihFZ

--HG--
extra : rebase_source : 6f80ba26b4bb40316e2f2f3612c8d93a7a3d3710
2016-08-23 01:17:22 -04:00
Markus Stange
98f9030a27 Bug 1298209 - Remove unused mIsCaret. r=mattwoodrow
MozReview-Commit-ID: 1AyqgYyGJX4

--HG--
extra : rebase_source : efd45b0d66b85b2a6e4eb99592356a78c6d8d18e
2016-08-23 01:17:03 -04:00
Markus Stange
76429f17c6 Bug 1298209 - Use Maybe<nsRect> for nsIFrame::GetClipPropClipRect. r=mattwoodrow
MozReview-Commit-ID: 3LhUk1Vapnj

--HG--
extra : rebase_source : 98121e20dbd4e7ed707494fbea31083f7c7645d3
2016-08-23 14:43:08 -04:00
Markus Stange
81fe352e5f Bug 1298209 - Make clip capturing easier to understand. r=mattwoodrow
MozReview-Commit-ID: 6OmdH7WoFma

--HG--
extra : rebase_source : 9fc53828b07034b26c6a6075d34bb4c2c4cb1110
2016-08-23 17:34:33 -04:00
Markus Stange
1eb29de8a4 Bug 1298209 - Create variables for extend3DContext and hasPerspective. r=mattwoodrow
MozReview-Commit-ID: 9Dm7lnLQ4I4

--HG--
extra : rebase_source : e3a18ea80e47ab52eba7e3c5b3bec4e0f072d205
2016-08-22 19:26:58 -04:00
Markus Stange
a9e9533549 Bug 1298209 - Fix indent. r=mattwoodrow
MozReview-Commit-ID: LGmP20aD0Et

--HG--
extra : rebase_source : 0de3badfef08be3880e5b0896dad17b2092f917a
2016-08-22 13:34:41 -04:00
Markus Stange
c2477ce5ba Bug 1298209 - Use mFrame instead of Frame() because it's less confusing. r=mattwoodrow
MozReview-Commit-ID: 3UotUmhpEXR

--HG--
extra : rebase_source : 302de0216a86f99995b5a44b7473b1330629a0b6
2016-08-22 13:32:57 -04:00
Markus Stange
f2a777bbb5 Bug 1298205 - Fix ServoRestyleManager.cpp includes. r=heycam
MozReview-Commit-ID: IhXCuG7V7gL

--HG--
extra : rebase_source : 37a2401266ee6ae1942a2b5014a38cbfb3d6c9ab
2016-08-29 11:20:07 -04:00
Markus Stange
889823a65f Bug 1298205 - Fix includes of RestyleManagerBase.h. r=heycam
MozReview-Commit-ID: 3XIuudY7lVX

--HG--
extra : rebase_source : 1f5aa7dd1d7991f4e9bfc84dca98483ab8f57af1
2016-08-29 11:19:49 -04:00
Kevin Chen
c8aa291733 Bug 1298318 - Add mIsPaintingSVGImageElement to operator==() and Hash() in SVGImageContext. r=dholbert
From 197b672a8bdffcd6abf2294cd6aad4b4d7167e2d Mon Sep 17 00:00:00 2001

MozReview-Commit-ID: Ji5tM02ykAp
2016-08-29 01:11:03 -07:00
Matt Woodrow
1dff32c24f Bug 1198135 - Part 3: Set the size of HTMLScrollFrames earlier so that we compute perspective earlier. r=dbaron 2016-08-25 11:18:56 +12:00
Matt Woodrow
bdbef762ca Bug 1198135 - Part 2: Compute the scrolled rect stored by ScrollFrameHelper as what will actually be scrollable. r=dbaron 2016-08-25 11:15:46 +12:00
Matt Woodrow
c38bfdabb3 Bug 1198135 - Part 1: Recompute all required overflow areas when scrolling. r=dbaron 2016-08-25 11:15:33 +12:00
Kohei Okuda
5acbf0adda Bug 1293567 - Remove unnecessary call to MaybeUpdateAnimationRule in nsAnimationManager. r=birtles
MozReview-Commit-ID: 2Qdx7nk5fjL
2016-08-27 14:28:24 +09:00
Yuri Kazuna
3a366477e0 Bug 1291481 - Represent direction enum as uint8_t in LayersMessages.ipdlh; r=birtles
MozReview-Commit-ID: 9RcyYqsdsaB
2016-08-27 16:50:29 +09:00
Wes Kocher
cbdf3625fa Merge m-c to inbound, a=merge 2016-08-26 16:32:56 -07:00
Wes Kocher
f09e8fef1a Merge inbound to central, a=merge 2016-08-26 16:20:50 -07:00
Timothy Nikkel
d4bf99143c Bug 1298100. Remove nsDisplayListBuilder::mHadToIgnoreSuppression because it is unused. r=cjku 2016-08-26 18:02:51 -05:00
Timothy Nikkel
ca29dc5318 Bug 1297934. Enforce the invariant that every display item class has a different display item type for nsDisplayFocusRing. r=mattwoodrow 2016-08-26 18:02:49 -05:00
Boris Zbarsky
f795d19994 Bug 1258911. Correctly reframe an absolutely positioned frame that goes from having a transform to not having one and has an abs pos kid with a fixed-pos descendant. r=dbaron
Instead of skipping the absolute and fixed child lists, we walk all kids of the
frame.  But before recursing down into things that are absolute containing
blocks we ensure that we're only looking for fixed-pos placeholders, so we don't
reframe if we have a relatively positioned descendant with absolutely positioned
kids, for example.  Note that this part is pure optimization attempt, and it
might be cheaper to not do it: IsAbsoluteContainingBlock is not that cheap and
the situations where we avoid reframing due to this optimization are likely
fairly rare.
2016-08-26 15:38:16 -04:00
Mats Palmgren
d3a0737427 Bug 1279182 - [css-grid] Follow-up: comment out part of the test that failed on Win 8 for now. r=me DONTBUILD 2016-08-26 18:42:22 +02:00
Milan Sreckovic
5459132cb1 Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas
MozReview-Commit-ID: 5Ptm0bxwKdG

--HG--
extra : rebase_source : 535f2fa2447a1401b76acc0b82ce210b3c4d6dfc
2016-08-25 13:57:39 -04:00
Ryan VanderMeulen
628ab3deff Merge m-c to inbound. a=merge 2016-08-26 09:39:29 -04:00
Ryan VanderMeulen
e1fdfb3b73 Merge inbound to m-c. a=merge 2016-08-26 09:37:03 -04:00
Mats Palmgren
2c298fc18b Bug 1282643 - [css-grid] Reject repeat() column tracks in <grid-template> when there's a grid template area string in the row part. r=dholbert 2016-08-26 15:16:57 +02:00
Mats Palmgren
d1f0271873 Bug 1281320 - [css-grid] Reftests for fit-content() track sizes. 2016-08-26 15:16:57 +02:00
Mats Palmgren
15b4f3793a Bug 1281320 - [css-grid] Implement 'fit-content([ <length> | <percentage> ])' value for <track-size>. r=dholbert 2016-08-26 15:16:57 +02:00
Mats Palmgren
60eb164682 Bug 1266124 - [css-grid] Update the 'grid' shorthand syntax to the latest spec. r=dholbert 2016-08-26 15:16:57 +02:00
Mats Palmgren
c7dd4beb73 Bug 1282418 - [css-grid] Adding reftests for calc(Npx - M%) track sizes. 2016-08-26 15:16:57 +02:00
Mats Palmgren
980c942b3f Bug 1282418 - [css-grid] Deal with calc() with negative percentage that may result in negative track size. r=dholbert 2016-08-26 15:16:57 +02:00
Mats Palmgren
744e0d01c7 Bug 1279182 - [css-grid] Reftests for <percentage> grid-gap. 2016-08-26 15:16:57 +02:00
Mats Palmgren
ddcd7a20ef Bug 1279182 - [css-grid] Resolve a <percentage> grid-gap of an indefinite CB size to zero. r=dholbert 2016-08-26 15:16:56 +02:00
Emilio Cobos Álvarez
ab791a332e Bug 1292281: Devirtualize nsPresContext::HasAuthorSpecifiedRules. r=bholley
MozReview-Commit-ID: 4UF4vNaOCHz
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-26 04:20:01 -07:00
Emilio Cobos Álvarez
9d37bfeecc Bug 1292281: Convert the error from nsPresContext::HasAuthorSpecifiedRules in a warning in nsRuleNode. r=bholley
MozReview-Commit-ID: 7ue0MYP3Jdb
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-26 04:19:58 -07:00
Sebastian Hengst
f3cd1bea10 Backed out changeset 488e02b69a8c (bug 1008019) for failing clipPath-html-06.xhtml. r=backout 2016-08-26 11:31:27 +02:00
Sebastian Hengst
dd9d82e540 Backed out changeset 932c269da17b (bug 1008019) 2016-08-26 11:30:45 +02:00
Sebastian Hengst
d85473072e Backed out changeset 93e9d99aaead (bug 1008019) 2016-08-26 11:30:41 +02:00
Jonathan Kew
8f421076b2 Bug 1008019 - Update reftest and a11y-test expectations to reflect the corrected behavior of white-space:pre-wrap. r=dholbert 2016-08-25 22:19:44 +01:00
tlin@mozilla.com
6ac132dfe9 Bug 1295084 Part 4 - Rename Position::PositionCoord to Position::Coord. r=dholbert
--HG--
extra : rebase_source : 1b8b7019640f2db91167880899438cac7a2c49cd
2016-08-25 09:59:51 +00:00
tlin@mozilla.com
54d89b5a5c Bug 1295084 Part 3 - Move nsStyleImageLayers::Position to mozilla::Position. r=dholbert
--HG--
extra : rebase_source : 6684d08700f9d7fed9fc1572871a0250d43b74cf
2016-08-25 09:59:51 +00:00
tlin@mozilla.com
1a6e56ea85 Bug 1295084 Part 2 - Move two Position methods into nsStyleImageLayers. r=dholbert
--HG--
extra : rebase_source : d6288a2c46a2f7002fc1a6547b0607a811546d58
2016-08-25 09:59:51 +00:00
tlin@mozilla.com
3100ef24af Bug 1295084 Part 1 - Move FragmentOrURL into mozilla namespace. r=dholbert
--HG--
extra : rebase_source : 2d4be5845d11c03560c7cd3fd60417b47f2a6dac
2016-08-25 09:59:51 +00:00
Phil Ringnalda
7392fb1b41 Backed out 4 changesets (bug 1294660) for mask-composite-2c.html failures
Backed out changeset 64b92e33713c (bug 1294660)
Backed out changeset 051453bf9c54 (bug 1294660)
Backed out changeset 0764147ff82b (bug 1294660)
Backed out changeset adfd8fb2faca (bug 1294660)
2016-08-25 23:14:22 -07:00
Manish Goregaokar
71b464a2fc Bug 1297064 - stylo: Add bindings for filling nsStyleImageLayers lists; r=heycam
MozReview-Commit-ID: Bstgf23gMRu

--HG--
extra : rebase_source : 7c98dcbd2cc1ae730ce788e9db0071c1595ceb6b
2016-08-22 18:31:41 +05:30
Ryan VanderMeulen
4a76c08262 Merge m-c to autoland. a=merge 2016-08-26 09:38:49 -04:00
Astley Chen
679b3aa3ee Bug 1294660: Part 2 - update mask test cases and enable mask shorthand reftest. r=heycam
MozReview-Commit-ID: NlpjAqmHNT

--HG--
extra : rebase_source : 76f5bb0cefca0d923d2145a805e40526387fb502
2016-06-28 22:04:41 +08:00
Cameron McCormack
74db9034ce Bug 1294161 - Add operator== overloads for comparing HandlRefPtrs to their raw Handles. r=bholley
MozReview-Commit-ID: jTQZXyNbqM
2016-08-26 14:02:45 +08:00
Cameron McCormack
9bfe388f26 Backed out changeset bb4b998ebc50 for having an incorrect bug number.
MozReview-Commit-ID: 44dOMGuM9MH
2016-08-26 14:02:08 +08:00