Re: [csswg-drafts] [css-ui][css-background] should clarify outline drawing behavior for boxes with negative sizes

Right. At the moment, large negative offsets on outline are mostly a form of interpretative art, with the browser, not the author, doing the interpretation. As the picture from the tweet illustrate, it can be very pretty and highly creative, but interoperable it isn't.

The CSS-UI has some minimal "SHOULD" constraints to try and keep it vaguely sane (roughly, to prevent disappearing outlines with extremely large negative offsets), but even that isn't reliably followed yet. We have a test in the test suite that's almost as creative in rendering as that tweet:

http://test.csswg.org/suites/css-ui-3_dev/nightly-unstable/html/outline-016.htm

It should be a green square, but 
![screenshot 2018-07-07 12 42 49](https://user-images.githubusercontent.com/113268/42406470-593d890e-81e3-11e8-91b7-bc5a698a1864.png)




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

Received on Saturday, 7 July 2018 03:44:00 UTC