Manish Goregaokar
2991af8d79
Bug 1373018 - Part 4: stylo: Rename eArenaObjectID_nsStyleContext to eArenaObjectID_GeckoStyleContext; r=bholley
...
MozReview-Commit-ID: 5oZwxG8r9Ty
--HG--
extra : rebase_source : 32fdfe60a20b2d90f531df1999b3aee0e4c8a5c2
2017-06-10 22:27:45 -07:00
Manish Goregaokar
719eec238a
Bug 1373018 - Part 3: stylo: Move mPresContext to ServoStyleContext; r=bholley
...
MozReview-Commit-ID: 2BmRpIjxEO8
--HG--
extra : rebase_source : 51b9d1cd0963d0d243a6e575eff3a7407ee27485
2017-06-10 22:27:45 -07:00
Manish Goregaokar
7fceedfbae
Bug 1373018 - Part 2: stylo: Add stylo conversion methods for nsStyleContext; stop using arena; r=bholley
...
MozReview-Commit-ID: CeIDP7idlmC
--HG--
extra : rebase_source : 8e7ec95fd068e562d947fbc39e84cd8e60daa910
2017-06-10 22:27:45 -07:00
Manish Goregaokar
01dc13b311
Bug 1373018 - Part 1: stylo: Introduce ServoStyleContext and GeckoStyleContext subclasses; r=bholley
...
MozReview-Commit-ID: GY1GfkWMK0n
--HG--
extra : rebase_source : a631b068cf0d54f5105e3dfe411365157490cac5
2017-06-10 22:27:45 -07:00
Boris Chiou
ccd05b9231
Bug 1339690 - Part 7: Stop storing invalid property value. r=birtles
...
MozReview-Commit-ID: H3aRcJIk7CV
--HG--
extra : rebase_source : 774c1596364dd8e3eacf8a6bab093e9e1abf6e18
2017-06-14 11:43:47 +08:00
Brian Birtles
f94eed9781
Bug 1371518 - Use Servo backend to determine if a property is transitionable; r=hiro
...
This allows Gecko to use the same criteria as Servo for evaluating if a property
should be transitioned and will cause Gecko to exclude discretely animated
properties, including, in future, the 'display' property.
MozReview-Commit-ID: H2wWVo5isKS
--HG--
extra : rebase_source : 34798306aa5f485b0583d3640caf24d123922584
2017-06-15 09:54:06 +09:00
Brian Birtles
7a76319c9a
Bug 1371518 - Drop Servo_AnimationValueMap_Push; r=hiro
...
This is no longer needed as of bug 1311257 since we now compose animations on
the Servo side.
MozReview-Commit-ID: 8VbgYjhIQmu
--HG--
extra : rebase_source : 7dc5ea57cd2f0991bc65810c9eb98cc9044c5d77
2017-06-15 09:49:14 +09: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
Carsten "Tomcat" Book
865741ad85
Merge mozilla-central to autoland
...
--HG--
rename : third_party/rust/euclid/src/matrix2d.rs => third_party/rust/euclid-0.13.0/src/matrix2d.rs
rename : third_party/rust/euclid/src/matrix4d.rs => third_party/rust/euclid-0.13.0/src/matrix4d.rs
2017-06-14 14:51:37 +02:00
Carsten "Tomcat" Book
5e8c1546ec
merge mozilla-inbound to mozilla-central a=merge
2017-06-14 14:45:26 +02:00
Ravi Shankar
a128b31acc
Bug 1372002 - Add bindings for servo-side setting of line name lists; r=xidorn
...
MozReview-Commit-ID: 9Gd4ijWK1z8
--HG--
extra : rebase_source : 57b0bfbf572fbb7ead0d594cd8349f88acb3677e
2017-06-11 19:47:55 +05:30
Xidorn Quan
e5242cc394
Bug 1371976 - Resolve counter style during parallel traversal when possible. r=heycam
...
MozReview-Commit-ID: 4StYe5Fb3Uw
--HG--
extra : rebase_source : 55a459d0fdae52ceab14d36b8ee9c92bf3e125c9
2017-06-14 16:39:47 +10:00
Wes Kocher
09a205279b
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 7AS5EEH6buZ
2017-06-13 18:36:04 -07:00
Wes Kocher
1af6d5cf57
Merge inbound to central, a=merge
...
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: CBIFPwA5aNp
--HG--
extra : amend_source : 035a5be59d0046a643d0f836a95195e8c4ade4a6
2017-06-13 18:27:10 -07:00
Mats Palmgren
e2fdf0af58
Bug 1372025 - Replace Contains+Put with LookupForAdd to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: A5SFNxsRNvX
2017-06-14 01:54:27 +02:00
Jeremy Chen
63705c0e03
Bug 1356134 - stylo: update test expectations for font-variant shorthand. r=xidorn
...
Setting font-variant-alternates in font-variant shorthand still causes failures,
so move them to the font-variant-alternates section.
MozReview-Commit-ID: FkepxhLWUzk
--HG--
extra : rebase_source : 17d9be31ae18ecc2eda00a8fe114c08052303438
2017-06-05 13:48:40 +00:00
Xidorn Quan
45ebf973e4
Bug 1372549 part 2 - Avoid return reframe / reflow for list-style-{type,position} if display is not list-item. r=heycam
...
MozReview-Commit-ID: LugfFRIu3MS
--HG--
extra : rebase_source : 897c2c77de513a59164d428e348a27cf284f792d
2017-06-13 20:49:33 +10:00
Xidorn Quan
ff978ee1d7
Bug 1372549 part 1 - Slightly simplify DO_STRUCT_DIFFERENCE macro usage. r=heycam
...
MozReview-Commit-ID: BXHHoXOcsEP
--HG--
extra : rebase_source : f3cab00d2b34d549a1a8f05abd1a6dd940055f51
2017-06-13 20:48:37 +10:00
Xidorn Quan
589d06fb7f
Bug 1372757 - Remove several dependencies to ServoBindings.h. r=heycam
...
MozReview-Commit-ID: Lruin1acS19
--HG--
extra : rebase_source : 7aeb83df3e1bf21a68d2f3e9048c5bfaa295ccdb
2017-06-14 09:38:16 +10:00
Phil Ringnalda
6f1f8bc3a5
Backed out changeset a5fe1b7f3dad (bug 1372790) for build bustage in nsCSSParser.cpp
...
CLOSED TREE
MozReview-Commit-ID: 3qoTERDArAo
2017-06-13 22:39:50 -07:00
Xidorn Quan
c1b7409fa4
Bug 1372790 - Change uint8_t to back some enum and reorder some fields in StyleSheet to make it more compact. r=heycam
...
MozReview-Commit-ID: DddIzhJqmcZ
--HG--
extra : rebase_source : b7c4db0ce0aac41605f93fd1c2f23578a1caadf7
2017-06-14 14:26:48 +10:00
Nazım Can Altınova
4c3ca97d81
Bug 1371963 - stylo: Update test expectations for :hover and :active quirk r=bholley
...
MozReview-Commit-ID: 1Hp9LNNmvG5
--HG--
extra : rebase_source : a8b42885c3a0d952e32fcce70be1a5ca8c053a7c
2017-06-13 01:30:51 +03:00
Emilio Cobos Álvarez
29c3b7700c
Bug 1368240: Very basic smoketests for this. r=heycam
...
I need to add an API to WindowUtils to test this further I fear.
MozReview-Commit-ID: CdUhcp545a7
2017-06-13 15:53:02 +02:00
Emilio Cobos Álvarez
0970b24aee
Bug 1368240: Update test expectations. r=heycam
...
MozReview-Commit-ID: HoWk4yyucW0
2017-06-13 15:52:57 +02:00
Emilio Cobos Álvarez
716f239e92
Bug 1368240: Record whether an snapshot is recording a class attribute change or id change. r=heycam
...
I'll use this information in order to get fewer dependencies out of the
dependency set.
MozReview-Commit-ID: 5HlmKmSNO8p
2017-06-13 15:52:42 +02:00
Emilio Cobos Álvarez
846c31b3ee
Bug 1371955: Keep the test manifest sorted and clarify a comment in test_stylesheet_additions.html. r=heycam
...
MozReview-Commit-ID: 1KFkaoNCp0M
--HG--
extra : rebase_source : f2fa61fd70a8bad61b30b7827bd729eaf7217700
2017-06-12 01:06:59 +02:00
Emilio Cobos Álvarez
11d7654c6d
Bug 1371955: Test. r=heycam
...
MozReview-Commit-ID: 61LyyLfZYj5
--HG--
extra : rebase_source : 64185061a731759a038f3df1e836cf1e4b0ddf5f
2017-06-12 01:05:22 +02:00
Cameron McCormack
7119c97f4d
Bug 1370793 - Followup bustage fix. r=me
2017-06-13 11:51:15 +08:00
Cameron McCormack
1abc353e33
Bug 1370793 - Part 2: Crashtest. r=bholley
...
MozReview-Commit-ID: 1vepQTv40DQ
--HG--
extra : rebase_source : 9b8341ec338a4f4f2b031372dcad00edc168035e
2017-06-11 19:12:16 +08:00
Cameron McCormack
a6661ab735
Bug 1370793 - Part 1: Don't try to style unstyled children of elements with newly applied XBL bindings if in a display:none or unstyled subtree. r=bholley
...
MozReview-Commit-ID: EFi2Vp19AQm
--HG--
extra : rebase_source : 39ce54a1ffc4ec709afa552bc45cb6cd803ee827
2017-06-11 19:11:08 +08:00
Xidorn Quan
038bfaec4f
Bug 1371488 part 2 - Add test for this bug. r=emilio
...
MozReview-Commit-ID: 3CoYK3JWrnV
--HG--
extra : rebase_source : 29a33f2740302793de004555a4eedd01dd12b8cb
2017-06-13 09:52:02 +10:00
Xidorn Quan
f7dbcb1deb
Bug 1371488 part 1 - Don't create empty servo sheet for stylesheet of @import rule when loading failed. r=emilio
...
MozReview-Commit-ID: EnjVQIe1oeY
--HG--
extra : rebase_source : 3c316bf732dbfa25c1c8beea17979f04f0e0c6c9
2017-06-09 10:52:35 +10:00
Fernando Jimenez Moreno
3a2e1cf12d
Bug 1370501 - stylo: Implement ServoStyleRule::GetSpecificity. r=emilio
...
MozReview-Commit-ID: Kxa7Q3Yw4It
--HG--
extra : rebase_source : 4af8753c6c9d83d34ea2f13cd4cac04595ac7432
2017-06-12 14:54:44 +02:00
Fernando Jimenez Moreno
1c57cc83d0
Bug 1370501 - stylo: Fix ServoStyleRule::GetSelectorTextFromIndex. r=emilio
...
MozReview-Commit-ID: 6STojaOLggZ
--HG--
extra : rebase_source : 39e3949e17c018795e9565124c14f9b7c96f4b53
2017-06-12 14:54:39 +02:00
Nazım Can Altınova
f80a6fcb2c
Bug 1355724 - stylo: Update test expectations for :active and :hover quirk r=emilio
...
MozReview-Commit-ID: 9nm2PnK9T7R
--HG--
extra : rebase_source : 1608c1b6e67a0416fcc906d0bc2a503d2452f449
2017-06-10 22:34:51 +03:00
Nazım Can Altınova
b90d026edb
Bug 1355724 - stylo: Fix propagation of quirks mode information to servo side r=emilio
...
It was getting inial value from gecko side before and that was always
eCompatibility_NavQuirks. Created an FFI to fetch quirks mode.
MozReview-Commit-ID: 1lXsM9hwldZ
--HG--
extra : rebase_source : 17093f4cd46cc630d36535b01c8924e67ec98b3f
2017-06-10 17:22:23 +03:00
Jeff Hajewski
21dd3e708d
Bug 1371354: Changes macro defined NS_SYTLE_IMAGELAYER_ to enum class StyleImageLayer; r=manishearth
...
MozReview-Commit-ID: DgvenevRHg2
2017-06-09 16:53:34 -07:00
Jessica Jong
e105f0644d
Bug 1311857 - Adjust CSS for date/time widget internals to prevent them from overflowing the widget. r=dholbert
...
MozReview-Commit-ID: FhHdjGayUB1
--HG--
extra : rebase_source : e8de2487583e30fbd5618988f051fd73928917b9
2017-04-21 16:18:19 +08:00
Cameron McCormack
e3babb3936
Bug 1369954 - Part 5: Add FFI function for checking whether an element has XBL-created anonymous content. r=emilio
...
MozReview-Commit-ID: 2ZXyBzxkfsA
2017-06-09 21:18:11 +08:00
Cameron McCormack
2b2b1ce4d9
Bug 1369954 - Part 2: Remove unused Gecko_GetParentElement. r=emilio
...
MozReview-Commit-ID: 6MluHzBDDxO
--HG--
extra : rebase_source : 83432b6a05f8d02a47ed089fcf28b57b30b49a9e
2017-06-09 11:20:30 +08:00
Cameron McCormack
3c93a04152
Bug 1369954 - Part 1: Rename Gecko_GetParentNode to Gecko_GetFlattenedTreeParentNode. r=emilio
...
MozReview-Commit-ID: 66XOnRQpqHT
--HG--
extra : rebase_source : fc5a1250191b21cad8e1ca94272fb8a855baf4ae
2017-06-09 17:15:08 +08:00
Jonathan Hao
dca1a28633
Bug 1217238 - Reduce time precision when privacy.resistFingerprinting is on. r=mystor
...
This patch is adapted from Tor bug 1517.
To offer some protection against timing attacks by JS content pages, in this
patch we round the various time-exposing APIs (such as Date and
Event.timeStamps) to the nearest 100 ms when the pref "privacy.resistFingerprinting" is on.
MozReview-Commit-ID: eGucM9nGTn
--HG--
extra : rebase_source : 3ee600b07943f3954e9a2a9561391f2f7821bb86
2017-06-06 11:45:14 +08:00
Brian Birtles
f7f386ac4e
Bug 1371196 - Round font-weight when interpolating, don't floor; r=hiro
...
The spec says,
font weight: interpolated via discrete steps (multiples of 100). The
interpolation happens in real number space and is converted to an integer by
rounding to the nearest multiple of 100, with values halfway between
multiples of 100 rounded towards positive infinity.[1]
However, our implementation pre-dates this spec text (bug 528234 landed Nov 2009
whereas the spec was updated in Mar 2012[2]).
This patch rounds the result by simply adding 50 to the result before we floor
it (which is good enough in this case because we don't need to worry about
negative values).
It also slightly simplifies the logic by re-using Clamp from MathAlgorithms.h.
[1] https://drafts.csswg.org/css-transitions/#animtype-font-weight
[2] 00c6286109
MozReview-Commit-ID: BjCg7MG70hW
--HG--
extra : rebase_source : 879ea18d7d1a49ff425d6e467081983a130a65e3
2017-06-09 12:19:47 +09:00
Wes Kocher
1be06aea28
Merge m-c to autoland, a=merge
...
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: ItWcUAUYyaj
--HG--
extra : amend_source : fc43f23f0e12d5f88d72be9526a953d8015e6975
2017-06-08 18:44:32 -07:00
Manish Goregaokar
02cc1f82e0
Bug 1364162 - Part 2: stylo: Make all attribute selectors respect case insensitivity; r=SimonSapin
...
MozReview-Commit-ID: 1sCnU2fG1IB
2017-06-08 18:32:04 -07:00
Wes Kocher
cf0077dc65
Merge autoland to m-c a=merge
...
MozReview-Commit-ID: BfLXAwELA2k
2017-06-08 18:35:34 -07:00
Carsten "Tomcat" Book
247a47fac9
Merge mozilla-central to mozilla-inbound
2017-06-08 15:16:36 +02:00
Ben Kelly
7d8dea31fc
Bug 1369350 Add additional delay to test_dont_use_document_colors.html since nsPresContext delays applying prefs. r=dbaron
2017-06-08 05:47:16 -07:00
Hiroyuki Ikezoe
5626c5dfa9
Bug 1358966 - Serialize multiple AnimationValue(s) for sub properties of a shorthand into single shorthand string. r=birtles,manishearth
...
MozReview-Commit-ID: KihUZRSD6pg
--HG--
extra : rebase_source : 8a75edcde8acf5c47981ef009d7a3c2b1d40c777
2017-06-09 06:19:38 +09:00
Hiroyuki Ikezoe
ee1e77aa75
Bug 1358966 - Drop a redundant include for DeclarationBlockInlines.h. r=birtles
...
MozReview-Commit-ID: Av21Kes51z8
--HG--
extra : rebase_source : 0eec580400f4b0c72f13b11ad708c9e87f5a8b18
2017-06-09 06:19:37 +09:00