Граф коммитов

12210 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 4e4645bdba Bug 1382077 part 4 - Update test expectations. r=heycam
MozReview-Commit-ID: 75nHSozDSNq

--HG--
extra : rebase_source : e7db959599606db14486207eef9d9a42aff25385
2017-07-24 13:02:58 +10:00
Xidorn Quan ef7357ef4c Bug 1382077 part 3 - Record viewport unit usage and generate proper restyle hint. r=heycam
MozReview-Commit-ID: FA2TiIejUT

--HG--
extra : rebase_source : f34741f4129c669aff3588c17bb81f5feca29e67
2017-07-24 13:02:17 +10:00
Xidorn Quan d645f266b8 Bug 1382077 part 2 - Move mUsesViewportUnits into nsStyleSet. r=heycam
MozReview-Commit-ID: DQ4ZoLLNPeN

--HG--
extra : rebase_source : 789b1b58eb760e74802dfac1c5b4070f02e1185c
2017-07-24 11:51:32 +10:00
Xidorn Quan 7399a0157a Bug 1382077 part 1 - Have StyleSet::MediumFeaturesChanged return nsRestyleHint rather than a bool. r=heycam
MozReview-Commit-ID: 5g3mHU8pxXP

--HG--
extra : rebase_source : aff51be14395850620fe43d814c49e30a3048be5
2017-07-24 11:27:08 +10:00
Cameron McCormack f7f0ad18d0 Bug 1376248 - Part 1: Use an nsAutoAnimationMutationBatch when updating animations for an element in stylo. r=birtles
MozReview-Commit-ID: 2ft7qn9iVLB

--HG--
extra : rebase_source : b24eea2c4e08b448dcbc1891339a42d3534ddc2d
2017-07-24 16:02:53 +08:00
Hiroyuki Ikezoe b096686ea6 Bug 1383589 - Process post traversal whenever StyleDocument() or StyleDocumentForThrottledAnimationFlush() returns true. r=emilio
The test case in this patch freezes without this fix.

MozReview-Commit-ID: 6Rb9XmtAmpM

--HG--
extra : rebase_source : 9a68482c77d5e77ed5733f757ed3ec021834ba2f
2017-07-25 11:49:04 +09: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
Wes Kocher fd09155f06 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Emilio Cobos Álvarez a132872286 Bug 1383634: Remove usage of GetParentAllowServo in nsRuleNode. r=xidorn
This is Gecko-only code, so no need to allow Servo.

MozReview-Commit-ID: H4xZx0jMREI

--HG--
extra : rebase_source : b1b255b12ed4f052f7ba3aa9f5943fb3d24f9e52
2017-07-24 10:11:40 +02:00
Christoph Kerschbaumer b2294259ad Bug 1383649 - Convert more tests within layout/ to comply with new data: URI inheritance model. r=smaug 2017-07-24 20:35:02 +02:00
Hiroyuki Ikezoe ead0069e9b Bug 1383493 - Make AddDifferentTransformLists() add |aCoeff1| instead of just adding 1 to |aCoeff2| for the same list case. r=birtles
Also if |aCoeff1| is zero, we can just ignore the first list altogether.

MozReview-Commit-ID: LVZmAx0K574

--HG--
extra : rebase_source : f4419131590befde2a616d2e47785024f90f0719
2017-07-27 06:46:33 +09:00
Hiroyuki Ikezoe 9a2cabce4e Bug 1383493 - A crash test that accumulates transform:none onto decomposed transform matrix for iteration composite. r=birtles
MozReview-Commit-ID: 3uBtqykEFgd

--HG--
extra : rebase_source : 21720d496332b42f02dfc337b0be4d8125b77141
2017-07-27 06:46:19 +09:00
Xidorn Quan a7882b3415 Bug 1384162 part 4 - Add test to ensure that blank document uses the same backend as its parent document and update test expectation. r=bz
MozReview-Commit-ID: 3rBCCbtW3J1

--HG--
extra : rebase_source : 7cfd8e5655d9d6ced3aba6f315670d240b4c6acc
2017-07-26 20:03:39 +10:00
Carsten "Tomcat" Book 41e41e6d05 Backed out changeset 23c6326dd926 (bug 1382077) on request from xidorn 2017-07-25 12:17:56 +02:00
Carsten "Tomcat" Book c7741ea7ea Backed out changeset 972821835d48 (bug 1382077) 2017-07-25 12:17:16 +02:00
Carsten "Tomcat" Book 28e9645f51 Backed out changeset d3f7744b4ec3 (bug 1382077) 2017-07-25 12:17:13 +02:00
Carsten "Tomcat" Book 58ccc553d2 Backed out changeset 333e1d30100d (bug 1382077) 2017-07-25 12:17:10 +02:00
Xidorn Quan cd7542dfa5 Bug 1382077 part 4 - Update test expectations. r=heycam
MozReview-Commit-ID: 75nHSozDSNq

--HG--
extra : rebase_source : e7db959599606db14486207eef9d9a42aff25385
2017-07-24 13:02:58 +10:00
Xidorn Quan 99ce420fc5 Bug 1382077 part 3 - Record viewport unit usage and generate proper restyle hint. r=heycam
MozReview-Commit-ID: FA2TiIejUT

--HG--
extra : rebase_source : f34741f4129c669aff3588c17bb81f5feca29e67
2017-07-24 13:02:17 +10:00
Xidorn Quan 935b4c943f Bug 1382077 part 2 - Move mUsesViewportUnits into nsStyleSet. r=heycam
MozReview-Commit-ID: DQ4ZoLLNPeN

--HG--
extra : rebase_source : 789b1b58eb760e74802dfac1c5b4070f02e1185c
2017-07-24 11:51:32 +10:00
Xidorn Quan d8543d6975 Bug 1382077 part 1 - Have StyleSet::MediumFeaturesChanged return nsRestyleHint rather than a bool. r=heycam
MozReview-Commit-ID: 5g3mHU8pxXP

--HG--
extra : rebase_source : aff51be14395850620fe43d814c49e30a3048be5
2017-07-24 11:27:08 +10:00
Bevis Tseng a7505864a8 Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Xidorn Quan 8145881eb8 Bug 1385193 - Set owner rule of child sheet properly. r=emilio
MozReview-Commit-ID: GvQpA9wibIS

--HG--
extra : rebase_source : 8761d8a0e911d3674a3402a868b3469c98c49c0b
2017-07-28 16:46:08 +10:00
Kartikaya Gupta ba4b3b9101 Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.

MozReview-Commit-ID: 6s78RvPFMzv

--HG--
extra : rebase_source : 009ea39eb4dac1c927aa03e4f97d8ab673de8a0e
2017-07-26 16:03:57 -04:00
Emilio Cobos Álvarez 570c7fcbc6 Bug 1384114: Move mRefCnt, Destroy() and HasSingleReference() to GeckoStyleContext. r=bholley
MozReview-Commit-ID: 5XzFYcohl3m

--HG--
extra : rebase_source : e26c5c93fe66d5023ff3a7924cd8538cfcba8727
2017-07-25 15:45:59 +02:00
Emilio Cobos Álvarez faf9db9dc8 No bug: Fix missing include in PostTraversalTask.h. r=bholley
Reviewed in bug 1368290, but since it's not needed...

MozReview-Commit-ID: FzwMVw1y0EF
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-07-26 14:22:12 +02:00
Emilio Cobos Álvarez 2477a4b823 Bug 1383307: Remove ServoStyleContext::UpdateWithElementState. r=manishearth
And kill one GetParentAllowServo call while at it, and some other dumbness...

MozReview-Commit-ID: GmvzXwGorlX
2017-07-23 23:56:39 +02:00
Emilio Cobos Álvarez ecbfd2ef14 Bug 1383307: Honor the relevant link visited pref. r=manishearth
MozReview-Commit-ID: D5NiEJUpONQ
2017-07-23 23:56:37 +02:00
Emilio Cobos Álvarez 698850aeb4 Bug 1383307: Use proper initializer in ServoStyleContext constructor. r=manishearth
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-07-23 23:56:02 +02:00
Cameron McCormack 23bf7c8332 Bug 1382964 - Part 3: Add assertion to help heap write analysis. r=xidorn
MozReview-Commit-ID: Lfa5Cijgqzp

--HG--
extra : rebase_source : 0af1079a7129a396baced1c0c1ed488165fba1df
2017-07-23 09:11:37 +08:00
Cameron McCormack dcfb190586 Bug 1382964 - Part 2: Assert we're on the main thread in nsCSSValueTokenStream::operator==. r=xidorn
This helps the heap write analysis believe that the nsCSSValue comparison
that nsStyleUIReset::CalcDifference does (for mSpecifiedWindowTransform,
which won't have nsCSSValueTokenStream values in it) is safe.

MozReview-Commit-ID: 4JvPC735D7i

--HG--
extra : rebase_source : 728f698a97a03b0259d82ea9e418117deda488a4
2017-07-22 10:11:06 +08:00
Cameron McCormack d20edaf0df Bug 1382964 - Part 1: Don't cache URLValueData::mMightHaveRef when in a traversal. r=xidorn
MozReview-Commit-ID: 2ucnu4vuaVg

--HG--
extra : rebase_source : 5f4f51d302f5d6ba03ecf7ea2ee938acdb36d0c8
2017-07-21 16:34:20 +08:00
Emilio Cobos Álvarez ed9d1ad184 Bug 1382017: followup: fix alignment of macro definitions. r=whitespace-only
MozReview-Commit-ID: KdgQaPukU5z
2017-07-23 04:39:00 +02:00
Emilio Cobos Álvarez 2b7de51623 Bug 1381844: Be more explicit about the kind of style context we handle all the time. r=bholley
MozReview-Commit-ID: E0mdkhU3XBz
2017-07-22 18:02:57 +02:00
Emilio Cobos Álvarez b7a2398983 Bug 1381844: Remove a few redundant casts. r=bholley
MozReview-Commit-ID: 2dr72PMGKwN
2017-07-22 18:02:56 +02:00
Sebastian Hengst f16a7f8371 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4EWdTlEncz7
2017-07-22 11:38:42 +02:00
Wes Kocher d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Sylvestre Ledru 7c0ae251cd Bug 1381253 - Remove redundant control flow declarations rs=ehsan
MozReview-Commit-ID: FFxP4aMCbOL

--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Boris Zbarsky 9fed8c4314 Bug 1382786 part 5. Add some tests for which properties are properties are allowed on ::first-letter, ::first-line, and ::placeholder. r=emilio
MozReview-Commit-ID: 6FO6QAECPHW

--HG--
extra : rebase_source : fa9d6e9f4197360c6f5143928de8319bac733843
2017-07-21 14:20:12 -04:00
Manish Goregaokar 08c6de8178 Bug 1382017 part 4 Gecko piece - Rename ServoComputedValues -> ServoComputedData; r=heycam
ServoComputedValues is confusing because ComputedValues is actually
ServoStyleContext on the C++ side.

MozReview-Commit-ID: IQNVdfREAMt
2017-07-20 21:44:02 -07:00
Manish Goregaokar 26f3a98f78 Bug 1382017 part 4 Gecko piece - Remove usage of ServoComputedValues from most Gecko code; r=xidorn
MozReview-Commit-ID: 2NB4DgxMrL3
2017-07-20 17:27:05 -07:00
Manish Goregaokar 9e805b0538 Bug 1382017 part 2 Gecko piece - Remove usage of ServoComputedValues from binding functions; r=xidorn
MozReview-Commit-ID: 3KygTIIMVvF
2017-07-18 23:17:34 -07:00
Manish Goregaokar b185f906f6 Bug 1382017 part 1 Gecko side - Replace stylearc with servo_arc; r=xidorn
MozReview-Commit-ID: FUZgybUUMF3
2017-07-18 11:51:56 -07:00
Emilio Cobos Álvarez c02bd43974 Bug 1382372: Add a fast-path for matching attr selectors with the empty namespace. r=bz
MozReview-Commit-ID: GSr0oGJJZRM
2017-07-20 19:13:32 +02:00
Emilio Cobos Álvarez b7fa6f3b50 Bug 1377469: Update reftest expectations. r=jryans
MozReview-Commit-ID: Cp8Fc5emACU

--HG--
extra : rebase_source : e6b9b027e3f1a09ebf61df19bb766d2223c94a92
2017-07-20 13:33:00 +02:00
Nazım Can Altınova 0fb0b9cec5 Bug 1341802 - Enable disabled grid tests after servo/servo#17776 r=me
MozReview-Commit-ID: 21080kMgKdk

--HG--
extra : rebase_source : 69cc7cf2d63662d157db1969b70e0cb25760681a
2017-07-20 09:35:13 -07:00
Simon Sapin 4485b191aa Bug 1382713 - Bench stylo setProperty with both "10px" and " 10px". r=emilio
MozReview-Commit-ID: E6LiJPQ0IJ3

--HG--
extra : rebase_source : 643bbbadf1136a019336c78d69882bea834ebc65
2017-07-19 11:16:38 +02:00
Sebastian Hengst b289637574 Backed out changeset 454d7232178d (bug 1380133) for bustage at mozilla/KeyframeUtils.h: no 'object' file generated. r=backout on a CLOSED TREE 2017-07-20 15:41:12 +02:00
Sebastian Hengst 515a615505 Backed out changeset 6f89b4ceda12 (bug 1380133) 2017-07-20 15:40:16 +02:00
Sebastian Hengst 42d11fca28 Backed out changeset 22dabf04e560 (bug 1380133) 2017-07-20 15:40:12 +02:00
Sebastian Hengst 8400ef0636 Backed out changeset cc720d72d024 (bug 1380133) 2017-07-20 15:40:06 +02:00
Sebastian Hengst d67d0384af Backed out changeset 9a84b6988af9 (bug 1380133) 2017-07-20 15:39:58 +02:00
Sebastian Hengst 6b93a5693c Backed out changeset cf561cad85f1 (bug 1380133) 2017-07-20 15:39:53 +02:00
Sebastian Hengst 4e48589974 Backed out changeset 1f1175528301 (bug 1380133) 2017-07-20 15:39:48 +02:00
Sebastian Hengst 234f850b1c Backed out changeset f835a60a13a3 (bug 1380133) 2017-07-20 15:39:38 +02:00
Emilio Cobos Álvarez babe22878e Bug 1366721: Update reftest expectations. r=heycam
MozReview-Commit-ID: JugvULOAtvJ

--HG--
extra : rebase_source : 633ca5d4244441cd06bf9cd469b57cf42616b73e
2017-07-20 22:04:22 +02:00
Emilio Cobos Álvarez 2e66317b01 Bug 1366721: Switch all the APIs in ServoStyleSet to use ServoStyleContext. r=heycam
MozReview-Commit-ID: 8oMwu45tlaJ

--HG--
extra : rebase_source : e246ef3aba9d18b9e415909ae46b26c3aa98f244
2017-07-20 18:36:20 +02:00
Xidorn Quan 19dc9432eb Bug 1382080 - Fix remaining failures in test_system_font_serialization.html. r=heycam
MozReview-Commit-ID: 5PGjaTKLQqR

--HG--
extra : rebase_source : 5c51dacc9329514136c8bbcc7c846cf1416c0810
extra : source : e40607ec7fb28825d9e7c14f571794e2e9dc0081
2017-07-21 16:53:39 +10:00
Brian Birtles c372a33920 Bug 1380133 - Part 9: Automated test for inheriting the start value of a transition. r=heycam
MozReview-Commit-ID: 6uue8qUePUh
---
 layout/style/test/mochitest.ini                   |  1 +
 layout/style/test/test_transitions_at_start.html  | 38 +++++++++++++++++++++++
 3 files changed, 43 insertions(+)
 create mode 100644 layout/style/test/test_transitions_at_start.html

--HG--
extra : rebase_source : 3e6da1f13dbd2767787d6d9b7f2553949e3d0ad2
2017-07-21 11:51:04 +08:00
Cameron McCormack aa95f86b98 Bug 1380133 - Part 7: De-templatize CalcStyleDifference(Internal). r=emilio
MozReview-Commit-ID: 8c1E1gbwaHz
---
 layout/style/nsStyleContext.cpp | 23 +++++------------------
 layout/style/nsStyleContext.h   |  7 -------
 2 files changed, 5 insertions(+), 25 deletions(-)

--HG--
extra : rebase_source : 0280187becf0f35bc7c5ceb272babd6e0adbb3ff
2017-07-21 11:42:44 +08:00
Cameron McCormack 336a333bf0 Bug 1380133 - Part 6: Remove FakeStyleContext. r=emilio
MozReview-Commit-ID: EDPXdzmE37Y
---
 layout/style/nsStyleContext.cpp | 31 -------------------------------
 1 file changed, 31 deletions(-)

--HG--
extra : rebase_source : 55e3be75bb4325de6431e636ef815bc870bcad94
2017-07-21 11:42:44 +08:00
Cameron McCormack 962f773bc4 Bug 1380133 - Part 5: Call CalcStyleDifference with ServoStyleContexts instead of a FakeStyleContext wrapping a ServoComputedValues. r=emilio
MozReview-Commit-ID: 6JhMas1EiM7
---
 layout/style/ServoBindings.cpp  | 21 ++++++++++-----
 layout/style/ServoBindings.h    |  3 ++-
 layout/style/nsStyleContext.cpp | 58 +++++++++++++++++++++--------------------
 layout/style/nsStyleContext.h   | 29 ++++++++++++++-------
 4 files changed, 65 insertions(+), 46 deletions(-)

--HG--
extra : rebase_source : 88576e17cd3867acdf8862dab42fd4b1e73bc755
2017-07-21 11:42:44 +08:00
Cameron McCormack 350253019b Bug 1380133 - Part 4: Make CalcStyleDifferenceInternal not cache any new structs on ServoStyleContexts when in a traversal. r=emilio
MozReview-Commit-ID: Eu4MvdQUBor
---
 layout/generic/nsFrame.cpp      |  8 ++++++++
 layout/style/nsStyleContext.cpp | 11 +++++++----
 layout/tables/nsTableFrame.cpp  |  8 ++++++++
 3 files changed, 23 insertions(+), 4 deletions(-)

--HG--
extra : rebase_source : b77d33b5823eca4a57e568881c00959ddecf9089
2017-07-21 11:42:43 +08:00
Cameron McCormack d77c5d77d8 Bug 1380133 - Part 3: Remove nsPresContext argument to ServoStyleContext::ResolveSameStructsAs. r=emilio
We have it in mPresContext already.

MozReview-Commit-ID: G1kKHGFOXTp
---
 layout/base/ServoRestyleManager.cpp     | 2 +-
 layout/generic/ViewportFrame.cpp        | 2 +-
 layout/style/ServoStyleContext.h        | 3 +--
 layout/style/ServoStyleContextInlines.h | 6 +++---
 4 files changed, 6 insertions(+), 7 deletions(-)

--HG--
extra : rebase_source : 63e1e4fba69c587f7eb403efd7d8dd98214c86ac
2017-07-21 11:42:43 +08:00
Cameron McCormack 1580e4a025 Bug 1380133 - Part 2: Take a ServoStyleContext* in Gecko_CalcStyleDifference. r=emilio
MozReview-Commit-ID: DJnuUAmm1Fh
---
 layout/style/ServoBindings.cpp | 14 +++++++-------
 layout/style/ServoBindings.h   |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

--HG--
extra : rebase_source : c4df8f13546511b504aefb0fa481d5f4171955ee
2017-07-21 11:42:42 +08:00
Cameron McCormack 9654eabe7f Bug 1380133 - Part 1: Minor reformatting and encapsulation. r=emilio
MozReview-Commit-ID: 3hmptLbxxok
---
 dom/animation/KeyframeUtils.h      |  2 +-
 layout/style/ServoBindings.cpp     | 24 +++++++++++++++---------
 layout/style/ServoStyleContext.cpp | 21 ++++++++++++---------
 layout/style/ServoStyleContext.h   | 33 ++++++++++++++-------------------
 layout/style/ServoTypes.h          | 24 ++++++++++++++----------
 layout/style/nsAnimationManager.h  |  7 +++----
 6 files changed, 59 insertions(+), 52 deletions(-)

--HG--
extra : rebase_source : 150278b5f7429986e79976ec9faf290db6de86c0
2017-07-21 11:42:42 +08:00
Xidorn Quan f9743a6579 Bug 1377115 - Enable test_variables.html. r=heycam
The external sheet isn't meant to test the order of items. It is just
for testing handling of relative url in CSS variable, so it doesn't make
sense to have it affect the test for checking return value from item().

MozReview-Commit-ID: APTauRXfe1H

--HG--
extra : source : 9f7096a54992120170b4ab8ac8e922609387f68a
2017-07-21 13:40:46 +10:00
Xidorn Quan 35db44a32e Bug 1381233 - Add test for this bug. r=heycam
MozReview-Commit-ID: 6A99LrHU2Li

--HG--
extra : source : 03ccb6d8bbafcd585b55fc9da6ff71dc7612cadd
2017-07-21 13:40:09 +10:00
Manish Goregaokar 60f0b17b9d Bug 1382672 - Add crashtest for discrete animation between system fonts on stylo; r=emilio
MozReview-Commit-ID: 2nI3jgkZ0R7

--HG--
extra : rebase_source : 2c62ce6a3d7d19a96785803e255ffebfc9decfa7
2017-07-20 17:22:48 -07:00
Wes Kocher 4d3b4a7b1a Bug 1341102 - Update expectation data a=bustage CLOSED TREE
MozReview-Commit-ID: 603WKr3HLo0
2017-07-20 15:47:48 -07:00
Manish Goregaokar f4917a7611 Bug 1382190: Make fields public to avoid assertions; r=bustage
MozReview-Commit-ID: 4t4RfnlmFy0
2017-07-20 14:15:00 -07:00
Manish Goregaokar 19e8dfd20b Bug 1382190 - servo: Move FontComputationData to the end of ServoComputedValues to make size check easier, make it NonZero. r=emilio
MozReview-Commit-ID: B2gVj5bQRBT
2017-07-20 13:36:22 -07:00
Wes Kocher 1a00a870d7 Bug 1341102 - Update expectation data a=bustage
MozReview-Commit-ID: 1ZKJWNnaP4u
2017-07-21 11:45:25 -07:00
Brian Birtles 265df913a0 Bug 1380133 - Part 9: Automated test for inheriting the start value of a transition. r=heycam
MozReview-Commit-ID: 6uue8qUePUh

--HG--
extra : rebase_source : 3b1338356c2f6f21e497a588939c34ba0edb93ef
2017-07-17 10:35:31 +08:00
Cameron McCormack 6026a97b45 Bug 1380133 - Part 7: De-templatize CalcStyleDifference(Internal). r=emilio
MozReview-Commit-ID: 8c1E1gbwaHz

--HG--
extra : rebase_source : f29c1d2168d1b0cec2f34a05f6f392cd76dde9e6
2017-07-19 17:52:43 +08:00
Cameron McCormack 810528b92c Bug 1380133 - Part 6: Remove FakeStyleContext. r=emilio
MozReview-Commit-ID: EDPXdzmE37Y

--HG--
extra : rebase_source : 56c2651a2e961e2555452008b59bb50037625bd7
2017-07-19 17:51:12 +08:00
Cameron McCormack 7ac8c49b89 Bug 1380133 - Part 5: Call CalcStyleDifference with ServoStyleContexts instead of a FakeStyleContext wrapping a ServoComputedValues. r=emilio
MozReview-Commit-ID: 6JhMas1EiM7

--HG--
extra : rebase_source : 22d94de05a300bd3d696db94b6999821c0af0b11
2017-07-19 17:50:35 +08:00
Cameron McCormack a5c91255ab Bug 1380133 - Part 4: Make CalcStyleDifferenceInternal not cache any new structs on ServoStyleContexts when in a traversal. r=emilio
MozReview-Commit-ID: Eu4MvdQUBor

--HG--
extra : rebase_source : c98706cec1788662a09cb1d99bcd3893658261a9
2017-07-19 15:11:09 +08:00
Cameron McCormack 4b22db7890 Bug 1380133 - Part 3: Remove nsPresContext argument to ServoStyleContext::ResolveSameStructsAs. r=emilio
We have it in mPresContext already.

MozReview-Commit-ID: G1kKHGFOXTp

--HG--
extra : rebase_source : fc3de196bd0bd1a78d5bdaca3078e89edd4f014f
2017-07-19 14:39:40 +08:00
Cameron McCormack befeb6585d Bug 1380133 - Part 2: Take a ServoStyleContext* in Gecko_CalcStyleDifference. r=emilio
MozReview-Commit-ID: DJnuUAmm1Fh

--HG--
extra : rebase_source : 7f2447038eee1aa94d603a83409c88747203a411
2017-07-19 14:15:45 +08:00
Cameron McCormack c1be90be48 Bug 1380133 - Part 1: Minor reformatting and encapsulation. r=emilio
MozReview-Commit-ID: 3hmptLbxxok

--HG--
extra : rebase_source : 50044c27fbf6915a36f6a52d3cec7f226dc89460
2017-07-19 13:14:53 +08:00
Xidorn Quan 6bd73cdf47 Bug 1364260 - Don't require whitespace between keywords and parens in supports rule condition. r=dbaron
MozReview-Commit-ID: B7GsrDQ6NuO

--HG--
extra : rebase_source : 1e768a6d9baeae290d35221520a28487f705f50a
2017-07-20 15:33:09 +10:00
Brian Birtles 267881f1f1 Bug 1381389 - Append PropertyValuePair objects on Gecko side so they are initialized correctly; r=hiro
Without this mValue may end up looking like a valid nsCSSValue object and bad
things will happen when we try to clone it.

We could just assign mem::zeroed() to mValue but this array hacking on the Servo
side is already pretty nasty and mSimulateComputeValuesFailure would still
remain unassigned (and if we did try to assign it on the Servo side we'd need to
only assign it in debug builds). Unless this proves performance-critical, it's
probably best to just do this on the Gecko side.

MozReview-Commit-ID: 75nFsflhZUM

--HG--
extra : rebase_source : 0e5d94a7f6fdb6768983ba440a3ea69d65cbffbf
2017-07-20 14:38:54 +09:00
Mike Taylor 9a537f511f Bug 1330146. Remove windows-xp and windows-vista as values for -moz-os-version from tests. r=dholbert
The functionality was removed in Bug 1325503. The reason these tests didn't start failing is because
they just test the parsability of the media feature and its' value, not that it does anything useful.

MozReview-Commit-ID: 6a0nlKhUZTQ

--HG--
extra : rebase_source : bddafd6cba332368d05b75ca44b58ad1575b8f12
2017-07-19 11:44:24 -05:00
Wes Kocher b5bcc4905e Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Andrew Osmond 02e515fc18 Bug 1359833 - Part 5. Callers pass the loading document to imgRequestProxy::SyncClone and GetStaticRequest. r=tnikkel 2017-07-19 14:15:11 -04:00
Dão Gottwald 4b7389da4e Bug 1379938 - Rename the -moz-windows-accent-color-applies media query and make -moz-win-accentcolor available without it. r=jimm
MozReview-Commit-ID: 9zMr9JwkloF

--HG--
extra : rebase_source : 25e9cfa11dc0c3ff09e4e3aac18a53535cbcc27b
2017-07-19 16:38:49 +02:00
Wes Kocher 0fbb3c91c2 Bug 1341102 - Update expectations a=bustage CLOSED TREE
MozReview-Commit-ID: KKVZ2nUGvdO
2017-07-18 21:04:25 -07:00
Xidorn Quan 202b3a121a No bug - Update bug numbers in stylo-failures.md.
MozReview-Commit-ID: 1S5Y3PGrVV

--HG--
extra : rebase_source : dd5e95bf0d9b35d27c7136abe92e56bce51bdbe7
2017-07-19 11:53:43 +10:00
Emilio Cobos Álvarez bc043d6e4c Bug 1381682: Crashtest. r=heycam
MozReview-Commit-ID: yg3Kv0MREp

--HG--
extra : rebase_source : 3aafb10820d59afa8424058dbcacfb98095125d9
2017-07-19 12:57:53 +02:00
Emilio Cobos Álvarez dde6942936 Bug 1381764 - style: More ComputedValuesInner cleanup. r=Manishearth on a CLOSED TREE
MozReview-Commit-ID: 8rkAP3pMEpD
2017-07-18 16:22:33 -07:00
Emilio Cobos Álvarez 9a6ef770c1 Bug 1381764: Cleanup the Gecko bits. r=manishearth
MozReview-Commit-ID: dbVDy1u4vp
2017-07-18 16:22:00 -07:00
Emilio Cobos Álvarez 2eaa179077 Bug 1381764 - stylo: remove unused Servo_StyleContext_NewContext ; r=manishearth
MozReview-Commit-ID: A9BSuTw0GR8
2017-07-18 16:21:31 -07:00
Ryan VanderMeulen 84f63b9d2f Merge m-c to autoland. a=merge 2017-07-18 12:52:05 -04:00
Ryan VanderMeulen 366f48ad7e Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
Christoph Kerschbaumer 87798d9abf Bug 1337270 - Convert tests within layout/ to not rely on principal inheritance for data: URIs. r=smaug 2017-07-18 07:50:07 +02:00
Manish Goregaokar 853e9c4ad3 Bug 1341102 -Fix forward declaration in nsStyleContext.h; r=bustage
MozReview-Commit-ID: 9RBzxkc9wnA
2017-07-18 08:19:14 -07:00
Simon Sapin 84190843a9 Bug 1344131 - Add a gtest bench for Servo_DeclarationBlock_SetPropertyById. r=emilio
MozReview-Commit-ID: 83Ryi6CKTLV

--HG--
extra : rebase_source : 58072db21d12bb77f7a994e3873914e79c8ecc0a
2017-07-18 08:58:11 +02:00
Manish Goregaokar 7e4c368898 Bug 1341102 - Make stylo tests pass again; r=bustage
MozReview-Commit-ID: 9RBzxkc9wnA
2017-07-18 07:44:55 -07:00