[Webkit-unassigned] [Bug 250685] Safari does not respect width media query for printed media
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 16 15:43:18 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250685
Karl Dubost <karlcow at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |BrowserCompat
CC| |karlcow at apple.com
--- Comment #1 from Karl Dubost <karlcow at apple.com> ---
In https://www.w3.org/TR/mediaqueries-3/#width
> For paged media, this is the width of the page box (as described by CSS2, section 13.2 [CSS21]).
-> https://www.w3.org/TR/CSS22/page.html
There is also orientation and I do not have the feeling this is working either.
```
@media print and (orientation: landscape) {
.box2 {
border-color: #f00;
}
}
```
In https://w3c.github.io/csswg-drafts/mediaqueries/#orientation
and this
```
@media print and (min-width: 21.1cm) {
@page {
size: A4 landscape;
}
.box2 {
border-color: #f00;
}
}
```
it has an effect but not on changing the orientation in the print menu.
I wonder if the Print menu of the OS communicates back the change of layout to WebKit.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230116/f01719d7/attachment.htm>
More information about the webkit-unassigned
mailing list