diff options
author | Shing Lyu <shing.lyu@gmail.com> | 2016-06-22 16:44:04 +0800 |
---|---|---|
committer | Shing Lyu <shing.lyu@gmail.com> | 2016-07-18 11:01:42 +0800 |
commit | f754cacbd53c47c63639e1d1226812427ef1eaad (patch) | |
tree | 4572aa2e175f5f081537e4022c9500583b6560c6 /components/script/dom/node.rs | |
parent | e7a55ae55ee0091095b8a460b3088440f352dd2e (diff) | |
download | servo-f754cacbd53c47c63639e1d1226812427ef1eaad.tar.gz servo-f754cacbd53c47c63639e1d1226812427ef1eaad.zip |
Only restyle viewport-relative nodes on viewport size change
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 5cb2ac540c4..37495be3ba3 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -159,7 +159,9 @@ bitflags! { const SEQUENTIALLY_FOCUSABLE = 0x20, /// Whether any ancestor is a fragmentation container - const CAN_BE_FRAGMENTED = 0x40 + const CAN_BE_FRAGMENTED = 0x40, + #[doc = "Specifies whether this node needs to be dirted when viewport size changed."] + const DIRTY_ON_VIEWPORT_SIZE_CHANGE = 0x80 } } |