Closed
Bug 1742411
Opened 2 years ago
Closed 2 years ago
Make <img style="content: url"> prefer content to image src.
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
96 Branch
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
Given the CSSWG issue is still unresolved, this should fix compat issues from the blocked bug.
Assignee | ||
Updated•2 years ago
|
Summary: Make <img style="content: url"> work when the image lacks another usable image source. → Make <img style="content: url"> prefer content to image src.
Assignee | ||
Comment 1•2 years ago
|
||
Given the compat reports in bug 1484928, I don't think it's worth
keeping the current behavior.
Our behavior should match other browsers now. Rather than making
content: url() work everywhere even for otherwise-replaced elements,
just special-case this since that's what other browsers seem to do.
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f9582e5a1d29 Prefer content property to img src on image elements. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31718 for changes under testing/web-platform/tests
Comment 4•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox96:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•