Bug 1371955: Keep the test manifest sorted and clarify a comment in test_stylesheet_additions.html. r?heycam draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 12 Jun 2017 01:06:59 +0200
changeset 593390 70acd02d03de85e72751ed169acdaa5428e8dc85
parent 593389 d008c0c0c3e514986f4d2bc9347ffd5521bea13f
child 633091 194abc69242a377781499d389642fdb6b5764cf1
push id63675
push userbmo:emilio+bugs@crisal.io
push dateTue, 13 Jun 2017 13:49:44 +0000
reviewersheycam
bugs1371955
milestone56.0a1
Bug 1371955: Keep the test manifest sorted and clarify a comment in test_stylesheet_additions.html. r?heycam MozReview-Commit-ID: 1KFkaoNCp0M
layout/style/test/mochitest.ini
layout/style/test/test_stylesheet_additions.html
--- a/layout/style/test/mochitest.ini
+++ b/layout/style/test/mochitest.ini
@@ -268,19 +268,19 @@ skip-if = toolkit == 'android' #bug 7752
 [test_selectors_on_anonymous_content.html]
 [test_setPropertyWithNull.html]
 [test_shorthand_property_getters.html]
 [test_specified_value_serialization.html]
 [test_style_attr_listener.html]
 [test_style_attribute_quirks.html]
 [test_style_attribute_standards.html]
 [test_style_struct_copy_constructors.html]
-[test_stylesheet_clone_font_face.html]
 [test_stylesheet_additions.html]
 skip-if = !stylo
+[test_stylesheet_clone_font_face.html]
 [test_supports_rules.html]
 [test_system_font_serialization.html]
 [test_text_decoration_shorthands.html]
 [test_transitions_and_reframes.html]
 [test_transitions_and_restyles.html]
 [test_transitions_and_zoom.html]
 [test_transitions_cancel_near_end.html]
 [test_transitions_computed_values.html]
--- a/layout/style/test/test_stylesheet_additions.html
+++ b/layout/style/test/test_stylesheet_additions.html
@@ -9,18 +9,18 @@
 <div class="classScope">
   <div></div>
 </div>
 <div id="idScope">
   <div></div>
 </div>
 <!--
   We do it this way, using `disabled`, because appending stylesheets to the
-  document marks a restyle as needed, so we can't accurately measure whether
-  we've restyled or not.
+  document marks a restyle for that <style> element as needed, so we can't
+  accurately measure whether we've restyled or not.
 -->
 <style id="target" disabled></style>
 <script>
 SimpleTest.waitForExplicitFinish();
 const utils = SpecialPowers.getDOMWindowUtils(window);
 const TESTS = [
   { selector: ".nonexistentClassScope", restyle: false },
   { selector: ".nonexistentClassScope + div", restyle: true },