W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Sat, 07 Jul 2018 03:43:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-403185814-1530935035-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Saturday, 7 July 2018 03:44:04 UTC