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

[css-spec-viewport-1] updated the values for zoom property #10270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion css-viewport/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ Note: 'zoom' does not affect or prevent 'transform' scaling.

<pre class="propdef">
Name: zoom
Value: <<number [0,∞]>> || <<percentage [0,∞]>>
Value: normal | reset | <<number [0,∞]>> || <<percentage [0,∞]>>
Initial: 1
Applies to: all <<length>> property values of all elements
Inherited: no
Expand All @@ -411,6 +411,14 @@ Note: 'zoom' does not affect or prevent 'transform' scaling.
The values of this property have the following meanings:

<dl dfn-for="zoom" dfn-type=value>
<dt><dfn>normal</dfn>
<dd>
Render this element at its normal size.

<dt><dfn>reset</dfn>
<dd>
Do not (de)magnify this element if the user applies non-pinch-based zooming (e.g. by pressing <kbd>Ctrl</kbd> \- <kbd>-</kbd> or <kbd>Ctrl</kbd> \+ <kbd>+</kbd> keyboard shortcuts) to the document. Do not use this value, use the standard unset value instead.

<dt><dfn><<number>></dfn>
<dd>
Positive floating point number indicating a zoom factor.
Expand Down