Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
updated the values for zoom property
  • Loading branch information
dletorey committed Apr 25, 2024
commit 37cc2cddf59207e7669016ecbde22fada842e2e2
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