tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

quote-scoping-002.html (798B)


      1 <!doctype html>
      2 <html lang=en>
      3  <meta charset=utf-8>
      4  <title>CSS-contain test: style containment and close-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 close-quote value of the content property are scoped to the element's subtree">
      8  <link rel="match" href="reference/quote-scoping-002-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 div::after, span::after {
     20  content: close-quote;
     21 }
     22 span {
     23  contain: style;
     24 }
     25 </style>
     26 
     27 <p>Test passes if the text below is "AZZ" (not including the quotation marks).<p>
     28 <div><span></span></div>