Commit Graph

2193 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
cdde6f6108 Bug 1368889 - Post animation restyle hint againt pseudo element instead of its parent. r=birtles
To traverse pseudo elements in animation-only restyle, the pseudo element
itself needs the animation-only dirty bit.

MozReview-Commit-ID: 11RfVqnPXfJ

--HG--
extra : rebase_source : d048c9a053c03bf3fef46fcbfd9cbd5f60204e1d
2017-06-08 10:22:25 +09:00
J. Ryan Stinnett
67efca86d8 Bug 1370358 - Enable visited selector tests. r=emilio
MozReview-Commit-ID: 4HS6RIDZtWk
2017-06-07 15:52:45 -05:00
Matt Brubeck
78af557ec8 Bug 1365163 - Remove pref layout.css.display-flow-root.enabled. r=mats
MozReview-Commit-ID: AA3tKHCQ5E0

--HG--
extra : rebase_source : 9a7b16043e4aff09a4997138a9016e2f7f791f58
2017-06-05 15:59:22 -07:00
Emilio Cobos Álvarez
fef4819503 Bug 1369277: Update test expectations. r=me
MozReview-Commit-ID: C7i5uv60tQD
2017-06-06 12:56:17 +02:00
Manish Goregaokar
9a7d8d5e4a Bug 1341102 - Update stylo expectations; r=orange 2017-06-06 00:18:40 -07:00
Matt Brubeck
35c025c6fe Bug 1367315 - stylo: Update :dir selector test failures. r=Manishearth
MozReview-Commit-ID: K1ncDKP5IoV

--HG--
extra : rebase_source : 36bd8f1f32121b69588b6ab9c676146ee1e2240f
2017-06-05 12:38:21 -07:00
Manish Goregaokar
5e7d4ddba0 Bug 1370353 - Stop accepting -/**/n in nth-child ; r=dbaron
MozReview-Commit-ID: AhFYJrqynfw

--HG--
extra : rebase_source : a8ee2b3a79095e6f5b7c4ba8c86b205e832542d9
2017-06-05 13:54:04 -07:00
Manish Goregaokar
7d791c9ebe Bug 1338486: Support implied parentheses in CSS.supports; r=xidorn
MozReview-Commit-ID: CUo371Hvj4T

--HG--
extra : rebase_source : ee80540522e959bdf6d7ec5bd5a45081dbd9a384
2017-06-04 03:45:05 -07:00
Manish Goregaokar
652a30c309 Bug 1364009 - Don't allow comments/spaces between signs,numbers,and n in an+b syntax for nth-child; r=dbaron
In the an+b syntax, this continues to allow comments and spaces like so:
` an + b `. It does not allow `a n+b`, or `- an+b` or `+ an+b` (and the
same for the `an-b` form). Similarly, it does not allow `- b` or `+ b`.

Additionally, it *does* allow `+/*comment*/n+b` or `-/*comment*/n+b`,
but not `+ n+b` or `-n+b`. This is specced; in this one case we
parse two tokens but do not allow whitespace in between.

MozReview-Commit-ID: INzFGeMPeK7

--HG--
extra : rebase_source : ca5bcf4034759823f79b9a925dc72998d8f0218b
2017-06-01 15:54:14 -07:00
Carsten "Tomcat" Book
efccdfdb0a merge mozilla-inbound to mozilla-central a=merge 2017-06-02 14:22:17 +02:00
Wes Kocher
fbabaaa37f Merge m-c to autoland, a=merge
MozReview-Commit-ID: AiJ1z1wSNbR
2017-06-01 17:33:49 -07:00
Ryan VanderMeulen
67ba905809 Bug 1362120 - Update Stylo test expectations. 2017-06-01 14:20:15 -04:00
Manish Goregaokar
ece6c4231d Bug 1364286 - Update test expectations; r=xidorn
MozReview-Commit-ID: CaFY486fDmS
2017-06-01 16:26:00 -07:00
Jonathan Watt
74330c66d6 Bug 1365926, part 2 - Always allow the 'context-fill-opacity'/'context-stroke-opacity' keywords in SVG 'fill-opacity'/'stroke-opacity'. r=heycam
MozReview-Commit-ID: KPYtjwECRHH
2017-05-18 19:10:42 +01:00
Jonathan Watt
6304f10a68 Bug 1362120 - Always allow the 'context-fill'/'context-stroke' keywords in SVG <paint>. r=heycam
MozReview-Commit-ID: 2xY2NS4u8P0
2017-05-09 09:36:09 +01:00
Xidorn Quan
cbca30d199 Bug 1363292 followup - Update the test. r=dholbert
MozReview-Commit-ID: GRHi9GbkrnG

--HG--
extra : source : f5e7d976a591123ad311e5effb55fb09199495c3
extra : amend_source : ad26d786a91b8a26c1fe61cfad8f50bc7811b933
2017-05-31 16:29:51 +10:00
Xidorn Quan
6a32fd7cbb Bug 1363292 - Have unprefixed linear-gradient accept zero as angle value. r=dholbert
MozReview-Commit-ID: GRHi9GbkrnG

--HG--
extra : rebase_source : 7ad75091673bd072cb31a930d57ada8a4cf8eab0
2017-05-29 14:28:19 +10:00
Hiroyuki Ikezoe
0051bb2a16 Bug 1361938 - Enable test_animations_omta_start.html. r=boris
MozReview-Commit-ID: EuVAytIDOu0

--HG--
extra : rebase_source : 1885be3a14e317af990a34da9298c085b351e606
2017-05-31 09:25:07 +09:00
Hiroyuki Ikezoe
feb670f840 Bug 1361938 - Do not reuse DeclarationBlock when modifying inline style. r=heycam
In stylo, the DeclarationBlock is stored in element's RuleNode directly,
so when we call setProperty(), the new property value replaces the old value
immediately. This causes a problem for CSS transition.  CSS transition needs
before-change style.

From the spec;
 before-change style as the computed values of all properties on the element
 as of the previous style change event, except with any styles derived from
 declarative animations such as CSS Transitions, CSS Animations, and SMIL
 Animations updated to the current time

To get correct before-change style, when we call getProperty(), we need to
preserve rule nodes tree as the rules as of the *previous style change event*.
And we need to cascade the preserved rule nodes with updated animation rules during
animation-only restyle, and then we can use the result of the cascading as
before-change style before cascading inline style changes in normal restyle.

MozReview-Commit-ID: 9bkHz3Vvqg2

--HG--
extra : rebase_source : b6343bba67bd697a53d04d0e7ab2dbdc01c5d3f0
2017-05-31 09:24:57 +09:00
Emilio Cobos Álvarez
6570c70725 Bug 1347270: Rewrite test_media_queries_dynamic.html using restyleGeneration. r=bholley
MozReview-Commit-ID: 3zPETl6WFyc

--HG--
extra : rebase_source : 1347971a0caafa9e3a4f6bcbbc96723b4c29903d
2017-05-30 00:43:15 +02:00
Ryan VanderMeulen
81f9096e52 Backed out 2 changesets (bug 1347270) for browser_toolbariconcolor_restyles.js permafail on a CLOSED TREE.
Backed out changeset 445cb4d47d4f (bug 1347270)
Backed out changeset f2b7f1d599e3 (bug 1347270)
2017-05-30 18:11:02 -04:00
Xidorn Quan
cbb42e86e3 Bug 1367028 part 3 - Add tests for the new serialization code. r=dholbert
MozReview-Commit-ID: GuoOCAKTUuB

--HG--
extra : rebase_source : b73480bb8130452e31b97cef60c850a3832ac030
2017-05-30 13:44:44 +10:00
Xidorn Quan
e11cf006d5 Bug 1367028 part 1 - Simplify serialization of specified rect values in border-image props when possible. r=dholbert
MozReview-Commit-ID: C4mNCHqeIoX

--HG--
extra : rebase_source : bab410f278b2a0dc49e3aacf57b06a20699cca12
2017-05-29 14:53:58 +10:00
Emilio Cobos Álvarez
0d46737ddf Bug 1347270: Rewrite test_media_queries_dynamic.html using restyleGeneration. r=bholley
MozReview-Commit-ID: 3zPETl6WFyc

--HG--
extra : rebase_source : 1347971a0caafa9e3a4f6bcbbc96723b4c29903d
2017-05-30 00:43:15 +02:00
Cameron McCormack
84ff8248ea Bug 1355716 - Update test expectations. r=xidorn
MozReview-Commit-ID: xrNRBM0alR

--HG--
extra : rebase_source : a50abe77f31c8143f09491fbd5585cced93ac103
2017-05-30 14:31:41 +08:00
Xidorn Quan
bbbd718f2c Bug 1341102 - Update test expectations.
MozReview-Commit-ID: C8hTU5S3Tgg

--HG--
extra : rebase_source : 98559841c5381589f06f09f0f5c31d7b7ed608f3
extra : amend_source : 031eb125fff71dbb1ae112e387e5c183c07c947d
2017-05-30 10:56:51 +10:00
Xidorn Quan
abe92a8de5 Bug 1352968 part 10 - Update test expectation. r=heycam
MozReview-Commit-ID: DAZz0vRIfkh

--HG--
extra : source : 7e4d56217e0b2ea883b3b803d44e95aca5342c48
2017-05-30 11:10:25 +10:00
Emilio Cobos Álvarez
2686efa296 Bug 1357583: Test. r=heycam
MozReview-Commit-ID: BbMf3wcS6Pj
2017-05-29 23:01:55 +02:00
Xidorn Quan
78e889e9a0 Bug 1363596 part 3 - Add string support for list-style-type. r=heycam
MozReview-Commit-ID: 9zT8IH6sxWH

--HG--
extra : source : 63bcc72798a08d33e47dc359212a4dba82a39475
2017-05-27 23:33:25 +10:00
Xidorn Quan
96c6933bd7 Bug 1363596 part 2 - Add support for symbols() function. r=heycam
MozReview-Commit-ID: IuFnhkdWG3C

--HG--
extra : source : 7eccc8ee6a73c9756c58989dd1e408361dedf74f
2017-05-27 23:33:25 +10:00
J. Ryan Stinnett
d2076c357d Bug 1367670 - Re-enable test_animations_omta.html on e10s. r=hiro
Now that Gecko side of bug 1328509 (:visited for Stylo) has landed, we can
re-enable this.

MozReview-Commit-ID: ADXXVuroJxT

--HG--
extra : rebase_source : 985f124bbe7e251658c67db2442edd94f7f6c8b2
2017-05-26 14:12:51 -05:00
Cameron McCormack
2d0337cf6f Bug 1366921 - stylo: Update user fonts in cached font metrics' gfxFontGroups in the pre-traversal step. r=bholley,jfkthame
MozReview-Commit-ID: DAhhWyAjxku

--HG--
extra : rebase_source : a1a9f4530a500c3d8edf6caeb2a91f91425d9b5a
2017-05-26 22:29:10 +08:00
Daniel Holbert
456eeaf843 Bug 1367568 part 4: Add mochitest to ensure we don't reflow too much for "overflow" changes on <body>. r=bz
MozReview-Commit-ID: KD0nv0ckKu

--HG--
extra : rebase_source : 49124c500b1f1810ffc062d22ce7c5f9891cdf6c
2017-05-25 18:27:04 -04:00
Jeremy Chen
539b40507b Bug 1367977 - add serialization tests for SVG unitless length values. r=heycam
Add small factor numbers as valid values for SVG unitless length values,
so we could ensure that a unitless length will not be rounded accidentally
during computation and serialization.

MozReview-Commit-ID: 8H3RNYsEXVx

--HG--
extra : rebase_source : 0ff615fb2557fc1923dde9281044d362b52c0430
2017-05-26 15:09:20 +08:00
Xidorn Quan
709c3520fa Bug 1363590 - Remove the assertions for dynamic change of @counter-style. r=emilio
MozReview-Commit-ID: 43PV3LfOARP

--HG--
extra : rebase_source : 4cd76765d85be324883fef97b3620feaa828efe3
2017-05-26 17:22:36 +10:00
J. Ryan Stinnett
c481d736bc Bug 1328509 - Enable visited tests for Stylo. r=emilio
MozReview-Commit-ID: HnbVmwMMCMO
2017-05-25 10:13:27 -05:00
Emilio Cobos Álvarez
8004ac9538 Bug 1366157: Update expectations. r=me
MozReview-Commit-ID: JsmSy7Z95p4
2017-05-25 15:28:10 +02:00
Xidorn Quan
05e5c16a8e Bug 1341102 - Update test expectations.
MozReview-Commit-ID: KM7B3cDsrcZ
2017-05-25 21:09:00 +10:00
Xidorn Quan
dec344e5c0 Bug 1188074 part 2 - Allow origin and clip values to appear anywhere in an image layer shorthand property. r=heycam
MozReview-Commit-ID: 1mPG1ua5aSI

--HG--
extra : rebase_source : dab47404b74e3a5bb74488ac2e8ac656afb967b1
2017-05-25 13:57:56 +10:00
Emilio Cobos Álvarez
2cd0700c52 Bug 1341102: update expectations for servo/servo#17021. r=me
MozReview-Commit-ID: 78wVzSvcECP
2017-05-25 10:36:45 +02:00
Xidorn Quan
c5cd332799 Bug 1341102 - Disable test_animations_omta.html.
MozReview-Commit-ID: FuaWnL00js
2017-05-25 17:20:45 +10:00
Xidorn Quan
b75363105d Bug 1341102 - Update mochitest expectation.
MozReview-Commit-ID: 3GqnsEhR5fG

--HG--
extra : rebase_source : 8bd0cc7b41ceb9570bc1cf90bf29bbc82b7b787c
2017-05-25 15:42:03 +10:00
Boris Chiou
b3eae39f6c Bug 1328503 - Enable test_transitions_replacement_on_busy_frame.html on stylo. r=hiro
MozReview-Commit-ID: L59R9i8BKtj

--HG--
extra : rebase_source : 23319f55a7a776f3ba93f06fcb1ea3a75b94547d
2017-05-25 11:34:15 +08:00
Brad Werth
d8932eaa27 Bug 1339629 Part 17: Add mochitests to test that css rules are distinct after stylesheet cloning. r=heycam
MozReview-Commit-ID: FsT1rft6Mjw

--HG--
extra : rebase_source : 59d34d5d38b9a8d6c37853faea91754a5a532438
2017-05-24 12:11:22 -07:00
Phil Ringnalda
30a91cb819 Backed out 6 changesets (bug 1328509) for Windows 7 failures in test_visited_reftests.html
Backed out changeset 8388d8c76fed (bug 1328509)
Backed out changeset 182a88607e08 (bug 1328509)
Backed out changeset 008efac7764b (bug 1328509)
Backed out changeset c2ce10b8bc37 (bug 1328509)
Backed out changeset 65bbc73c87aa (bug 1328509)
Backed out changeset e20d3d5170c2 (bug 1328509)

MozReview-Commit-ID: BSmqdFP1Zom
2017-05-24 22:12:53 -07:00
Hiroyuki Ikezoe
b190c5e59f Bug 1328505 - Enable test_animations_styles_on_event.html on stylo. r=boris
MozReview-Commit-ID: IQuW53NaYrU

--HG--
extra : rebase_source : e2e8f25c607e91a16f535637ead793554a1d5fd5
2017-05-25 08:57:18 +09:00
J. Ryan Stinnett
b7d59262d8 Bug 1328509 - Enable visited tests for Stylo. r=emilio
MozReview-Commit-ID: HnbVmwMMCMO
2017-05-24 21:20:07 -05:00
J. Ryan Stinnett
831e231177 Bug 1328509 - Add visited reftest for attr / state change. r=xidorn
MozReview-Commit-ID: ILDy3hDv53Y
2017-05-24 21:20:05 -05:00
Boris Chiou
d897bdc993 Bug 1361663 - Part 2: Add tolerance because we use different ways for interpolation on the main/compositor thread. r=birtles
On the main thread, we use Servo backend, and the type of computed::Length is
|app_units::Au| (i.e. i32).
However, on the compositor thread, we use Gecko backend, and the type of
the length in nsCSSValue is |float|, so there might be some difference.
Use "0.5 / 60" because we round the interpolated result to the nearest
integer, and convert it into an app unit value, so the tolerance could be
this value.

MozReview-Commit-ID: EBceiO7keH1

--HG--
extra : rebase_source : aa4e3ac68fed1bcbdb51d93b403a15b0304c144d
2017-05-24 17:07:10 +08:00
Xidorn Quan
50097c0cfe Bug 1341102 - Update test expectations.
MozReview-Commit-ID: EM8FcemDFMR
2017-05-25 09:18:28 +10:00