Fix problems with WPT test "scaley.html" that prevent it from passing in any browser
Categories
(Core :: Layout, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The WPT test "scaley.html" has a number of problems and fails in all browsers as a result.
It's relatively straightforward to fix it so that it passes & usefully tests what it intends to test, though. Filing this bug on doing that.
| Assignee | ||
Comment 1•5 years ago
|
||
WPT.fyi link for this test:
https://wpt.fyi/results/css/css-transforms/scaley.html?label=master&label=experimental&aligned
| Assignee | ||
Comment 2•5 years ago
|
||
This test never would have passed anywhere, but now it will start passing.
Problems with the test that are fixed here (all of which were keeping this test
from passing):
- The descriptive text on the page was different ("box." vs "area"), between
the testcase and reference case. - The testcase had a margin on this text, for no clear reason.
- The reference case had a border around the scaled-up green div, whereas
the testcase doesn't (making them mismatch by the size of that border).
And while I'm at it, I'm making minor edits...
- making the indentation more consistent.
- switching to the HTML5 standards-mode doctype (since the testcase isn't
doing anything relevant to quirks-mode that would require a legacy doctype). - removing the unused ".hidden" CSS rule from the reference case.
This makes the testcase and reference case more usefully diffable.
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 9•5 years ago
|
||
The amended test passes in all browsers:
https://wpt.fyi/results/css/css-transforms/scaley.html?label=master&label=experimental&aligned
Description
•