Enable /quirks-mode/ tests

This commit is contained in:
Anthony Ramine 2017-04-24 12:21:04 +02:00
parent 4df7af564a
commit 10fb8e61c7
9 changed files with 1749 additions and 0 deletions

View file

@ -43,6 +43,8 @@ skip: true
skip: true skip: true
[script_scheduling] [script_scheduling]
skip: false skip: false
[quirks-mode]
skip: false
[referrer-policy] [referrer-policy]
skip: false skip: false
[subresource-integrity] [subresource-integrity]

View file

@ -0,0 +1,11 @@
[blocks-ignore-line-height.html]
type: testharness
[The blocks ignore line-height quirk, #ref { display:block }<div id=test><font size=1>x</font></div><font id=ref size=1>x</font><div id=s_ref>x</div>]
expected: FAIL
[The blocks ignore line-height quirk, #ref { display:block }<div id=test><font size=1>x</font><br><font size=1>x</font></div><font id=ref size=1>x<br>x</font><div id=s_ref>x<br>x</div>]
expected: FAIL
[The blocks ignore line-height quirk, #ref { display:block } div, #ref { line-height:2 } span { font-size:50% }<div id=test><span>x</span></div><span id=ref>x</span><div id=s_ref>x</div>]
expected: FAIL

View file

@ -0,0 +1,233 @@
[hashless-hex-color.html]
type: testharness
[123 (quirks)]
expected: FAIL
[023 (quirks)]
expected: FAIL
[003 (quirks)]
expected: FAIL
[000 (quirks)]
expected: FAIL
[abc (quirks)]
expected: FAIL
[ABC (quirks)]
expected: FAIL
[1ab (quirks)]
expected: FAIL
[1AB (quirks)]
expected: FAIL
[112233 (quirks)]
expected: FAIL
[012233 (quirks)]
expected: FAIL
[002233 (quirks)]
expected: FAIL
[000233 (quirks)]
expected: FAIL
[000033 (quirks)]
expected: FAIL
[000003 (quirks)]
expected: FAIL
[000000 (quirks)]
expected: FAIL
[aabbcc (quirks)]
expected: FAIL
[AABBCC (quirks)]
expected: FAIL
[11aabb (quirks)]
expected: FAIL
[11AABB (quirks)]
expected: FAIL
[\\31 23 (quirks)]
expected: FAIL
[\\61 bc (quirks)]
expected: FAIL
[\\41 BC (quirks)]
expected: FAIL
[\\31 ab (quirks)]
expected: FAIL
[\\31 AB (quirks)]
expected: FAIL
[\\31 12233 (quirks)]
expected: FAIL
[\\61 abbcc (quirks)]
expected: FAIL
[\\41 ABBCC (quirks)]
expected: FAIL
[\\31 1aabb (quirks)]
expected: FAIL
[\\31 1AABB (quirks)]
expected: FAIL
[12\\33 (quirks)]
expected: FAIL
[1 (quirks)]
expected: FAIL
[12 (quirks)]
expected: FAIL
[1234 (quirks)]
expected: FAIL
[12345 (quirks)]
expected: FAIL
[1a (quirks)]
expected: FAIL
[1abc (quirks)]
expected: FAIL
[1abcd (quirks)]
expected: FAIL
[+1 (quirks)]
expected: FAIL
[+12 (quirks)]
expected: FAIL
[+123 (quirks)]
expected: FAIL
[+1234 (quirks)]
expected: FAIL
[+12345 (quirks)]
expected: FAIL
[+123456 (quirks)]
expected: FAIL
[+1a (quirks)]
expected: FAIL
[+12a (quirks)]
expected: FAIL
[+123a (quirks)]
expected: FAIL
[+1234a (quirks)]
expected: FAIL
[+12345a (quirks)]
expected: FAIL
[+1A (quirks)]
expected: FAIL
[+12A (quirks)]
expected: FAIL
[+123A (quirks)]
expected: FAIL
[+1234A (quirks)]
expected: FAIL
[+12345A (quirks)]
expected: FAIL
[rgb(calc(100 + 155), 255, 255) (quirks)]
expected: FAIL
[rgb(calc(100 + 155), 255, 255) (almost standards)]
expected: FAIL
[rgb(calc(100 + 155), 255, 255) (standards)]
expected: FAIL
[rgba(calc(100 + 155), 255, 255, 001) (quirks)]
expected: FAIL
[rgba(calc(100 + 155), 255, 255, 001) (almost standards)]
expected: FAIL
[rgba(calc(100 + 155), 255, 255, 001) (standards)]
expected: FAIL
[hsl(calc(050 + 050), 100%, 100%) (quirks)]
expected: FAIL
[hsl(calc(050 + 050), 100%, 100%) (almost standards)]
expected: FAIL
[hsl(calc(050 + 050), 100%, 100%) (standards)]
expected: FAIL
[hsla(calc(050 + 050), 100%, 100%, 001) (quirks)]
expected: FAIL
[hsla(calc(050 + 050), 100%, 100%, 001) (almost standards)]
expected: FAIL
[hsla(calc(050 + 050), 100%, 100%, 001) (standards)]
expected: FAIL
[rgb(calc(/**/100/**/ + /**/155/**/), 255, 255) (quirks)]
expected: FAIL
[rgb(calc(/**/100/**/ + /**/155/**/), 255, 255) (almost standards)]
expected: FAIL
[rgb(calc(/**/100/**/ + /**/155/**/), 255, 255) (standards)]
expected: FAIL
[#123 123 abc 12a (quirks)]
expected: FAIL
[#123 123 abc 12a (almost standards)]
expected: FAIL
[#123 123 abc 12a (standards)]
expected: FAIL
[rgb(119, 255, 255) 123 (quirks)]
expected: FAIL
[rgb(119, 255, 255) 123 (almost standards)]
expected: FAIL
[rgb(119, 255, 255) 123 (standards)]
expected: FAIL
[123 rgb(119, 255, 255) (quirks)]
expected: FAIL
[123 rgb(119, 255, 255) (almost standards)]
expected: FAIL
[123 rgb(119, 255, 255) (standards)]
expected: FAIL

View file

@ -0,0 +1,50 @@
[line-height-calculation.html]
type: testharness
[The line height calculation quirk, <div id=test><img src="{png}"></div><img id=ref src="{png}"><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, <table><tr><td id=test><img src="{png}"><tr><td><img id=ref src="{png}"><tr><td id=s_ref>x</table>]
expected: FAIL
[The line height calculation quirk, <pre id=test><img src="{png}"></pre><img id=ref src="{png}"><pre id=s_ref>x</pre>]
expected: FAIL
[The line height calculation quirk, span { margin:1px }<div id=test><span></span></div><div id=ref></div><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, span { margin:0 1px }<div id=test><span></span></div><div id=ref></div><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, span { margin:0 1px; padding:1px 0 }<div id=test><span></span></div><div id=ref></div><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, span { border-right:1px solid }<div id=test><span></span></div><div id=ref>x</div><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, span { border-left:1px solid }<div id=test><span></span></div><div id=ref>x</div><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, span { padding-right:1px }<div id=test><span></span></div><div id=ref>x</div><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, span { padding-left:1px }<div id=test><span></span></div><div id=ref>x</div><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, span { display:inline-block; height:1px }<div id=test><i><span></span> </i></div><span id=ref></span><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, <div id=test><img src="{png}" border=1></div><img id=ref src="{png}" height=3><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, #test img { padding:1px }<div id=test><img src="{png}"></div><img id=ref src="{png}" height=3><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, iframe { height:1px }<div id=test><iframe></iframe></div><img id=ref src="{png}" height=5><div id=s_ref>x</div>]
expected: FAIL
[The line height calculation quirk, #test::before { content:"" } #test::before, span { border:solid }<div id=test></div><div id=ref><span>x</span></div><div id=s_ref><span>x</span></div>]
expected: FAIL
[The line height calculation quirk, div { line-height: 0;} span { margin:0 1px; line-height: normal; }<div id=test>x<span></span></div><div id=ref>x</div><div id=s_ref>x<span>x</span></div>]
expected: FAIL

View file

@ -0,0 +1,122 @@
[percentage-height-calculation.html]
type: testharness
[The percentage height calculation quirk, #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, #test { height:50% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, #test { height:25% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, #test { height:12.5% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, #test { height:100% }<div><div id=test></div></div>]
expected: FAIL
[The percentage height calculation quirk, <img id=test src="{png}" height=100%>]
expected: FAIL
[The percentage height calculation quirk, <img id=test src="{png}" height=100% border=10>]
expected: FAIL
[The percentage height calculation quirk, <table id=test height=100%><tr><td></table>]
expected: FAIL
[The percentage height calculation quirk, #foo { height:100px } #test { height:100% }<div id=foo><div><div id=test></div></div></div>]
expected: FAIL
[The percentage height calculation quirk, #foo { position:relative } #test { height:100% }<div id=foo><div><div id=test></div></div></div>]
expected: FAIL
[The percentage height calculation quirk, #foo { height:100px } #test { height:100%; position:relative }<div id=foo><div><div id=test></div></div></div>]
expected: FAIL
[The percentage height calculation quirk, html { display:inline } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { margin:10px } body { display:inline } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, body { margin:0 } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, body { margin:0; padding:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, body { margin:0; border:10px solid } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { margin:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { padding:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { border:10px solid } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { height:100%; margin:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { height:100%; padding:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { height:100%; border:10px solid } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, body { height:100%; margin:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, body { height:100%; padding:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, body { height:100%; border:10px solid } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { position:absolute; height:100%; margin:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { position:absolute; height:100%; padding:10px } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html { position:absolute; height:100%; border:10px solid } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, body { margin:99px 0 } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html, body { border:10px none } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, html, body { border:10px hidden } #test { height:100% }<div id=test></div>]
expected: FAIL
[The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></html>]
expected: FAIL
[The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><body/><div id="test"/></html>]
expected: FAIL
[The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><span><body><div id="test"/></body></span></html>]
expected: FAIL
[The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><body><body><div id="test"/></body></body></html>]
expected: FAIL
[The percentage height calculation quirk, <html><head xmlns="{html}"><style>#test { height:100% }</style></head><body xmlns="{html}"><div id="test"/></body></html>]
expected: FAIL
[The percentage height calculation quirk, <div xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></div>]
expected: FAIL
[The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><body xmlns=""><div xmlns="{html}" id="test"/></body></html>]
expected: FAIL
[The percentage height calculation quirk, <HTML xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></HTML>]
expected: FAIL
[The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><BODY><div id="test"/></BODY></html>]
expected: FAIL

View file

@ -0,0 +1,8 @@
[supports.html]
type: testharness
[@supports quirky color]
expected: FAIL
[Sanity check @supports length]
expected: FAIL

View file

@ -0,0 +1,5 @@
[table-cell-nowrap-minimum-width-calculation.html]
type: testharness
[The table cell nowrap minimum width calculation quirk, basic]
expected: FAIL

View file

@ -0,0 +1,26 @@
[table-cell-width-calculation.html]
type: testharness
[The table cell width calculation quirk, basic]
expected: FAIL
[The table cell width calculation quirk, inline-block]
expected: FAIL
[The table cell width calculation quirk, img in span]
expected: FAIL
[The table cell width calculation quirk, the don't-wrap rule is only for the purpose of calculating the width of the cell]
expected: FAIL
[The table cell width calculation quirk, the quirk shouldn't apply for <input>]
expected: FAIL
[The table cell width calculation quirk, non-auto width on cell]
expected: FAIL
[The table cell width calculation quirk, display:table-cell on span]
expected: FAIL
[The table cell width calculation quirk, display:table-cell on span, wbr]
expected: FAIL

File diff suppressed because it is too large Load diff