/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! Computed @page at-rule properties and named-page style properties
/// Computed value of the @page size descriptor /// /// The spec says that the computed value should be the same as the specified /// value but with all absolute units, but it's not currently possibly observe /// the computed value of page-size. #[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq, ToCss, ToResolvedValue, ToShmem, ToTyped)] #[repr(C, u8)] #[typed(todo_derive_fields)] pubenum PageSize { /// Specified size, paper size, or paper size and orientation.
Size(Size2D<NonNegativeLength>), /// `landscape` or `portrait` value, no specified size.
Orientation(PageSizeOrientation), /// `auto` value
Auto,
}
impl ToComputedValue for specified::PageSize { type ComputedValue = PageSize;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.