Platform/Layout/Printing and fragmentation

From MozillaWiki
Jump to: navigation, search

This page provides information about our efforts in 2020 to improve the platform parts of printing and fragmentation in Firefox. Given how closely linked the frondend and platform parts of printing are, this will inevitably involve some frontend work too.


Support for printing in Firefox has historically been poorly maintained, and is currently in a dismal state compared to other browsers. There are two main areas for improvement:

  • Printing UX: Firefox’s printing UI/UX lacks consistency and is complicated and confusing compared to the competition. Print settings are displayed differently across operating systems, different methods of accessing printing lead to different dialogs, and print preview is not displayed by default on macOS.
  • Printing output: There is a significantly-sized backlog of user-reported bugs related to print output (for both printing devices and PDF export). Some of these bugs include cases where printing fails completely, several pages are missing, or the printed layout is just incorrect.

Managing bug lists

The tables of bugs below are managed automatically using the `whiteboard` field in bugzilla.

  • Add "[print2020]" to add a bug to the printing backlog
  • Add "[frag2020]" to add a bug to the fragmentation backlog
  • Add "[print_v{XX}]" to add a bug to the list of printing bugs targetted at Firefox vXX (e.g. "[print_v73]").
  • Add "[frag_v{XX}]" to add a bug to the list of fragmentation bugs targetted at Firefox vXX (e.g. "[frag_v73]").


Merge to beta: 2020-05-04 (start: 2020-04-06; freeze: 2020-04-30; release: 2020-06-02)


Full Query
ID Summary Assigned to Status Resolution
1622935 Support shifting and splitting flex items on single-line column and single-line row flex container Ting-Yu Lin [:TYLin] (UTC-8) ASSIGNED

1 Total; 1 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Full Query
ID Summary Assigned to Status Resolution
1564128 Unable to print CSS animations/transitions and web animations Emily McDonough [:alaskanemily] NEW
1621143 Investigate the proposed structure for WPT printing tests Hiroyuki Ikezoe (:hiro) NEW
1621140 Have printing without print preview create a hidden tab to create the static clone in Jonathan Watt [:jwatt] NEW

3 Total; 3 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Merge to beta: 2020-04-06 (start: 2020-03-09; freeze: 2020-04-02; release: 2020-05-05)


Full Query
ID Summary Assigned to Status Resolution
1621142 Investigate running our fragmentation reftests a second time, this time through the printing codepaths Hiroyuki Ikezoe (:hiro) NEW

1 Total; 1 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Full Query
ID Summary Assigned to Status Resolution
1620289 Have static clones clone the current selection ranges and focused frame Erik Nordin [:nordzilla] ASSIGNED
1569247 Adding new telemetry printing-related probes Jonathan Watt [:jwatt] NEW
1600623 Review and clenaup the printing telemetry Jonathan Watt [:jwatt] NEW
1621136 Write some documentation for printing Jonathan Watt [:jwatt] NEW

4 Total; 4 Open (100%); 0 Resolved (0%); 0 Verified (0%);



Full Query
ID Summary Assigned to Status Resolution
939897 Support shifting / splitting flex items between continuations of a fragmented flex container (flexbox content truncated when printing) Ting-Yu Lin [:TYLin] (UTC-8) ASSIGNED
179135 top:auto blocks with position:absolute misplaced when printing NEW
267029 Absolutely positioned elements all print on first page, and the ones that don't fit aren't shown NEW
376033 Printing a long SVG document only prints first page NEW
1157012 position:fixed element is missing on the first page in Print Preview when styled with downloadable font NEW
1250348 Tall <iframe> elements are truncated at page boundaries (instead of being split across pages, like tall images are) NEW
1318856 when printing a tall image (or SVG graphic), it is truncated rather than split across pages NEW
1344992 Lost printing content if specify the position:absolute and transform style. NEW
1408144 [Layout] Printing CSS grid with non-static height fails NEW
1417615 [Layout] Content truncated when printing a page containing a CSS grid with large row NEW
1468369 abs.pos. element immediately after a forced page break does not render NEW
1479119 Long images cut off after first page when printing NEW
1520749 Fails to print all slides from Remark.js slideshow NEW
1574684 doesn't fully print NEW

14 Total; 14 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Full Query
ID Summary Assigned to Status Resolution
454059 Creating PDF of web page: hyperlinks are lost. NEW
844090 landscape pdfs are printed portrait with pdf.js NEW
851441 [css3-page] implement @page { size: portrait | landscape } NEW
1282045 print pdf with both orientations NEW
1467576 Printing an A4 document on Letter doesn't scale properly NEW
1615908 Consider saving only one set of print settings (instead of per-printer settings) NEW
1622017 vh & vw units are too large (and depend on DPI), in printed / print-previewed documents NEW

7 Total; 7 Open (100%); 0 Resolved (0%); 0 Verified (0%);


See the archive page for the tables tracking work for older versions of Firefox that have now moved to Beta or released (these have been split out into a separate page to avoid slowing down loading of this page with more bugzilla queries than are necessary).