[CSS] Treat viewport-relative units as computationally independent
According to spec (*): "A property value is computationally independent if it can be converted into a computed value using only the value of the property on the element, and 'global' information that cannot be changed by CSS." Therefore, viewport-relative length units should be treated as computationally independent. This patch fixes the implementation to comply to that. (*) https://drafts.css-houdini.org/css-properties-values-api-1/#computationally-independent Change-Id: Ib75a1981aa4083ee68cef8ba0bbc58d557cd663c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1710090Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#679183}
Showing
Please register or sign in to comment