Re: [csswg-drafts] [css-contain] Clarify spec text about contain:layout so that its ink-overflow effect on a scrollable element is clearer

> Ah, we intended that statement ("must be treated as ink overflow") to refer to contents that actually spilled out of the element, aka overflow:visible.
> [...]
> If the containing element is scrollable, it already traps the geometry of its contents, so nothing needs to be done.
> Hm, have to think on how to rephrase.

How about simply:

> If the computed value of the `overflow` property is either `visible` or `clip` or a combination thereof, any overflow must be treated as ink overflow.

Then we need to adjust the tests mentioned by @TalbotG to make the overflowing element an `overflow:visible` descendant of the element with `overflow: scroll` or `overflow: auto` instead of being the same element, but otherwise the tests remain valid.

GitHub Notification of comment by frivoal
Please view or discuss this issue at using your GitHub account

Received on Monday, 20 August 2018 10:45:55 UTC