mirror of
https://github.com/lexmount/moli.git
synced 2026-11-15 08:08:07 +00:00
12 lines
539 B
Rust
12 lines
539 B
Rust
/// Document-wide runtime inputs for one layout demand.
|
|
///
|
|
/// These values are independent of authored CSS and apply to every generated
|
|
/// box, including pseudo elements and anonymous boxes. The renderer supplies
|
|
/// the same target policy when composing embedded documents.
|
|
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
|
|
pub struct LayoutEnvironment {
|
|
/// Removes scrollbar controls and automatic gutters. Authored stable
|
|
/// gutters still reserve space using the CSS scrollbar width.
|
|
pub scrollbars_hidden: bool,
|
|
}
|