Bug 1388881 - Use namespace id instead of atom in synthesize_presentational_hints_for_legacy_attributes. r?manishearth draft
authorXidorn Quan <me@upsuper.org>
Thu, 10 Aug 2017 16:29:17 +1000
changeset 643903 82b07ad2d6df37ac43cbb7281a7f33025a13841a
parent 642999 83ce8e9879697925fcac4796dad5b17dc22db301
child 725435 ce552617fc02077e45390ad14f62fdb74c93e70d
push id73249
push userxquan@mozilla.com
push dateThu, 10 Aug 2017 07:57:09 +0000
reviewersmanishearth
bugs1388881
milestone57.0a1
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
layout/reftests/mathml/reftest.list
--- a/layout/reftests/mathml/reftest.list
+++ b/layout/reftests/mathml/reftest.list
@@ -6,18 +6,18 @@ random-if(gtkWidget) == dir-3.html dir-3
 == dir-6.html dir-6-ref.html
 == dir-6a.html dir-6a-ref.html
 == dir-7.html dir-7-ref.html
 fails-if(!styloVsGecko) == dir-8.html dir-8-ref.html
 fails-if(!styloVsGecko) == dir-9.html dir-9-ref.html # Bug 787215
 == dir-10.html dir-10-ref.html
 == dir-11.html dir-11-ref.html
 == css-spacing-1.html css-spacing-1-ref.html
-pref(mathml.disabled,true) fails-if(styloVsGecko||stylo) == disabled-scriptlevel-1.html disabled-scriptlevel-1-ref.html
-pref(mathml.disabled,true) fails-if(styloVsGecko||stylo) == disabled-scriptlevel-1.xhtml disabled-scriptlevel-1-ref.xhtml
+pref(mathml.disabled,true) == disabled-scriptlevel-1.html disabled-scriptlevel-1-ref.html
+pref(mathml.disabled,true) == disabled-scriptlevel-1.xhtml disabled-scriptlevel-1-ref.xhtml
 == displaystyle-1.html displaystyle-1-ref.html
 == displaystyle-2.html displaystyle-2-ref.html
 == displaystyle-3.html displaystyle-3-ref.html
 == displaystyle-4.html displaystyle-4-ref.html
 random-if(smallScreen&&Android) fuzzy(255,200) == mirror-op-1.html mirror-op-1-ref.html
 != mirror-op-2.html mirror-op-2-ref.html
 != mirror-op-3.html mirror-op-3-ref.html
 != mirror-op-4.html mirror-op-4-ref.html