Boris Zbarsky
0015c73286
Bug 1411138. Be consistent (and follow the spec) in terms of how we determine the element that propagates styles to the viewport. r=dholbert
...
MozReview-Commit-ID: 8tH3nCDQJID
2017-10-26 00:35:22 -04:00
Makoto Kato
dd8a2d7d7c
Bug 1405550 - Adjust assertion count of crash tests for stylo on Android. r=emilio
...
MozReview-Commit-ID: 8ydIYqBXFjY
--HG--
extra : rebase_source : dcf5c7b0319d6ecc1c21e376ea5f2104f2091b09
2017-10-20 17:23:08 +09:00
Sebastian Hengst
6a25f2d0f4
Backed out changeset 7ebddc587c82 (bug 1250793) for failing own crashtest. r=backout
...
--HG--
extra : amend_source : 6651a19b0b864c95b34fe332c2e7533e18dc0764
2017-10-20 16:16:00 +02:00
Jesse Ruderman
0c7713af0f
Bug 1250793 - Add crashtest. r=me
...
--HG--
extra : rebase_source : f34d92f13579eabd0c931f5be45dd77cdfe4f243
2017-10-20 08:36:12 -04:00
Jesse Ruderman
161346d545
Bug 1153716 - Add crashtest. r=me
...
--HG--
extra : rebase_source : 943a3398522c8e0cadfd8bad6c036ace9ca57120
2017-10-20 08:36:11 -04:00
Xidorn Quan
712cec8d27
Bug 1397644 part 2 - Remove test annotations for this bug. r=emilio
...
MozReview-Commit-ID: 3JbqY0UMTuh
--HG--
extra : source : c7eff47660a88d702a3c8daea692faadac95e024
2017-10-20 21:31:13 +11:00
Emilio Cobos Álvarez
15c0252093
Bug 1404789: Be a bit better at detecting distribution changes. r=bz
...
MozReview-Commit-ID: JqutdNJURZU
--HG--
extra : rebase_source : 7ce5d43c108ed97e7d9f377471d9741a892c2142
2017-10-18 16:03:41 +02:00
Emilio Cobos Álvarez
bce283e551
Bug 1409088: Fix destination insertion point removal algorithm. r=bz
...
When an insertion point (a) is added to the document before another insertion
point (b), and that insertion point matches nodes that used to match (b), the
following happens in RedistributeAllNodes:
* Loop through (a), and clear the existing insertion points on nodes
distributed into it (none, since it was just inserted).
* Go through the node pool and add the matched nodes. That makes the node
(which already had (b) in the insertion point array) have [(b), (a)] as the
insertion points.
* Go through (b), and clear the existing insertion points on the nodes
distributed to it. That used to do IndexOf() + SetLength(), but since (b) was
the first node by then in the insertion point array, we'll leave the
insertion point array empty, while (a) would still think that the node is
distributed to it.
This causes the bloom filter code, which loops through the flattened tree
parents, to not insert any (because the node doesn't know about where it's
inserted).
Also, add a debug phase to verify the flat tree before restyling that would've
caught this more clearly (happy to remove it if you don't think it's worth).
We still can't assert that the insertion point is properly referenced due to the
hacky way mInsertionPoints is cleared in
HTMLContentElement::UpdateFallbackDistribution, but we'll still clear the
insertion points either there, or on the rest of insertion point removal code in
ShadowRoot::DistributeAllNodes.
MozReview-Commit-ID: 9k2gnsAKMEe
--HG--
extra : rebase_source : 7e8371199bde8148d77cb69417a8dd8b1ee77078
2017-10-19 14:45:16 +02:00
Botond Ballo
fcf3e665a6
Bug 1409147 - Add a crashtest. r=mattwoodrow
...
MozReview-Commit-ID: GLTbXRxCKL7
--HG--
extra : rebase_source : 7768f7a372e65b36fad8dd6e28be6d877c19a538
2017-10-16 19:49:50 -04:00
Xidorn Quan
fd467033f9
Bug 1407847 - Enable stylo for XUL document without system principal and annotate failures accordingly. r=heycam
...
MozReview-Commit-ID: KcJxloT2rR8
--HG--
extra : rebase_source : 8943efaa7afbf1bc74ac85ca103a52e2f4d1b1a4
2017-10-12 10:43:38 +11:00
Xidorn Quan
5767c9b968
Bug 1406562 - Return first continuation for parent of first-letter in ExpectedOwnerForChild. r=emilio
...
MozReview-Commit-ID: KkBDMStwQ6r
--HG--
extra : rebase_source : 7e0ffbf2ebff5d7d08d324c61736805adc9ea846
2017-10-09 11:07:17 +11:00
Boris Zbarsky
984aba4875
Bug 1391736. Relax the ExpectedOwnerForChild assert in the ServoRestyleState constructor. r=emilio
2017-10-02 16:36:49 -04:00
Boris Zbarsky
4a228305f6
Bug 1402476. ExpectedOwnerForChild should not return a first-letter frame for a text child. r=emilio
...
The expected owner is the DOM parent. The first-letter then does some reparenting of the text style later.
2017-10-02 16:36:47 -04:00
Boris Zbarsky
e04143fa91
Bug 1401739. Make sure to always call UpdateStyleOfChildAnonBox with the first continuation as "this". r=emilio
...
MozReview-Commit-ID: KhfvBuCeoex
2017-09-25 10:58:39 -04:00
Boris Zbarsky
f0ee8b8b01
Bug 1401840. Make sure to not end up with infinite recursion when reframing a <body> that has a table pseudo parent coming from the root <html>. r=dholbert
...
MozReview-Commit-ID: EJiO8Nq5Frb
2017-09-22 23:32:49 -04:00
Xidorn Quan
c5b7f94e1c
Bug 1400438
- Use array instead of linked list for -moz-border-*-colors. r=heycam,mattwoodrow
...
MozReview-Commit-ID: LPl1Rlg5gRn
--HG--
extra : rebase_source : c9df383e14523bb534cac5018333178b7c17167a
2017-09-18 13:38:39 +10:00
Sebastian Hengst
cbf485433e
Backed out changeset 61a277705d59 (bug 1400438
) for heap write hazard. r=backout
2017-09-20 16:52:02 +02:00
Xidorn Quan
4599882448
Bug 1400438
- Use array instead of linked list for -moz-border-*-colors. r=heycam,mattwoodrow
...
MozReview-Commit-ID: LPl1Rlg5gRn
--HG--
extra : source : 418288301c994faded0993a1cd3d73fc3b6521be
extra : amend_source : 7cba1fc0ca13b86782aa05ab4dae4cdc7eb9fbf6
2017-09-20 22:52:20 +10:00
Boris Zbarsky
53bb40c960
Bug 1400599. Make sure to properly handle removal of the root when the body propagates scrollbar styles to the viewport. r=dholbert
...
MozReview-Commit-ID: FixsFFtNOfQ
2017-09-18 21:27:23 -04:00
Boris Zbarsky
8e81160ff3
Bug 1398500 part 2. Make sure that if we start propagating scroll to viewport from a new body element we reframe it as needed. r=dholbert
...
MozReview-Commit-ID: K54u9NmAlpn
2017-09-15 23:45:06 -04:00
Boris Zbarsky
f8a8561a30
Bug 1397398. Don't assert about unprocessed wrapper anonymous box restyles in situations in which the styles of those wrapper anonymous boxes can't have changed anyway. r=emilio
2017-09-09 04:11:54 -04:00
Manish Goregaokar
7960cd0a4d
Bug 1397363 - stylo: Update crashtest expectations; r=orange
...
MozReview-Commit-ID: 6yYiGcZ7n3E
2017-09-06 23:24:53 -07:00
Boris Zbarsky
264b2245fd
Bug 1395715. When recovering letter frames, only do first-line fixup when we have a first-line parent. r=emilio
...
It turns out, this is the only case in which we need to do the fixup at all.
And this way we don't have to guess based on first-line styles, which may not
match the frame tree (for example if we have a pending style change that we
haven't processed yet).
2017-09-01 11:09:02 -04:00
Boris Zbarsky
11a90dfbd9
Bug 1395591. When looking for our layout parent style, make sure to start with the placeholder if we're out of flow. r=emilio
...
MozReview-Commit-ID: 1M52bi3oQFX
2017-08-31 22:46:35 -04:00
Boris Zbarsky
c7c1bed48a
Bug 1390389. Fix anon box restyling assertions to correctly handle ib splits. r=xidorn
...
MozReview-Commit-ID: AtBFlvLyg6b
2017-08-31 09:12:13 -04:00
Xidorn Quan
179961b3c9
Bug 1383845 - Enable tests disabled for bug 1383845. r=TYLin
...
MozReview-Commit-ID: Glao9d9PiUF
--HG--
extra : rebase_source : cfc70fcb350a7ee8e325ba1bda0bcdead62d786e
2017-08-17 10:51:59 +10:00
Boris Zbarsky
b183fe45c1
Bug 1388625 part 5. Implement wrapper anonymous box restyling in ServoRestyleManager. r=heycam
...
MozReview-Commit-ID: FRW4RCR1GT4
--HG--
extra : rebase_source : 4b3788a93173d73c0a47c92a3e8574bae713862f
2017-08-11 00:10:26 -04:00
Manish Goregaokar
e632c1393e
Bug 1383492: stylo: Change nscoord_MAX to 1<<30 - 1 ; r=emilio,dbaron
...
nscoord_MAX is (1<<30) so that we can check for overflow *after* adding
two nscoords. However, (nscoord_MAX + nscoord_MAX) will still overflow.
Subtracting one makes this no longer possible.
MozReview-Commit-ID: BtbQRMp5kWm
2017-07-27 18:57:32 -07:00
J. Ryan Stinnett
c79cb3fbb1
Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
...
MozReview-Commit-ID: JNsNUOZfd2e
--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Tobias Schneider
3880ddff03
Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron
...
--HG--
extra : rebase_source : c4e47e2de8d615c77e7e9ce88f6b21c9d15c92e4
2017-07-26 22:53:46 -07:00
Carsten "Tomcat" Book
679210723b
merge mozilla-inbound to mozilla-central a=merge
2017-07-25 14:27:17 +02:00
Bobby Holley
d1534d15b4
Bug 1341102 - Re-enable some crashtests. r=me
...
MozReview-Commit-ID: 65QY7FfZQcL
2017-07-24 18:35:19 -07:00
Yoshi Huang
7036b3761f
Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug
2017-07-25 09:56:02 +08:00
Boris Zbarsky
04552c3152
Bug 1382786 part 4. Update test expectations. r=emilio
...
MozReview-Commit-ID: TjcLIFlje
--HG--
extra : rebase_source : caef652de10d73ed1d03c98b8db1898da9173c3c
2017-07-21 14:20:00 -04:00
Emilio Cobos Álvarez
57d0d30a91
Bug 1381323: Account for text frames in ExpectedOwnerForFrame. r=heycam
...
MozReview-Commit-ID: 62MXX5kf3jj
--HG--
extra : rebase_source : 2a99b8fa54e96f36df80cad208fe96ca5f16b034
2017-07-16 15:42:22 +02:00
Ting-Yu Lin
83b30c2642
Bug 1371577 - stylo: Update test expectations after fixing pseudo element matching for XBL stylesheets. r=emilio
...
MozReview-Commit-ID: 39h2kZHww4k
--HG--
extra : rebase_source : 4c94d5addeb3fe69049fd4942db86d73224a1bd0
2017-06-14 16:45:46 +08:00
Cameron McCormack
1b1d5804a7
Bug 1338761
- Re-enable test. r=me
...
--HG--
extra : rebase_source : 5920ec423b501db59e7d6e2f31cfda3dae6da8f4
2017-06-14 16:49:28 +08:00
Ting-Yu Lin
2923be5074
Bug 1290276 Part 8 - Update test expectations after implementing XBL <stylesheet> for stylo. r=heycam
...
Disable 461917-1.xhtml under dom/xul/crashtests/ because I cannot reproduce
it locally.
Annotate assert-if on some crashtests (bug 1370830). Other modifications are
all removal of fails-if.
MozReview-Commit-ID: 6Q2A5M5rOry
--HG--
extra : rebase_source : b282a919fcda6287fe2eaa6b139a11f2663ad578
2017-05-31 16:44:38 -07:00
Ting-Yu Lin
41dbaf6f6f
Bug 1363640 Part 7 - Update reftest expectations after enabling stylo on XBL documents. r=heycam
...
MozReview-Commit-ID: I5HNk22XvKi
--HG--
extra : rebase_source : baf89a4c80b7984a020e1ca507643f8680153f9f
2017-05-19 20:33:10 -07:00
Mats Palmgren
297b9d70e1
Bug 1365614
part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
...
MozReview-Commit-ID: IbwWM0FL6HF
--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book
00d4ea331d
Backed out changeset bbb688fe1ba3 (bug 1365614
)
2017-05-22 15:45:31 +02:00
Mats Palmgren
e706869580
Bug 1365614
part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
2017-05-21 17:15:00 +08:00
Hiroyuki Ikezoe
93e3eef4cb
Bug 1341102 - Update test expecrations. r=me
...
https://github.com/servo/app_units/pull/26#issuecomment-301931183
2017-05-20 15:26:55 +09:00
Nazım Can Altınova
19a0e93729
Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
...
MozReview-Commit-ID: J2Tn8GKfKIN
--HG--
rename : layout/reftests/css-gradients/aja-linear-2a.html => layout/reftests/css-gradients/aja-linear-2.html
extra : rebase_source : 9c1869bddf2068cf68666e0815b8f9d9424fe76a
2017-04-24 15:54:51 +03:00
Sebastian Hengst
feb6f6c577
Backed out changeset 19f0b1e8f287 (bug 1358710) for failing reftest aja-linear-2.html on OS X with e10s. r=backout
...
--HG--
rename : layout/reftests/css-gradients/aja-linear-2.html => layout/reftests/css-gradients/aja-linear-2a.html
2017-05-15 00:18:47 +02:00
Nazım Can Altınova
d8be7ab275
Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
...
MozReview-Commit-ID: J2Tn8GKfKIN
--HG--
rename : layout/reftests/css-gradients/aja-linear-2a.html => layout/reftests/css-gradients/aja-linear-2.html
extra : rebase_source : 7b1ae51a435fae3782a03046ce21474b9a149f1a
2017-04-24 15:54:51 +03:00
Jeremy Chen
920934c51e
Bug 1363000 - re-enable <select> related SVG crashtests. r=heycam
...
MozReview-Commit-ID: CXoNYeiwJpL
--HG--
extra : rebase_source : d6c3a58bf07cb557f2be0d8311a6be11f1cee35f
2017-05-12 10:52:16 +08:00
Cameron McCormack
203bdaed3b
Bug 1361235 - Part 2: Re-enable some tests. r=emilio
...
MozReview-Commit-ID: 76FaOwHjIMB
--HG--
extra : rebase_source : e2e36bd8a6b86761fe616d7c30d8df7b661a4e09
2017-05-11 19:19:52 +08:00
Hiroyuki Ikezoe
35bf2524cf
Bug 1356916 - Skip crash tests causing scrollbar-thumb atom leak. r=heycam
...
MozReview-Commit-ID: K66L8EQmPY2
--HG--
extra : rebase_source : 75c69b1c5188ff094dfc7d79e9182d3725ccecd4
2017-05-11 07:30:42 +09:00
Jonathan Kew
83dd0ceea3
Bug 1362423 - Simplified testcase from the bug report. r=dholbert
2017-05-10 11:01:13 +01:00