Struct style::values::specified::source_size_list::SourceSizeList
[−]
[src]
pub struct SourceSizeList { /* fields omitted */ }A value for a <source-size-list>:
Methods
impl SourceSizeList[src]
pub fn empty() -> Self[src]
Create an empty SourceSizeList, which can be used as a fall-back.
pub fn evaluate(&self, device: &Device, quirks_mode: QuirksMode) -> Au[src]
Evaluate this
impl SourceSizeList[src]
pub fn parse<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Self[src]
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Self
NOTE(emilio): This doesn't match the grammar in the spec, see:
https://html.spec.whatwg.org/multipage/#parsing-a-sizes-attribute