Closed
Bug 1964818
Opened 8 months ago
Closed 8 months ago
Add a WPT to test img.naturalWidth and naturalHeight edge cases when width and/or height are missing
Categories
(Core :: Layout: Images, Video, and HTML Frames, task)
Core
Layout: Images, Video, and HTML Frames
Tracking
()
RESOLVED
FIXED
140 Branch
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Filing this bug on adding a WPT to test the edge cases that I'll be fixing in bug 1964813 and bug 1935269.
I'll add the WPT test first, with failures annotated, and then the patches will remove the annotations for the test-failures that they fix.
| Assignee | ||
Comment 1•8 months ago
|
||
This test is written to expect Chromium 137's behavior, since that appears to
be web-compatible and is reasonably straightforward to implement.
See also spec issue https://github.com/whatwg/html/issues/11287 which is about
standardizing this behavior. (That open issue is why this test is marked as
.tentative.)
Updated•8 months ago
|
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fcf35cb54b2c
Add a tentative WPT to test edge cases where naturalWidth and/or naturalHeight depend on a missing attribute and need to fall back. r=layout-reviewers,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/52401 for changes under testing/web-platform/tests
Comment 4•8 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Upstream PR merged by moz-wptsync-bot
Updated•7 months ago
|
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in
before you can comment on or make changes to this bug.
Description
•