Closed
Bug 1608470
Opened 5 years ago
Closed 1 year ago
Investigate how to correctly set the viewport units and media queries for Emulation.setDeviceMetricsOverride's
Categories
(Remote Protocol :: CDP, enhancement, P3)
Remote Protocol
CDP
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: whimboo, Unassigned)
References
Details
(In reply to Emilio Cobos Álvarez (:emilio) from bug 1544417 comment #17)
That being said, if per the documentation
inner{Width,Height}
changes, I'd expect viewport units andwidth
/height
media queries and such to change as well. So it is consistent at least.
The patch on bug 1544417 will land the basics to get us going with the viewport emulation. Right now it passes a lot of Puppeteer unit tests, and also seems to behave correctly when interacting with the browser. Nevertheless it would be good to dive into that as follow-up and make the behavior correct for web pages.
Assignee | ||
Updated•4 years ago
|
Component: CDP: Emulation → CDP
Updated•2 years ago
|
Severity: normal → S3
Reporter | ||
Comment 1•1 year ago
|
||
We are not going to fix this API for CDP but we will have it eventually for WebDriver BiDi.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•