Call: 847.544.0118

Email: ksj@twelve8.net

Categories

An apparent Firefox 3.5 bug

September 18, 2009

In my new job I recently discovered what seems to be a bug in Firefox 3.5: when there is a link (or anything else to which an outline could apply, i.e., any element with an :active state or a tabindex) that is floated (i.e. float: left or float: right) inside a container with overflow set to auto, the outline on that link will take up space, contrary to the W3C spec. This means that such a link, if it fills the container in either the X or Y dimension, will cause scrollbars to appear when it is active (tabbed to or pressed).

But there’s a fix: If you apply CSS outline-offset with a negative value, e.g. outline-offset: -2px;, I suspect it still takes up space (in a sense), BUT that space is inside the element’s current boundaries, so no harm done (unless you really needed that outline to conform precisely to the boundaries.

Did you know…?

The Beatles’ “Norwegian Wood (This Bird Has Flown)” was written in the 12/8 time signature

How do I get in touch?

Brighten my day with an email.

Or, if you know that you’re interested in working with twelve8, fill out this project idea sheet and send it to ksj{at}twelve8.net .

Or give me a call. It’s 847.544.0118

You can also download my vCard

© 2009 Kyle Jacobson. All rights reserved | Accessibility statement