fune/layout
Jonathan Watt b0c778ba81 Bug 1833244 p2. Implement sheet orientation switching/rotation for page-orientation. r=AlaskanEmily,dholbert
Where supported (print preview and print-to-PDF), this implements changing the
orientation and/or rotation of print sheets, as appropriate, in response to CSS
`page-orientation`. When supported we:

- in the single page-per-sheet case, rotate the sheet in order to implement
  any `page-orientation` rotation on the sheet. Rotating the sheet is necessary
  so that when we output PDF files the pages visually have the correct
  orientation.

- in the multiple pages-per-sheet case, we already rotate individual pages in
  their grid cell. This commit keeps such pages rotated, as appropriate, but
  augments that behavior by switching the orientation of the sheet (based on
  the first page on the sheet), if necessary, to make best use of the space on
  the sheet. (We can't know what orientation any subsequent pages on the sheet
  will have, so we assume the same orientation as the first one.)

Depends on D179423

Differential Revision: https://phabricator.services.mozilla.com/D179448
2023-08-22 10:57:55 +00:00
..
base Bug 1849130 - clip-path on SVG content should default to using the stroke-box r=emilio 2023-08-20 07:04:23 +00:00
build Bug 1846745 - Remove nsColorNames.h. r=tlouw 2023-08-03 10:52:14 +00:00
docs Bug 1847086 - Document that layout reftests have SpecialPowers access. r=botond 2023-08-15 00:20:54 +00:00
forms Bug 1848409 - Tweak the UpdateDefaultPreventedOnContent call to only special case the HTMLEditorEventListener case r=masayuki,dom-core 2023-08-15 13:46:42 +00:00
generic Bug 1833244 p2. Implement sheet orientation switching/rotation for page-orientation. r=AlaskanEmily,dholbert 2023-08-22 10:57:55 +00:00
inspector Bug 1840872 - Add InspectorUtils.getRegisteredCssHighlights method. r=jjaschke. 2023-08-16 09:56:43 +00:00
ipc
mathml Bug 1847201 - Reorganize and tweak tests for mathml.disabled=true. r=emilio 2023-08-16 09:06:01 +00:00
media
painting Bug 1848714 - Use unsafe methods in hot code paths to access and remove elements from nsTArray when it is guaranteed to be safe, r=emilio 2023-08-15 14:24:19 +00:00
printing Bug 1832733 - Unexpose sizeToContent() in Nightly. r=emilio 2023-07-11 14:39:29 +00:00
reftests Bug 1833244 p2. Implement sheet orientation switching/rotation for page-orientation. r=AlaskanEmily,dholbert 2023-08-22 10:57:55 +00:00
style Bug 1849440: Return 0 instead of 0.0f from a nscoord-returning function. r=emilio 2023-08-19 05:30:56 +00:00
svg Bug 1848851 - Check target element is valid type before notifying r=emilio 2023-08-17 10:06:16 +00:00
tables Bug 1844195 - Avoid duplicating rust and C++ display definitions. r=layout-reviewers,jfkthame 2023-07-26 06:46:32 +00:00
tools Bug 1845540 - Remove -moz-windows-default-theme and -moz-mac-graphite-theme. r=dao,pip-reviewers,mhowell 2023-07-26 18:22:26 +00:00
xul Bug 1847716 - Don't scroll smoothly if smooth scrolling disabled when clicking and holding scrollbar. r=botond 2023-08-10 05:55:58 +00:00
moz.build