Skip to content
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

[cssom] Don't serialize a shorthand if there are longhands with other property group / mapping logic in between the longhands of that shorthand. #5655

Merged
merged 3 commits into from
Oct 23, 2020

Conversation

emilio
Copy link
Collaborator

@emilio emilio commented Oct 23, 2020

No description provided.

…S declaration block" algo.

By moving `longhands` into the loop we can also avoid removing from it
dynamically when serializing a given shorthand.
Once you've serialized one shorthand that contains `property`, you can
skip to the declaration loop, as the rest of the iterations of
`shorthand loop` are useless.
… property group / mapping logic in between the longhands of that shorthand.

Per #3030.
@fantasai fantasai merged commit dc37a3f into master Oct 23, 2020
@fantasai fantasai deleted the issue/3030 branch October 23, 2020 18:26
@syncbot syncbot restored the issue/3030 branch October 28, 2020 17:28
@plinss plinss deleted the issue/3030 branch October 28, 2020 17:30
@syncbot syncbot restored the issue/3030 branch October 28, 2020 18:02
@plinss plinss deleted the issue/3030 branch October 28, 2020 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants