[Webkit-unassigned] [Bug 232895] New: [css-values-4] Support `*vi` (inline) and `*vb` (block) viewport units

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 9 11:14:35 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=232895

            Bug ID: 232895
           Summary: [css-values-4] Support `*vi` (inline) and `*vb`
                    (block) viewport units
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
        Depends on: 219287

This is part of css-values-4 <https://drafts.csswg.org/css-values-4/#viewport-variants>.

`*vi` is equal to 1% of the size of the UA-default/large/small/dynamic viewport size in the direction of the root element’s inline axis.

`*vb` is equal to 1% of the size of the initial containing block UA-default/small/large/dynamic viewport size in the direction of the root element’s block axis.

The implementation will likely take the form of looking at the direction of the root element's block/inline axis and using that to grab the corresponding direction from the `v*`/`sv*`/`lv*`/`dv*` unit (the latter three of which were implemented in bug 219287).

As an example, on `about:blank`:
- `vi` would be equal to `vw`
- `svi` would be equal to `svw`
- `lvi` would be equal to `lvw`
- `dvi` would be equal to `dvw`
- `vb` would be equal to `vh`
- `svb` would be equal to `svh`
- `lvb` would be equal to `lvh`
- `dvb` would be equal to `dvh`


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=219287
[Bug 219287] [css-values-4] Support small (sv*), large (lv*) and dynamic (dv*) viewport units
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211109/683cbb9a/attachment.htm>


More information about the webkit-unassigned mailing list