Re: [fxtf-drafts] can SVG container elements establish containing block for absolute/fixed positioned elements?

<foreignObject> is treated as a containing block for all descendants in Chromium. It's also a stacking
context, as of Chromium 67.

The SVG2 spec says, at least indirectly, that <foreignObject> is both a stacking context and containing block. This sentence in particular:

"Since the ‘foreignObject’ element creates a "fixed position containing block" in CSS terms..."

Therefore it's web compatible, as far as it concerns Chromium, to define SVG container elements
as establishing a containing block for all descendants.

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/307#issuecomment-411250657 using your GitHub account

Received on Wednesday, 8 August 2018 01:05:45 UTC