Bug 1446470: Allow @-moz-document url-prefix() on content. r=xidorn

MozReview-Commit-ID: zaT41fpsDT
This commit is contained in:
Emilio Cobos Álvarez 2018-03-16 18:50:16 +01:00
parent f5497ba9ab
commit cc210b144e
3 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<!doctype html>
<style>
div { color: green; }
@-moz-document url-prefix() {
@-moz-document url-prefix(foo) {
div { color: red; }
}
</style>

View File

@ -0,0 +1,8 @@
<!doctype html>
<style>
div { color: red; }
@-moz-document url-prefix() {
div { color: green; }
}
</style>
<div>Should be green</div>

View File

@ -2063,3 +2063,4 @@ test-pref(font.size.systemFontScale,200) == 1412743.html 1412743-ref.html
fuzzy(74,2234) random-if(webrender) == 1425243-1.html 1425243-1-ref.html
fuzzy-if(Android,66,574) fuzzy-if(d2d,89,777) fuzzy-if(!Android&&!d2d,1,31219) == 1425243-2.html 1425243-2-ref.html
== 1432541.html 1432541-ref.html
pref(layout.css.moz-document.content.enabled,false) fails-if(!stylo||styloVsGecko) == 1446470.html 1035091-ref.html