[Webkit-unassigned] [Bug 180237] New: Implement overflow media queries
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 30 22:10:32 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=180237
Bug ID: 180237
Summary: Implement overflow media queries
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Keywords: FromImplementor
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: florian at rivoal.net
The overflow-block and overflow-inline media queries from Media queries level 4 let people tell apart media that paginate vs media that scroll or media that clip using media features instead of media types.
That way, you can do
@media (overflow-block: paged) {
/* do something smart for pagination */
}
and that will do the right thing when printing AND in ebook readers that paginate instead of scrolling, instead of
@media print {
/* do something smart for pagination */
}
which would work on print but fail in ebook readers.
The specification is over here:
https://drafts.csswg.org/mediaqueries-4/#mf-overflow-block
https://drafts.csswg.org/mediaqueries-4/#mf-overflow-inline
--
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/20171201/6e92870c/attachment.html>
More information about the webkit-unassigned
mailing list