mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Do not use CVAS for the -servo-under-display-none property
This commit is contained in:
parent
d27c5954a1
commit
f2b1c6b7cf
1 changed files with 2 additions and 5 deletions
|
@ -256,17 +256,14 @@ ${helpers.single_keyword("image-rendering",
|
|||
spec="Nonstandard (internal layout use only)">
|
||||
use std::fmt;
|
||||
use style_traits::ToCss;
|
||||
use values::computed::ComputedValueAsSpecified;
|
||||
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf, Deserialize, Serialize))]
|
||||
#[cfg_attr(feature = "servo", derive(Deserialize, HeapSizeOf, Serialize))]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, ToComputedValue)]
|
||||
pub struct SpecifiedValue(pub bool);
|
||||
|
||||
pub mod computed_value {
|
||||
pub type T = super::SpecifiedValue;
|
||||
}
|
||||
impl ComputedValueAsSpecified for SpecifiedValue {}
|
||||
|
||||
pub fn get_initial_value() -> computed_value::T {
|
||||
SpecifiedValue(false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue