/* Simplified user-agent stylesheet for HTML5 in tests. */ @page { bleed: 0; @footnote { margin: 0 } } html, body, div, h1, h2, h3, h4, ol, p, ul, hr, pre, section, article { display: block; } li { display: list-item } head { display: none } pre { white-space: pre } br:before { content: '\A'; white-space: pre-line } ol { list-style-type: decimal } ol, ul { counter-reset: list-item } table, x-table { display: table; box-sizing: border-box } tr, x-tr { display: table-row } thead, x-thead { display: table-header-group } tbody, x-tbody { display: table-row-group } tfoot, x-tfoot { display: table-footer-group } col, x-col { display: table-column } colgroup, x-colgroup { display: table-column-group } td, th, x-td, x-th { display: table-cell } caption, x-caption { display: table-caption } *[lang] { -weasy-lang: attr(lang); } a[href] { -weasy-link: attr(href); } a[name] { -weasy-anchor: attr(name); } *[id] { -weasy-anchor: attr(id); } h1 { bookmark-level: 1; bookmark-label: content(text); } h2 { bookmark-level: 2; bookmark-label: content(text); } h3 { bookmark-level: 3; bookmark-label: content(text); } h4 { bookmark-level: 4; bookmark-label: content(text); } h5 { bookmark-level: 5; bookmark-label: content(text); } h6 { bookmark-level: 6; bookmark-label: content(text); } ::marker { unicode-bidi: isolate; font-variant-numeric: tabular-nums; } ::footnote-call { content: counter(footnote); } ::footnote-marker { content: counter(footnote) '.'; }