Closed Bug 1700416 Opened 4 years ago Closed 4 years ago

Fix problems with WPT test "scaley.html" that prevent it from passing in any browser

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
89 Branch
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.

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.

Attachment #9211069 - Attachment description: WIP: Bug 1700416: Fix problems with WPT test "scaley.html" that were preventing it from passing in any browser. → Bug 1700416: Fix problems with WPT test "scaley.html" that were preventing it from passing in any browser. r?TYLin
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bdf6fd937572 Fix problems with WPT test "scaley.html" that were preventing it from passing in any browser. r=TYLin
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/28221 for changes under testing/web-platform/tests
Blocks: compat2021
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Upstream PR was closed without merging
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: