Bug 180237 - Implement overflow media queries
Summary: Implement overflow media queries
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
Keywords: FromImplementor, InRadar
Depends on:
Reported: 2017-11-30 22:10 PST by Florian Rivoal
Modified: 2017-12-04 08:10 PST (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Rivoal 2017-11-30 22:10:32 PST
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:
Comment 1 Florian Rivoal 2017-11-30 22:13:45 PST Comment hidden (obsolete)
Comment 2 Florian Rivoal 2017-11-30 22:14:30 PST Comment hidden (obsolete)
Comment 3 Radar WebKit Bug Importer 2017-12-04 08:10:37 PST