[csswg-drafts] [css-ui] Outline rects of an inline (#6981)

emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui] Outline rects of an inline ==
Context:

 * Gecko used to include overflow areas in outlines, but we had to change to not do that in https://bugzilla.mozilla.org/show_bug.cgi?id=1739894, because some pages use `text-indent: -9999px` or so to hide text on some controls.
 * Blink apparently special-cases inline boxes to include some amount of overflowing content. We got a report about this in https://bugzilla.mozilla.org/show_bug.cgi?id=1751574
 * WebKit behaves like Gecko, and Blink's behavior is somewhat strange (see some of the test-cases in that bug).

So given that browsers are agreeing now to draw the outline around the border area, not including descendants, except for this Blink special-case, can we spec outline rects finally?

I think I'd prefer agreeing on the Gecko + WebKit behavior, since it's consistent with borders and outlines on all other boxes.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6981 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 24 January 2022 10:53:54 UTC