Block/InlineSize::IsLayoutDependent() should consider SVG
The function decides whether we should update layout for getComputedStyle().getPropertyValue("block/inline-size") on an element, and it incorrectly returns false on SVG elements. This patch fixes it. Note: This patch makes the function identical to Width/Height::IsLayoutDependent(). Bug: 1115887 Change-Id: Ieb628e2e81ce02d95ac8a41a04b3aaa96d532829 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354625 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#798369}
Showing
Please register or sign in to comment