Status: PASS | Duration: 6ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-page/margin-boxes/content-002-print.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <link rel="help" href="https://drafts.csswg.org/css-page-3/#populating-margin-boxes"> <meta name="assert" content="Test quotes in the content property inside page margin boxes."> <meta charset="utf-8"> <link rel="match" href="content-002-print-ref.html"> <style> @page { margin: 4em; @top-left { text-align: left; vertical-align: top; content: open-quote "Trøndere gråter når " open-quote "Vinsjan på kaia" close-quote " blir deklamert" close-quote; } @bottom-left { quotes: "[" "]" "{" "}"; text-align: left; vertical-align: top; content: open-quote "Trøndere gråter når " open-quote "Vinsjan på kaia" close-quote " blir deklamert" close-quote; } } </style>
/css/css-page/margin-boxes/content-002-print-ref.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <meta charset="utf-8"> <style> @page { margin: 0; } body { margin: 0; } .content::before { content: open-quote "Trøndere gråter når " open-quote "Vinsjan på kaia" close-quote " blir deklamert" close-quote; } .bottom::before { quotes: "[" "]" "{" "}"; } </style> <div style="display:grid; height:100vh; grid-template-rows:4em auto 4em; margin:0 4em;"> <div class="content"></div> <div></div> <div class="content bottom"></div> </div>