mirror of
https://github.com/servo/servo.git
synced 2025-09-04 20:18:21 +01:00
Update web-platform-tests to revision 5084587f6b05bf99ad09e7844be66dcc61070cdf
This commit is contained in:
parent
6d42d2f1e8
commit
7d1071a6a4
408 changed files with 8968 additions and 2608 deletions
|
@ -0,0 +1,32 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test: style containment and no-open-quote</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="style containment cause the no-open-quote value of the content property are scoped to the element's subtree">
|
||||
<link rel="match" href="reference/quote-scoping-003-ref.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain/#containment-style">
|
||||
|
||||
<style>
|
||||
|
||||
div {
|
||||
quotes: "A" "Z" "1" "9";
|
||||
}
|
||||
div::before{
|
||||
content: open-quote;
|
||||
}
|
||||
|
||||
span::before {
|
||||
content: no-open-quote;
|
||||
}
|
||||
div::after {
|
||||
content: close-quote;
|
||||
}
|
||||
div {
|
||||
contain: style;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the text below is "AZ" (not including the quotation marks).<p>
|
||||
<div><span></span></div>
|
Loading…
Add table
Add a link
Reference in a new issue