diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/css-parsing/pseudo-elements-1.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/css-parsing/pseudo-elements-1.html')
-rw-r--r-- | layout/reftests/css-parsing/pseudo-elements-1.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/reftests/css-parsing/pseudo-elements-1.html b/layout/reftests/css-parsing/pseudo-elements-1.html new file mode 100644 index 000000000..43690f862 --- /dev/null +++ b/layout/reftests/css-parsing/pseudo-elements-1.html @@ -0,0 +1,36 @@ +<!doctype html><style> + div { float: left } + /* Pseudo elements can appear only at the end of the selector. */ + .good { color: red } + .bad { color: green } + #good1::first-letter { color: green } + #good2::first-letter, #good3 { color: green } + #good4, #good5::first-letter { color: green } + div > #good6::first-letter, #good7 { color:green } + div #good7 > ::first-letter, #good8 { color:green } + + #bad1::first-letter *, #bad2 { color: red } + #bad4, #bad3::first-letter * { color: red } + div::first-line #bad5, #bad6 { color: red } + #bad7, div::first-line #bad8 { color: red } + #bad9, div ::first-line>#bad10 { color:red } +</style><div +><div class="good" id="good1">T</div +><div class="good" id="good2">h</div +><div class="good" id="good3">e</div +><div class="good" id="good4">r</div +><div class="good" id="good5">e</div +><div class="good" id="good6">s</div +><div class="good" id="good7">h</div +><div class="good" id="good8">o</div +><div class="bad" id="bad1" >u</div +><div class="bad" id="bad2" >l</div +><div class="bad" id="bad3" >d</div +><div class="bad" id="bad4" >b</div +><div class="bad" id="bad5" >e</div +><div class="bad" id="bad6" >n</div +><div class="bad" id="bad7" >o</div +><div class="bad" id="bad8" >r</div +><div class="bad" id="bad9" >e</div +><div class="bad" id="bad10">d</div +></div> |