Editorial fixups to WPT client-props-zoom.html
Categories
(Core :: DOM: CSS Object Model, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(2 files, 1 obsolete file)
When looking at bug 1874871, I noticed that the WPT in question (client-props-zoom.html) has a handful of cosmetic/correctness issues. See screenshot of test rendering (left) and source (right).
Cosmetic issues:
- Test rendering starts with a random
"
(from the end of line 5) - test results are all highly-wrapped/overlapped making them unreadable
- test results are black text on dark blue background making them unreadable
Assignee | ||
Comment 1•1 year ago
|
||
This patch doesn't change the behavior (or pass/fail status) of the test at
all; it's just fixing some issues in the test that trigger parser errors and/or
make the test results hard to read.
Overview of the fixes:
- Removing a stray quote character (near the start) and a stray comma (in the
middle of an element's attribute list). - Wrapping the test content in an element that we can use to scope the rules,
so that we don't end up with a generic 'div' css selector that inadvertently
targets the test-results divs that the harness appends to the page. - Removing the 'head' element since it's unnecessary and was being opened later
than appropriate (after head content had already begun). - Changing a background color from blue to cyan so that black text remains
readable. - Adding a newline at the end of the file.
Updated•1 year ago
|
Comment 4•1 year ago
|
||
bugherder |
Assignee | ||
Comment 5•1 year ago
|
||
This patch doesn't change the behavior (or pass/fail status) of the test at
all; it's just fixing some issues in the test that trigger parser errors and/or
make the test results hard to read.
(This is very similar to the patch that I landed earlier in
https://bugzilla.mozilla.org/show_bug.cgi?id=1874986 ; this one's just for
a different test that had similar issues.)
Specific fixes here:
- Removing the 'head' element since it's unnecessary and was being opened later
than appropriate (after head content had already begun). - Wrapping the test content in an element that we can use to scope the rules,
so that we don't end up with a generic 'div' css selector that inadvertently
targets the test-results divs that the harness appends to the page. - Remove a stray backtick at the end of the file, and add a final newline.
- Indentation changes to remove unnecessary indentation and to accommodate the
newly-added "test_content" wrapper div.
Comment 6•1 year ago
|
||
Comment on attachment 9373414 [details]
Bug 1874986: Fixups for nits/cosmetic issues in WPT getClientRects-zoom.html. r?TYLin
Revision D198906 was moved to bug 1875189. Setting attachment 9373414 [details] to obsolete.
Description
•