Manuel Rego Casasnovas <
re...@igalia.com> writes:
> On 25/03/2020 08:42, Morten Stenshorne wrote:
>> Summary
>> Support the 'page' CSS property [1], along with named pages
>> support (@page foobar {} selector). Also support the 'page-orientation'
>> descriptor [2] for @page, with values 'upright' (initial value),
>> 'rotate-left', or 'rotate-right'. [1]
>
> These look like 2 separated features (I'm fine with just a single
> intent-to-prototype anyway), but is there a clear relationship between
> "page" property and the "page-orientation" descriptor? Or are they
> independent features?
Yes, they are 2 separate features, but closely related. The goal here is
to give individual pages in a document different orientation. In order
to do that, we need a way to specify orientation, and a way to separate
the content we want rotated (into designated pages). The two features
may be used separately. Named pages can be used for many things (since
there are many @page descriptors). Page orientation, on the other hand,
isn't very useful without named pages (unless you want to give all pages
the same orientation).
Thank you for this information! That would be the ideal way to do it. In
the meantime, all we have is Chromium-internal test support for printing
(internal web tests and unit tests).
--
Morten Stenshorne, Software developer,
Blink/Layout, Google, Oslo, Norway