Commit Graph

59247 Commits

Author SHA1 Message Date
Wes Kocher
cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Wes Kocher
936a9461f6 Merge inbound to m-c a=merge
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Sebastian Hengst
51d351f567 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Sebastian Hengst
8257b2d113 Backed out changeset 8f2dd8f13b53 (bug 1388161) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout 2017-08-10 14:40:21 +02:00
Sebastian Hengst
7f85daeb2a Backed out changeset e9985564e081 (bug 1388162) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout 2017-08-10 14:40:20 +02:00
Sebastian Hengst
d389170f49 Backed out changeset 6b2edbf5944a (bug 1388614) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout 2017-08-10 14:40:09 +02:00
Matt Woodrow
f47c170811 Bug 1388614 - Make sure MathML display items are unique. r=karlt
FrameLayerBuilder requires the the (frame,per-frame-key) for each display item is unique. It only enforces this in certain situations though, so there's cases where we've gotten away without this.

Retained display lists introduces more situations where we rely on this, so I've found a few.

MathML nsDisplayNotation and nsDisplayMathMLBar are the two fixed by this patch.
2017-08-10 23:26:42 +12:00
Sebastian Hengst
6a474244a8 Backed out changeset 78d87b59f5a7 (bug 1370508) for unexpected pass of wpt-reftest /css/css-namespaces-3/syntax-013.xml. r=backout on a CLOSED TREE 2017-08-10 10:23:22 +02:00
Xidorn Quan
c0203dbf2c Bug 1388881 - Use namespace id instead of atom in synthesize_presentational_hints_for_legacy_attributes. r=manishearth
Using namespace id fixes this issue because in Gecko, the pref of MathML
(as well as SVG) works in the way that we choose a different namespace
id (the disabled id) for the elements. Those ids are mapped to the same
namespace atom as normal ids, which means if we use the atom, we would
treat the elements like normal mathml elements.

MozReview-Commit-ID: 9YBBokbP04M

--HG--
extra : rebase_source : 397f09db41a22bfa34e4abe26ad10027dab83d0d
2017-08-10 16:29:17 +10:00
Matt Woodrow
95f2e31f88 Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange 2017-08-07 16:07:43 +12:00
Matt Woodrow
a3a130b6ff Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
Jonathan Watt
3d364409fe Bug 1388939, part 8 - Remove nsFrameManager::GetDisplayContentsNodeFor and rewrite its caller to use other APIs. r=dholbert
MozReview-Commit-ID: 6S4MpwBlrjj
2017-08-02 09:56:28 +01:00
Jonathan Watt
0802c22f8d Bug 1388939, part 7 - Give clear names to the nsFrameManager methods for unregistering undisplayed style contexts. r=dholbert
MozReview-Commit-ID: EFtKqKBOPQH
2017-08-01 17:12:44 +01:00
Jonathan Watt
80b5a0301e Bug 1388939, part 6 - Give clear names to the nsFrameManager methods for obtaining the linked list of undisplayed style contexts for a node. r=dholbert
MozReview-Commit-ID: 5EuaFzCW4Lh
2017-08-01 17:03:07 +01:00
Jonathan Watt
26a2ad3013 Bug 1388939, part 5 - Rename nsFrameManager::GetUndisplayedContent to GetDisplayNoneStyleFor. r=dholbert
MozReview-Commit-ID: Kpe6DcBP8yX
2017-08-01 15:27:59 +01:00
Jonathan Watt
bde9e960a3 Bug 1388939, part 4 - Give clear names to the nsFrameManager methods for updating the registered undisplayed style contexts. r=dholbert
MozReview-Commit-ID: LZuleDSt6LR
2017-08-01 15:11:02 +01:00
Jonathan Watt
b1c7a0f236 Bug 1388939, part 3 - Give clear names to the nsFrameManager methods for registering undisplayed style contexts. r=dholbert
MozReview-Commit-ID: 1i2ilfWXcvo
2017-08-01 15:04:36 +01:00
Jonathan Watt
bd066a2927 Bug 1388939, part 2 - Pair up and document the various nsFrameManager methods for keeping track of "undisplayed" style contexts. r=dholbert
MozReview-Commit-ID: F8GvrXdvLEm
2017-08-01 14:43:15 +01:00
Jonathan Watt
e8f2e75737 Bug 1388939, part 1 - Rename nsFrameManagerBase::mUndisplayedMap to mDisplayNoneMap. r=dholbert
MozReview-Commit-ID: 94vA4YJ2u
2017-08-01 13:50:23 +01:00
sotaro
276b8889d3 Bug 1388639 - Use KnowsCompositor instead of ShadowForwarder in MaskImageData and MaskLayerImageCache r=nical 2017-08-10 11:43:11 +09:00
Yoshi Huang
9a74f292a9 Bug 1388630 - rewrite layout/reftests/bugs/331809-1.html for new data: URI behavior. r=smaug 2017-08-10 10:20:05 +08:00
Sylvestre Ledru
b68c15fce4 Bug 1387002 - Replace .size() by .empty() when applicable in layout/tables/ r=kats
MozReview-Commit-ID: 2O9BJcQSRIY

--HG--
extra : rebase_source : 1e406bc767116999a80325c9daff2e9a640437a7
2017-08-03 12:06:35 +02:00
Emilio Cobos Álvarez
e4646d449f Bug 1388234: Don't assert when calling out of band to ResolveInheritingAnonymousBoxStyle. r=heycam
MozReview-Commit-ID: FYctJRfLTK6

--HG--
extra : rebase_source : feec0d3a65c501ea7b3382d892f512388bd7240e
2017-08-08 14:54:13 +02:00
Manish Goregaokar
6f0180e2cb Bug 1388943 - Include logical properties in has_author_specified_rules ; r=heycam
MozReview-Commit-ID: 6l2ZqLZwkZJ
2017-08-09 23:32:30 -07:00
Manish Goregaokar
4af3a23604 Bug 1388941 - Correctly scale -moz-min-font-size-ratio ; r=heycam
MozReview-Commit-ID: KoKFXzSdakU
2017-08-09 23:32:19 -07:00
Manish Goregaokar
e6931eca1a Bug 1388941 - Remove unnecessary fails(stylo) annotation from fuzzy test; r=heycam
MozReview-Commit-ID: ERUIHRQwXc7
2017-08-09 23:32:07 -07:00
Xidorn Quan
a0b8a2c68d Bug 1370508 - Enable stylo on generic XML documents. r=heycam
MozReview-Commit-ID: 4XQ9RPQ7oa1

--HG--
extra : rebase_source : f5ffeaa615076035215f5ac1b9b39aa5cb15d618
2017-08-09 19:57:33 +10:00
Xidorn Quan
092be74b6e Bug 1383992 followup - Update mochitest expectation.
MozReview-Commit-ID: C1QKAVJgK9v
2017-08-10 14:27:40 +10:00
Xidorn Quan
4e2c6b0054 Bug 1341102 - Add fuzzy for some styloVsGecko reftests.
MozReview-Commit-ID: Etq5HO11V92
2017-08-10 13:11:52 +10:00
Xidorn Quan
a7579e7241 Bug 1383992 part 2 - Enable some more mochitests for stylo. r=jmaher
MozReview-Commit-ID: AnZAxhPwwEB

--HG--
extra : rebase_source : 89418b819a53f1d1e5a5cd2861f31af1ff901844
extra : source : 1bc1f2000c0a4e9e23f5e2f05b7d95e44c615238
extra : histedit_source : ad7d9650d49c698d03d6397aa1ad27e860ae7827
2017-08-09 08:31:26 +10:00
Xidorn Quan
58e5987209 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM

--HG--
extra : rebase_source : a5ed4b2a11c293c50d642c3a0da6831ce5a885a1
extra : source : 8d97565b7dedaef3b46e65b92b1ca1e0598d2a76
extra : histedit_source : 72834d0bc485e78cb8c1de357e4b545d7e6408f5
2017-08-09 08:31:26 +10:00
Ryan VanderMeulen
6eb7aef00e Merge m-c to autoland. a=merge 2017-08-09 18:51:26 -04:00
Ryan VanderMeulen
2e6670c78e Merge autoland to m-c. a=merge 2017-08-09 18:47:59 -04:00
Bobby Holley
fb45c73178 Bug 1388623 - Use our new traversal flags to avoid doing post-traversal clearing of restyle state. r=emilio
MozReview-Commit-ID: E4fqtsQtO9E
2017-08-09 12:12:28 -07:00
Bobby Holley
bac6702aa7 Bug 1388623 - Move the document-root-cache-priming into PreTraverseSync. r=emilio
I added this before PreTraverseSync existed, but that's really where it belongs.

MozReview-Commit-ID: DZlcH70QbEt
2017-08-09 12:11:32 -07:00
Bobby Holley
8070fac712 Bug 1388623 - Switch to PreTraverseSync for new-element styling. r=hiro
the PreTraverse stuff is all about ticking animations, which isn't something we
want to do when we're trying to get styles synchronously in the frame
constructor.

MozReview-Commit-ID: L6lw4ef4Jdk
2017-08-09 12:11:30 -07:00
Bobby Holley
499e5efc52 Bug 1368291 - Style sharing for lazy pseudos. r=emilio
MozReview-Commit-ID: 9u8FzDXFZcX
2017-08-09 12:08:24 -07:00
Kartikaya Gupta
f10ce62128 Bug 1386483 - Split the wr_dp_push_clip method into two to allow reusing clips. r=jrmuizel
MozReview-Commit-ID: 90BEJGs8wGg

--HG--
extra : rebase_source : 9ef113bee43391c00912457afc395284899a23cb
2017-08-08 15:43:17 -04:00
Carsten "Tomcat" Book
bb29fe249d Merge mozilla-central to autoland 2017-08-09 12:31:56 +02:00
Carsten "Tomcat" Book
c329d562fb merge mozilla-inbound to mozilla-central a=merge 2017-08-09 11:37:08 +02:00
Manish Goregaokar
04fe065d58 Bug 1387953 - Exit early before calling Servo_HasAuthorSpecifiedRules without element data; r=bholley
MozReview-Commit-ID: VrtKytWlcg

--HG--
extra : rebase_source : 7c0f3060b7ebf9c384b5ceba884d5ff9a3394c0b
2017-08-07 13:48:09 -07:00
Boris Chiou
ab736ddb91 Bug 1388216 - Add a rotate3d whose direction vector cannot be normalized into property_database.js. r=heycam
Make sure it doesn't cause assertions.

MozReview-Commit-ID: GHIM9o7DPVO

--HG--
extra : rebase_source : d9c1448e4448d109130af402e77a4901ef562d6d
2017-08-08 17:55:17 +08:00
Nicholas Nethercote
d4e19d954a Bug 1388253 - Convert nsTextFormatter:[v]smprintf() use to [v]ssprintf(). r=erahm.
[v]ssprintf() is just a better way of doing things.

--HG--
extra : rebase_source : 25337787b9557f8a7080a67645dba70609a8f646
2017-08-09 10:41:14 +10:00
Ehsan Akhgari
eefe461ec1 Bug 1379344 - Avoid traversing the display list twice inside nsDisplayList::UpdateBounds(); r=mstange 2017-08-08 20:54:48 -04:00
Wes Kocher
650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Emilio Cobos Álvarez
199acfadce Bug 1366163: Update test expectations. r=heycam
MozReview-Commit-ID: 2UFRnrIOETo
2017-08-08 14:15:27 +02:00
Carsten "Tomcat" Book
0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
Boris Chiou
9c6a18d6f3 Bug 1387948 - Enable font-weight in test_transitions_per_property.html for stylo. r=xidorn
MozReview-Commit-ID: LX9MwgLBluy

--HG--
extra : rebase_source : ef21c3e03a46e956ebd8d5dddc2d72327d55c7ae
2017-08-08 13:38:07 +08:00
Boris Zbarsky
69b153ce8c Bug 1385178. Do fallible allocation of our font data buffer in SyncLoadFontData. r=jfkthame 2017-08-08 13:22:10 -04:00
Bobby Holley
9fb54004da Bug 1387499 - Crashtest. r=me
MozReview-Commit-ID: 59I61PQIWHi
2017-08-09 09:21:01 -07:00