Note that the `isEmpty` function at the end of my previous comment is defined here: ``` constexpr bool isEmpty() const { return m_width <= 0 || m_height <= 0; } ``` So it seems like WebKit is explicitly declining to have an SVG image whose intrinsic height or width is zero, even if it's declared as such.
Bug 1935269 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Note that the `isEmpty` function at the end of my previous comment is defined here: https://searchfox.org/wubkat/rev/48c752dce43162935898b93cefa254a21a5e84c5/Source/WebCore/platform/graphics/FloatSize.h#77 ```cpp constexpr bool isEmpty() const { return m_width <= 0 || m_height <= 0; } ``` So it seems like WebKit is explicitly declining to have an SVG image whose intrinsic height or width is zero, even if it's declared as such.