Bug 1486325 - Enable webkit-prefixed unknown pseudo-element by default. r=emilio
authorXidorn Quan <me@upsuper.org>
Wed, 05 Sep 2018 11:44:57 +0000
changeset 483108 3726a2540c1bc6b5621cc24e88110db8fe0071e0
parent 483107 9bb31b9974619a8c3bb3fdee4e2b5aff2c3364d1
child 483109 da0384fb1fbb6acea55421bc127299fc1b18dc7d
push id232
push userfmarier@mozilla.com
push dateWed, 05 Sep 2018 20:45:54 +0000
reviewersemilio
bugs1486325
milestone64.0a1
Bug 1486325 - Enable webkit-prefixed unknown pseudo-element by default. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D5010
modules/libpref/init/StaticPrefList.h
testing/web-platform/meta/compat/webkit-pseudo-element.html.ini
testing/web-platform/meta/css/selectors/webkit-pseudo-element.html.ini
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -469,17 +469,17 @@ VARCACHE_PREF(
    layout_css_overflow_break_intrinsic_size,
   bool, false
 )
 
 // Does arbitrary ::-webkit-* pseudo-element parsed?
 VARCACHE_PREF(
   "layout.css.unknown-webkit-pseudo-element",
    layout_css_unknown_webkit_pseudo_element,
-  bool, false
+  bool, true
 )
 
 // Is path() supported in clip-path?
 VARCACHE_PREF(
   "layout.css.clip-path-path.enabled",
    layout_css_clip_path_path_enabled,
   bool, false
 )
deleted file mode 100644
--- a/testing/web-platform/meta/compat/webkit-pseudo-element.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[webkit-pseudo-element.html]
-  prefs: [layout.css.unknown-webkit-pseudo-element:true]
--- a/testing/web-platform/meta/css/selectors/webkit-pseudo-element.html.ini
+++ b/testing/web-platform/meta/css/selectors/webkit-pseudo-element.html.ini
@@ -1,13 +1,2 @@
 [webkit-pseudo-element.html]
-  [webkit-prefixed pseudo-element selectors should be accessible from CSSOM]
-    expected: FAIL
-
-  [qS and qSA shouldn't throw exception]
-    expected: FAIL
-
-  [webkit-prefix without dash is invalid]
-    expected: FAIL
-
-  [rules include webkit-prefixed pseudo-element should be cascaded]
-    expected: FAIL
-
+  prefs: [layout.css.unknown-webkit-pseudo-element:true]