Page MenuHomePhabricator

Track print-related web standards
Open, Needs TriagePublic

Description

The ideal print-to-PDF infrastructure would consist of a HTML-to-PDF service + a bunch of CSS styles. Unfortunately current browsers (which are used internally by pretty much all opensource HTML-to-PDF services) do not implement some of the web standards which are important for a decent PDF experience. Since browser vendors' prioritization is to some extent directed by what web developers are interested in, and there does not seem to be a lot of interest in print styles, it's important to express our interest. It would be also helpful for our internal long-term planning to track the development and implementation of print-related web standards.

The standards that seem most relevant:

(A test page that uses these standards for page & TOC numbers can be found here.)

Less important but nice to have:

Other relevant standards:


Current browser status & plans:

Event Timeline

@Tgr I'm having trouble figuring out what is actionable on this ticket. Can you explain or update the description to describe the work we need to do (Also I assume you think this falls on RI, correct?)

It's more "could do" than "need to do", but the work involved is to follow the relevant web standard conversations, and maybe express our (Wikimedia's) interests and needs.

CSS break-after, break-before and break-inside coming to Chrome after their LayoutNG launches in the coming months.