Re: [csswg-drafts] [cssom] Don't use "applies to" to define getComputedStyle behavior (#3678)

> In WebKit / Blink the check is "The element has a layout box, and `IsBox()` returns true for that".

It means, for non-SVG, the element is not text nor an inline box (e.g., span). Atomic inlines (replaced elements and inline block) are `IsBox()` true, so that might be one difference.

For SVG, I'm not an expert, but generally using `IsBox()` for SVG objects is not recommended because it often returns unexpected values. For instance, it is false for `SVGContainer` but true for `SVGText`.

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3678#issuecomment-491638148 using your GitHub account

Received on Sunday, 12 May 2019 23:28:37 UTC