-
Notifications
You must be signed in to change notification settings - Fork 192
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
feat(css): Update synatx for css zoom
property
#901
base: main
Are you sure you want to change the base?
Conversation
@@ -10832,18 +10832,18 @@ | |||
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/z-index" | |||
}, | |||
"zoom": { | |||
"syntax": "normal | reset | <number> | <percentage>", | |||
"syntax": "normal | reset | <number [0,∞]> || <percentage [0,∞]>", |
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.
the syntax for the spec is <number [0,∞]> || <percentage [0,∞]>
, while the non-standard normal
keyword is supported in chrome, firefox and safari per manually test; the non-standard reset
keyword is supported in safari per bcd and manually test
notice since double bar has precedence over the single bar, normal | reset | <number [0,∞]> || <percentage [0,∞]> is equal to normal | reset | [ <number [0,∞]> || <percentage [0,∞]> ]
see also mdn/content#37705
"groups": [ | ||
"Microsoft Extensions" | ||
], | ||
"initial": "normal", | ||
"initial": "1", | ||
"appliesto": "allElements", |
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.
while spec says it as all property values of all elements, this should just be all elements
the target for appliesto should should be elements per its defnition
Description
see comments below
see https://drafts.csswg.org/css-viewport/#propdef-zoom for spec
Motivation
Additional details
Related issues and pull requests