Closed
Bug 1691275
Opened 4 years ago
Closed 4 years ago
CSS image-set() requests a wrong image resource
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: nayinain, Unassigned)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
Steps to reproduce:
- Set
layout.css.devPixelsPerPx
to1.15
in theabout:config
. - Open the
testcase.html
. - Open the
Network Monitor (Ctrl+shift+E)
. - Reload the page.
Actual results:
"logo@2x.png" was requested.
Expected results:
"logo.png" should be requested.
Comment 2•4 years ago
|
||
That's the expected behavior with 1.15dppx. It's the same behavior as:
<!doctype html>
<img srcset="https://pannss.bdstatic.com/m-static/disk-header/header/img/logo.png 1x, https://pannss.bdstatic.com/m-static/disk-header/header/img/logo@2x.png 2x">
So unless I'm misunderstanding something this is invalid. But please feel free to reopen if that's wrong somehow.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•