[webkit-reviews] review granted: [Bug 232895] [css-values-4] Support `*vi` (inline) and `*vb` (block) viewport units : [Attachment 444446] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 30 14:15:49 PST 2021

Simon Fraser (smfr) <simon.fraser at apple.com> has granted Devin Rousso
<drousso at apple.com>'s request for review:
Bug 232895: [css-values-4] Support `*vi` (inline) and `*vb` (block) viewport

Attachment 444446: Patch


--- Comment #9 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 444446
  --> https://bugs.webkit.org/attachment.cgi?id=444446

View in context: https://bugs.webkit.org/attachment.cgi?id=444446&action=review

> Source/WebCore/css/CSSPrimitiveValue.cpp:695
> +    const auto* rootElement = renderView.document().documentElement();
> +    if (!rootElement)
> +	   return 0;

This makes me think we should test these units in an SVG document (i.e. main
document is SVG).

> Tools/ChangeLog:3
> +	   [css-values-4] Support `*vi` (inline) and `*vb` (block) viewport

Can we write some WPT?

More information about the webkit-reviews mailing list