Re: [csswg-drafts] Is there a CSS box for text node content? (#4197)

For a given set of text nodes, we want to express the smallest rect that contains the space occupied by those nodes within the viewport. We don't key off of elements because elements can contain more than just text and hence it seems to me that any rects from elements will be larger than what we want. Perhaps this is a wrong assumption...

The set of text nodes that are grouped together is determined by looking at the containing block: https://wicg.github.io/element-timing/#sec-modifications-CSS. That seems hand-wavy too.

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

Received on Monday, 20 April 2020 14:31:37 UTC