-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable will-change property for servo #128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but this will need a Servo PR with the implementation before landing.
ebb7844
to
ee822d4
Compare
I added a function, I am also referring to https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context to check the list of properties whose non-initial value would create a stacking context. |
I am almost done. I have one question before Servo PR tho: stylo/style/values/specified/box.rs Lines 1023 to 1034 in 8c57436
I tried to enable it for servo. But would instead get errors like:
Do you think I should enable these? If so, how? |
ee822d4
to
9422fe9
Compare
You can enable these properties with Or merge both Or copy the gecko definition for servo, just removing the properties that are disabled. Maybe the 1st option is better because otherwise we may forget to update |
9422fe9
to
ef66cdc
Compare
I merged with latest |
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
ef66cdc
to
e1b5391
Compare
Needed for servo/servo#35470
Servo PR: servo/servo#35787
cc @xiaochengh