Bug 1291515 - Part 2: Disable pref for <style scoped>. r=dbaron

MozReview-Commit-ID: 8rBHsSTK9SG

--HG--
extra : rebase_source : dc514c56968336cd29b4d4207cf14169ee3fc7fa
This commit is contained in:
Cameron McCormack 2017-06-21 09:30:52 +08:00
parent deae2413d6
commit b7af0d0585
2 changed files with 1 additions and 6 deletions

View File

@ -2860,7 +2860,7 @@ pref("layout.css.prefixes.device-pixel-ratio-webkit", false);
//
// If disabled, this will also disable the DOM API (HTMLStyleElement.scoped)
// in chrome documents.
pref("layout.css.scoped-style.enabled", true);
pref("layout.css.scoped-style.enabled", false);
// Is support for the :scope selector enabled?
pref("layout.css.scope-pseudo.enabled", true);

View File

@ -1,5 +0,0 @@
[historical.html]
type: testharness
[style.scoped should not be supported]
expected: FAIL