mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Do not use CVAS for the -moz-force-broken-image-icon property
This commit is contained in:
parent
4f36b30e34
commit
b16c2572a9
1 changed files with 1 additions and 5 deletions
|
@ -49,12 +49,10 @@ ${helpers.single_keyword("-moz-window-shadow", "none default menu tooltip sheet"
|
|||
spec="None (Nonstandard Firefox-only property)">
|
||||
use std::fmt;
|
||||
use style_traits::ToCss;
|
||||
use values::computed::ComputedValueAsSpecified;
|
||||
|
||||
|
||||
pub mod computed_value {
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, ToComputedValue)]
|
||||
pub struct T(pub bool);
|
||||
}
|
||||
|
||||
|
@ -76,8 +74,6 @@ ${helpers.single_keyword("-moz-window-shadow", "none default menu tooltip sheet"
|
|||
computed_value::T(false)
|
||||
}
|
||||
|
||||
impl ComputedValueAsSpecified for SpecifiedValue {}
|
||||
|
||||
pub fn parse<'i, 't>(_context: &ParserContext, input: &mut Parser<'i, 't>)
|
||||
-> Result<SpecifiedValue, ParseError<'i>> {
|
||||
match input.expect_integer()? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue