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

Currently, Element Timing computes an `intersectionRect` by looking at 'border box' of text nodes[1], but that's not a thing so we need to change the description. Is there a CSS box describing the amount of space occupied by a text node?

The suggestions above were:

- Use content area of the text run. It seems reasonable, albeit not really well defined anywhere.

- Skip text altogether and instead use the root inline box of the block container. This could be much larger than what we want if there's content besides text in the container.

[1] https://wicg.github.io/element-timing/#sec-report-text

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

Received on Friday, 24 January 2020 14:56:00 UTC