Page MenuHomePhabricator

Bug 1565214 - Set the property restrictions flags from the centralized list. r=boris,#style
ClosedPublic

Authored by emilio on Jul 11 2019, 1:26 PM.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emilio created this revision.Jul 11 2019, 1:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2019, 1:26 PM
phab-bot requested review of this revision.Jul 11 2019, 1:26 PM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.
boris accepted this revision.Jul 11 2019, 9:35 PM

r=me with the question addressed. Overall looks good to me.

servo/components/style/properties/longhands/effects.mako.rs
15

Do we intentionally remove CREATES_STACKING_CONTEXT from opacity? It seems opacity needs to create stacking context if its value is less than 1.

This revision is now accepted and ready to land.Jul 11 2019, 9:35 PM
boris removed a reviewer: Restricted Project.Jul 11 2019, 9:35 PM
emilio marked an inline comment as done.Jul 11 2019, 10:54 PM
emilio added inline comments.
servo/components/style/properties/longhands/effects.mako.rs
15

No, this is an oversight, awesome catch. It seems we don't have any test to check whether will-change: opacity creates a stacking context (which is what this flag affects).

emilio updated this revision to Diff 131010.Jul 11 2019, 11:07 PM
emilio marked an inline comment as done.

fixes + rebase

emilio edited the summary of this revision. (Show Details)Jul 11 2019, 11:07 PM