Carsten "Tomcat" Book
46ce15b42f
merge mozilla-inbound to mozilla-central a=merge
2017-05-17 11:16:52 +02:00
Cameron McCormack
efe4a93f87
Bug 1341102: Update test expectations for servo/servo#16890 . r=me
2017-05-17 12:01:39 +08:00
Boris Zbarsky
d4c6741703
Bug 1365362. Make Gecko_AtomAttrValue work correctly when the attr's value is not an atom. r=emilio
...
MozReview-Commit-ID: Btf7ZI4ZdMX
2017-05-17 00:53:52 -04:00
Carsten "Tomcat" Book
e7bc984487
Merge mozilla-central to autoland on a CLOSED TREE
2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book
d4006b93b2
merge mozilla-inbound to mozilla-central a=merge
2017-05-16 15:04:38 +02:00
Hiroyuki Ikezoe
1ed4176921
Bug 1364412 - Update reftest and mochitest expectations for pseudo-elements selectors. r=me
...
MozReview-Commit-ID: CGcljQLeS8c
2017-05-16 14:08:04 +09:00
Emilio Cobos Álvarez
2b175316f4
Bug 1364412: Properly reject to parse pseudo-element states that don't support state. r=bholley
...
MozReview-Commit-ID: KQCFPtOTGQI
Signed-off-by: Emilio Cobos Álvarez <[email protected] >
2017-05-15 16:38:35 +02:00
Emilio Cobos Álvarez
0b946fcfde
Bug 1364412: Expose pseudo-element flags, and properly reject pseudos in non-UA sheets. r=bholley
...
MozReview-Commit-ID: KYC1ywfI7Lg
Signed-off-by: Emilio Cobos Álvarez <[email protected] >
2017-05-15 16:19:24 +02:00
Emilio Cobos Álvarez
b1cba72009
Bug 1364412: Convert pseudo-elements to an enum. r=hiro,xidorn
...
This allows us to access metadata using `match` instead of comparison with
atoms, which makes it doable to get the pseudo-element flags in the future.
Signed-off-by: Emilio Cobos Álvarez <[email protected] >
MozReview-Commit-ID: KgGjFePmhyS
Signed-off-by: Emilio Cobos Álvarez <[email protected] >
2017-05-14 18:39:22 +02:00
Emilio Cobos Álvarez
49c2f75c1a
Bug 1364412: Don't ignore the pseudo-element argument in ResolvePseudoElementStyle. r=heycam
...
MozReview-Commit-ID: 4KA4bj2Ww5W
Signed-off-by: Emilio Cobos Álvarez <[email protected] >
2017-05-13 19:29:14 +02:00
Emilio Cobos Álvarez
ca76897873
Bug 1364412: Simplify Servo_HasAuthorSpecifiedRules looking at the pseudo style. r=bholley
...
MozReview-Commit-ID: HpV92ttZGJz
Signed-off-by: Emilio Cobos Álvarez <[email protected] >
2017-05-12 17:51:32 +02:00
Xidorn Quan
ffa12276d6
Bug 1355352 - Reject unicode-range descriptor when its value contains invalid part. r=jfkthame
...
MozReview-Commit-ID: 1ZcFCPsIMtx
2017-05-16 10:15:18 +10:00
Wes Kocher
484637b292
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 6IorAN8i9Ot
2017-05-15 16:34:36 -07:00
Christoph Kerschbaumer
5452a95b49
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Xidorn Quan
b010d0f477
Bug 1328319 part 10 - Update test expectations. r=heycam
...
MozReview-Commit-ID: AnE2ArU45Ru
2017-05-10 12:43:49 +10:00
Xidorn Quan
85ab68e516
Bug 1328319 part 8 - Make stylo use counter-style for list-style-type and counter functions. r=heycam,SimonSapin
...
MozReview-Commit-ID: AUU3AbwOpPs
2017-05-15 14:36:43 +10:00
Xidorn Quan
2f56b27839
Bug 1328319 part 7 - Enable querying counter-style rule on Servo backend. r=heycam
...
MozReview-Commit-ID: Aj3AcW1KmRe
2017-05-11 14:47:24 +10:00
Xidorn Quan
70957a721d
Bug 1328319 part 6 - Make it possible to delay resolving counter style. r=heycam
...
MozReview-Commit-ID: 5rlGBf9Asu4
2017-05-15 14:22:10 +10:00
Xidorn Quan
2c1ba21f1a
Bug 1328319 part 5 - Add bindings for list and pair list value of nsCSSValue. r=manishearth
...
MozReview-Commit-ID: KO0UCkrlxBi
2017-05-15 14:20:52 +10:00
Xidorn Quan
d73d8ed919
Bug 1328319 part 4 - Add binding for setting pair value of nsCSSValue. r=manishearth
...
MozReview-Commit-ID: 2bAH90Mh4GP
2017-05-09 22:36:03 +10:00
Xidorn Quan
a1e14f1b56
Bug 1328319 part 3 - Add support for auto value in nsCSSValue sugar. r=manishearth
...
MozReview-Commit-ID: 9QQ9fdU0all
2017-05-15 14:14:59 +10:00
Xidorn Quan
7e831c2741
Bug 1328319 part 2 - Add basic integration of @counter-style. r=heycam
...
MozReview-Commit-ID: 68CcxyWuINu
2017-05-15 14:18:44 +10:00
Xidorn Quan
6273c9bd6a
Bug 1328319 part 1 - Move nsCSSCounterStyleRule into a separate header file. r=heycam
...
MozReview-Commit-ID: Lm1GiKNsgI0
2017-05-09 21:52:06 +10:00
cku
d0053f3fee
Bug 1364273 - (followup) update stylo-failures.md to reduce failure count of mask. r=cjku
...
MozReview-Commit-ID: Hj4qBXVnZM0
2017-05-16 10:48:10 +08:00
Emilio Cobos Álvarez
9315c160ba
Bug 1341102: Update test expectations for servo/servo#16859 . r=emilio
...
Patch by Anthony Ramine.
MozReview-Commit-ID: 7uTzBU8yG0E
2017-05-15 17:22:48 +02:00
Xidorn Quan
f526ac5958
Bug 1363699 part 2 - Make AnonymousCounterStyle use thread-safe refcount. r=heycam
...
Although this is not strictly necessary at the moment, static analysis
reports this as a new heap write hazard. Since we would eventually do
this change for symbols() support in Stylo, it is easier to just change
it here than convincing hazard analysis to believe it is harmless.
MozReview-Commit-ID: 7lfyZN6tDnJ
2017-05-11 15:05:23 +10:00
Xidorn Quan
b7742acb67
Bug 1363699 part 1 - Make named CounterStyle objects not refcounted. r=heycam
...
This change does the following:
* Introduce a new smart pointer called CounterStylePtr which either
holds an AnonymousCounterStyle strongly, or a named CounterStyle
managed by CounterStyleManager weakly, and use it to replace all
RefPtr<CounterStyle> around the codebase.
* Rename CounterStyleManager::mCacheTable to mStyles to reflect the
fact that it is used to manage all styles, not just for caching.
* Add a retired styles list which collect all named CounterStyle
evicted from mStyles, and post a PostRefreshObserver to destroy
objects in that list after next flush.
* Remove helper functions for counter style in nsStyleList and expose
mCounterStyle directly, to make code simpler with the new pointer.
Reason for adding a new smart pointer type rather than making their
AddRef/Release behave like BuiltinCounterStyle is that, it is possible
that after a flush, some stale style structs may still be alive. They
can contain pointer to destroyed CounterStyle objects. Although the
actual content may never be accessed anymore, RefPtr may still access
the object for refcounting during destruction.
MozReview-Commit-ID: xxegwSDhNb
2017-05-13 21:42:23 +10:00
Xidorn Quan
ff7575f5ca
No bug - Update stylo-failures.md.
...
MozReview-Commit-ID: HKl5jUaEzl3
2017-05-15 12:52:32 +10:00
Sebastian Hengst
681d92fccd
Backed out changeset 19f0b1e8f287 (bug 1358710) for failing reftest aja-linear-2.html on OS X with e10s. r=backout
2017-05-15 00:18:47 +02:00
Fernando Jimenez Moreno
73fde3da0e
Bug 1350175 - Part 3: Set source position for the different rules. r=SimonSapin,xidorn
...
MozReview-Commit-ID: 6AGNOLqoNHx
2017-05-15 14:02:13 +02:00
Fernando Jimenez Moreno
0374c674f9
Bug 1350175 - Part 2: FFI changes to get line and column. r=xidorn
...
MozReview-Commit-ID: 87pVnoLmjPl
2017-04-25 16:24:39 +02:00
Fernando Jimenez Moreno
21977eeb4e
Bug 1350175 - Part 1: Set stylesheet line offset. r=xidorn
...
MozReview-Commit-ID: 49B3bZaWjWc
2017-04-25 21:01:45 +02:00
Nazım Can Altınova
e03dfabf15
Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
...
MozReview-Commit-ID: J2Tn8GKfKIN
2017-04-24 15:54:51 +03:00
Nazım Can Altınova
253dbdec6e
Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
...
MozReview-Commit-ID: J2Tn8GKfKIN
2017-04-24 15:54:51 +03:00
Sebastian Hengst
cbc8bca709
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Sebastian Hengst
df12f70c4a
Bug 1341102 - Update stylo reftest expectations. r=me
2017-05-14 10:03:58 +02:00
Nazım Can Altınova
fe6b4ad014
Bug 1360488 - Part 2: stylo: Propagate quirks mode information from Gecko to Servo r=bholley
...
MozReview-Commit-ID: 6AyuC2jd3d4
2017-05-06 01:12:03 +03:00
Nazım Can Altınova
7aed30d8da
Bug 1360488 - Part 1: stylo: Add ServoCSSParsingEnvironment and pass this instead of URLExtraData r=bholley
...
It was inconsistent with gecko side and also we needed to pass nsCompatibility enum along with URLExtraData.
MozReview-Commit-ID: 2ceutBfqBrg
2017-05-11 19:06:43 +03:00
Hiroyuki Ikezoe
7043742ba9
Bug 1357295 - Add PARSING_MODE_ALLOW_ALL_NUMERIC_VALUES to force to parse negative values. r=emilio
...
As per SVG spec [1], we should also parse negative color components values for
SMIL, but currently Gecko does not support it either.
[1] https://www.w3.org/TR/SVG/implnote.html#RangeClamping
MozReview-Commit-ID: FH80zN3jyKh
2017-05-13 19:47:38 +09:00
Hiroyuki Ikezoe
58589ca263
Bug 1357295 - Make ParsingMode bitflags. r=emilio
...
assert_parsing_mode_match() is mostly the same as
assert_restyle_hints_match().
MozReview-Commit-ID: 7oOHlZ06DYk
2017-05-13 19:47:38 +09:00
Hiroyuki Ikezoe
fcfc8db486
Bug 1357295 - Rename LengthParsingMode to ParsingMode and LengthParsingMode::SVG to PasingMode::AllowUnitlessLength. r=emilio
...
We need another flag that represents allow-negative-number for SMIL, so
this enum will also comprise the another parsing mode that allows negative number.
MozReview-Commit-ID: IDFNppjGeB
2017-05-13 19:47:38 +09:00
Hiroyuki Ikezoe
9b18500219
Bug 1363592 - Update mochitest expectations for transition and animation duration. r=jeremychen
...
MozReview-Commit-ID: 1Eg1Z6xe0h0
2017-05-12 18:54:26 +09:00
Hiroyuki Ikezoe
bd98ccb01d
Bug 1354947 - Update mochitest expectations for @keyframes merging. r=birtles
...
MozReview-Commit-ID: EKGVdKpybiQ
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
96d1f27797
Bug 1354947 - Drop Gecko_AnimationAppendKeyframe. r=birtles
...
MozReview-Commit-ID: 9B9TjkJ5CxO
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
9dd0727d3d
Bug 1354947 - Rename FillKeyframesForName to GetKeyframesForName. r=birtles
...
MozReview-Commit-ID: AOLygEtuhpO
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
18e5e2752b
Bug 1354947 - Fill in missing keyframe values. r=birtles
...
This is mostly a mimic of what we do in
GeckoCSSAnimationBuilder::FillInMissingKeyframeValues().
In Gecko we iterate over the properties just once because we can take the
index for both the synthesized start and end keyframe and easily look them up
as needed. However, in this patch we synthesize the start and end keyframes
separately and iterate over the properties twice because that's easier than
getting two indices and then later calling another FFI to dereference each of
them, and neater than getting back two pointers
MozReview-Commit-ID: 1e0R9AKzgaG
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
5ebd96c96f
Bug 1354947 - Merge keyframe values at the same offset and of the same timing function. r=birtles
...
MozReview-Commit-ID: 4BTYAGjFb3V
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
b2d74d322a
Bug 1354947 - Expose FindMatchingKeyframe and make it reusable for nsTimingFunction. r=birtles
...
MozReview-Commit-ID: Jjcrk5AhtUH
2017-05-13 16:34:38 +09:00
Brad Werth
d86ae7b72e
Bug 1363572 Part 3: Change ServoStyleSet to use sheet addresses as unique IDs. r=heycam
...
MozReview-Commit-ID: BZSKZx0wjL8
2017-05-12 12:04:55 -07:00
Brad Werth
9a6acfc3f1
Bug 1363572 Part 2: Change ServoStyleSet to use uint64_t for entry unique IDs. r=heycam
...
MozReview-Commit-ID: 50whQ71j4B5
2017-05-10 11:20:57 -07:00