quote-scoping-003.html (831B)
1 <!doctype html> 2 <html lang=en> 3 <meta charset=utf-8> 4 <title>CSS-contain test: style containment and no-open-quote</title> 5 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net"> 6 <meta name=flags content=""> 7 <meta name=assert content="style containment cause the no-open-quote value of the content property are scoped to the element's subtree"> 8 <link rel="match" href="reference/quote-scoping-003-ref.html"> 9 <link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-style"> 10 11 <style> 12 13 div { 14 quotes: "A" "Z" "1" "9"; 15 } 16 div::before{ 17 content: open-quote; 18 } 19 20 span::before { 21 content: no-open-quote; 22 } 23 div::after { 24 content: close-quote; 25 } 26 span { 27 contain: style; 28 } 29 </style> 30 31 <p>Test passes if the text below is "AZ" (not including the quotation marks).<p> 32 <div><span></span></div>