Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-page/root-element-display-none-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>display:none on root should produce a blank page</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="reference/blank-print-ref.html">
<style>
@page {
border: solid red;
background: hotpink;
}
html {
display: none;
}
</style>
FAIL, this page should be blank.