quirks

edit

WPT coverage of the tests of quirks at the revision c8fa86fb13d4. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features), the reftests and the crash tests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable1418078%
Tentative000–
Reftests3234094%
Crash tests330100%
All4955089%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • TEST BUG: 3
  • NOT IMPLEMENTED: 3

Stable tests

TestResultSubtestsKindDescription
blocks-ignore-line-height.htmlPass4 / 4
classname-query-after-sibling-adoption.htmlPass1 / 1
hashless-hex-color/limited-quirks.htmlPass684 / 684
hashless-hex-color/no-quirks.htmlPass684 / 684
hashless-hex-color/quirks.htmlPass692 / 692
line-height-calculation.htmlFail21 / 23NOT IMPLEMENTEDthe image of a data: URL is not available synchronously: the height of the line of an image with borders or paddings is checked before the image has a natural size (the browsers decode it before)
percentage-height-calculation.htmlFail52 / 53TEST BUGthe nested body case (<body><body><div id="test"/></body></body> in XHTML) expects 200px, where the simple case <body><div id="test"/></body> expects 184px: the outer body is the document's body element in both cases (https://html.spec.whatwg.org/multipage/dom.html#the-body-element-2) and the percentage height resolves against the height it gets from the body element fills the html element quirk (184px); every browser fails it (Firefox 184px like the library, Chrome and Safari 168px)
supports.htmlPass6 / 6
table-cell-nowrap-minimum-width-calculation.htmlPass1 / 1
table-cell-width-calculation-applies-to.htmlPass1 / 1
table-cell-width-calculation.htmlFail12 / 15NOT IMPLEMENTEDthe data: images of object, embed and the poster of video are not rendered with their natural size (they are rendered with the default object size)
tables-inherit-color-from-body-quirk-first-body-removed.htmlPass1 / 1
unitless-length/excluded-properties-001.htmlPass55 / 55
unitless-length/excluded-properties-002.htmlFail10 / 11TEST BUGcolumn-span: 1234 is valid: column-span accepts an <integer> in CSS Multicol 2 (https://drafts.csswg.org/css-multicol-2/#column-span), the test expects it to be invalid
unitless-length/excluded-properties-003.htmlPass1 / 1
unitless-length/limited-quirks.htmlPass1,581 / 1,581
unitless-length/no-quirks.htmlPass1,581 / 1,581
unitless-length/quirks.htmlPass1,590 / 1,590

Reftests

TestResultVariantsKindDescription
body-fills-html-quirk-float.htmlPass1 / 1
body-fills-html-quirk-inline.htmlPass1 / 1
body-fills-html-quirk-positioned.htmlPass1 / 1
body-fills-html-quirk-vertical.htmlPass1 / 1
body-fills-html-quirk.htmlPass1 / 1
class-names-across-iframes.htmlPass1 / 1
dd-dl-firefox-001.htmlPass1 / 1
historical/list-item-bullet-size.htmlPass1 / 1
historical/vertical-align-in-quirks.htmlPass1 / 1
html-fills-viewport-quirk-vertical.htmlPass1 / 1
html-fills-viewport-quirk.htmlPass1 / 1
line-height-in-list-item.htmlPass1 / 1
line-height-limited-quirks-mode.htmlPass1 / 1
line-height-preserved-segment-break.htmlFail0 / 1TEST BUGthe test is in quirks mode and its reference (ref-filled-green-100px-square.xht) in standards mode: the green square is rendered as expected (the inline box of the preserved segment break gives its 100px line), but the paragraph that starts the body has no top margin in quirks mode (https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3: "any element with default margins that is the child of a body [...] element and has no substantial previous siblings is expected to have [...] its margin-block-start property [set] to zero"): the whole page is 8px higher than the reference; fails in every browser
line-height-quirks-mode.htmlPass1 / 1
line-height-trailing-collapsable-whitespace.htmlPass1 / 1
percentage-height-quirk-excludes-flex-grid-001.htmlPass1 / 1
percentage-height-quirk-excludes-flex-grid-002.htmlPass1 / 1
percentage-height-quirk-excludes-flex-grid-003.htmlPass1 / 1
percentage-height-quirk-min-height-001.htmlFail0 / 1NOT IMPLEMENTEDthe percentage height calculation quirk only applies to height: a percentage min-height of an element whose containing block has an auto height resolves to 0 instead of against the ancestor with a definite height (whatwg/quirks#95)
percentage-height-quirk-min-height-002.htmlPass1 / 1
percentage-height-quirk-min-height-003.htmlPass1 / 1
percentage-height-quirk-relpos-percent.htmlPass1 / 1
reference/percentage-height-quirk-excludes-flex-grid-002-ref.htmlPass1 / 1
table-cell-width-calculation-abspos.htmlPass1 / 1
tables-inherit-color-from-body-quirk-001.htmlPass1 / 1
tables-inherit-color-from-body-quirk-002.htmlPass1 / 1
tables-inherit-color-from-body-quirk-003.htmlPass1 / 1
tables-inherit-color-from-body-quirk-004.htmlPass1 / 1
tables-inherit-color-from-body-quirk-005.htmlPass1 / 1
tables-inherit-color-from-body-quirk-006.htmlPass1 / 1
tables-inherit-color-from-body-quirk-007.htmlPass1 / 1
text-decoration-doesnt-propagate-into-tables/quirks.htmlPass1 / 1
text-decoration-doesnt-propagate-into-tables/standards.htmlPass1 / 1

Crash tests

TestResultVariantsKindDescription
body-fill-html-quirk-intrinsic-crash.htmlPass1 / 1
crashtests/list-item-whole-line-quirks-crash.htmlPass1 / 1
table-replaced-descendant-percentage-height-crash.htmlPass1 / 1