W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css3-ui] what to do if outline-offset is sufficiently negative (issue 38)

From: Florian Rivoal <florian@rivoal.net>
Date: Mon, 24 Nov 2014 22:51:58 +0100
Cc: Tantek Çelik <tantek@cs.stanford.edu>, Kang-Hao Lu <kennyluck@csail.mit.edu>, "Tab Atkins Jr." <jackalmage@gmail.com>
Message-Id: <14BAF7A7-512C-4516-B7E4-E7F06B93E4C7@rivoal.net>
To: www-style list <www-style@w3.org>

> On 24 Nov 2014, at 21:59, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>  It's also an easy thing to spec, because it's
> simply floored at the smaller of (half width) and (half height).

It is fairly simple, but it is only that simple for some implementations of outline (like Chrome’s).

For instance, in FF, if something overflows the box, a rectangular outline will encompass the both the box and the overflowing content.
in IE and presto, it won’t even me rectangular anymore. This illustrates the differences: http://jsfiddle.net/h2op8ao4/

Either way, this approach is still simpler.
Received on Monday, 24 November 2014 21:52:22 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:45 UTC