aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-05-23 16:52:31 -0500
committerGitHub <noreply@github.com>2017-05-23 16:52:31 -0500
commit96d6b30eff3c0449726b3ea49140b13c7dd7f1f8 (patch)
treec7923c4b82b40b1ee995b9e53c4f95fcb912b2ea /components
parent5e58c522723a8d5aa819012cf700df87c9279778 (diff)
parent7518f5155d29fd97abd5f0f8a310dad954495281 (diff)
downloadservo-96d6b30eff3c0449726b3ea49140b13c7dd7f1f8.tar.gz
servo-96d6b30eff3c0449726b3ea49140b13c7dd7f1f8.zip
Auto merge of #16998 - bzbarsky:fix-contain-flags, r=emilio
The 'contain' property can affect whether a box is a fixed-pos containing block This makes will-change:contain work correctly. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16998) <!-- Reviewable:end -->
Diffstat (limited to 'components')
-rw-r--r--components/style/properties/longhand/box.mako.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/style/properties/longhand/box.mako.rs b/components/style/properties/longhand/box.mako.rs
index c0e2709b50a..8b8eedd7451 100644
--- a/components/style/properties/longhand/box.mako.rs
+++ b/components/style/properties/longhand/box.mako.rs
@@ -2219,6 +2219,7 @@ ${helpers.single_keyword("transform-style",
// like `content`(layout style paint) in gecko. We should implement `size` and `content`,
// also update the glue once they are implemented in gecko.
<%helpers:longhand name="contain" animation_value_type="none" products="gecko" need_clone="True"
+ flags="FIXPOS_CB"
spec="https://drafts.csswg.org/css-contain/#contain-property">
use std::fmt;
use style_traits::ToCss;