зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1440238 [wpt PR 9628] - Make percentage height calculation quirk tests match implementations, a=testonly
Automatic update from web-platform-testsMake percentage height calculation quirk tests match implementations These tests are all failing in the same way in Chrome, Edge, Firefox and Safari: https://wpt.fyi/quirks/percentage-height-calculation.html They came up when looking at tests that have been failing for a very long time: https://docs.google.com/document/d/1kFYTqUMEbo9p87i6wAzORoicMWgHsuYwL2CgtvdhDaE/edit?usp=sharing -- wpt-commits: f0b7c11338884f4853bda243841ba0e04916c19f wpt-pr: 9628
This commit is contained in:
Родитель
3c7a571249
Коммит
bfccda8cd9
|
@ -604402,7 +604402,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"quirks/percentage-height-calculation.html": [
|
||||
"de9964d89f79db9a85df6bf65b5bc039aa244380",
|
||||
"a81a06f7183fbc033e793b03e811e4669e15cb24",
|
||||
"testharness"
|
||||
],
|
||||
"quirks/supports.html": [
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
{style:'#foo { height:100px } #test { height:calc(100% + 1px) }', body:'<div id=foo><div id=test></div></div>', q:101, s:101},
|
||||
{style:'#foo { height:100px } #test { height:5px; height:calc(100% + 1px) }', body:'<div id=foo><div><div id=test></div></div></div>', q:0, s:0},
|
||||
{style:'html { display:inline } #test { height:100% }', body:'<div id=test></div>', q:184, s:0}, // display:inline on root has no effect
|
||||
{style:'html { margin:10px } body { display:inline } #test { height:100% }', body:'<div id=test></div>', q:200, s:0},
|
||||
{style:'html { margin:10px } body { display:inline } #test { height:100% }', body:'<div id=test></div>', q:180, s:0},
|
||||
{style:'body { margin:0 } #test { height:100% }', body:'<div id=test></div>', q:200, s:0},
|
||||
{style:'body { margin:0; padding:10px } #test { height:100% }', body:'<div id=test></div>', q:180, s:0},
|
||||
{style:'body { margin:0; border:10px solid } #test { height:100% }', body:'<div id=test></div>', q:180, s:0},
|
||||
|
@ -118,10 +118,10 @@
|
|||
{input:'<html xmlns="{html}"><head><style>#test { height:100% }</style></head><body/><div id="test"/></html>', q:200, s:0},
|
||||
{input:'<html xmlns="{html}"><head><style>#test { height:100% }</style></head><span><body><div id="test"/></body></span></html>', q:200, s:0},
|
||||
{input:'<html xmlns="{html}"><head><style>#test { height:100% }</style></head><body><body><div id="test"/></body></body></html>', q:200, s:0},
|
||||
{input:'<html><head xmlns="{html}"><style>#test { height:100% }</style></head><body xmlns="{html}"><div id="test"/></body></html>', q:200, s:0},
|
||||
{input:'<div xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></div>', q:200, s:0},
|
||||
{input:'<html><head xmlns="{html}"><style>#test { height:100% }</style></head><body xmlns="{html}"><div id="test"/></body></html>', q:184, s:0},
|
||||
{input:'<div xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></div>', q:184, s:0},
|
||||
{input:'<html xmlns="{html}"><head><style>#test { height:100% }</style></head><body xmlns=""><div xmlns="{html}" id="test"/></body></html>', q:200, s:0},
|
||||
{input:'<HTML xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></HTML>', q:200, s:0},
|
||||
{input:'<HTML xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></HTML>', q:184, s:0},
|
||||
{input:'<html xmlns="{html}"><head><style>#test { height:100% }</style></head><BODY><div id="test"/></BODY></html>', q:200, s:0},
|
||||
];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче