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

Re: [csswg-drafts] [css-overflow] Selective overflow: hidden (#3417)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Dec 2018 23:41:42 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-446017089-1544485301-sysbot+gh@w3.org>
Nope! Hasn't been discussed before. Afaict tooltips are not clipped by `overflow: hidden`, but it seems like focus outlines are. [See testcase](http://software.hixie.ch/utilities/js/live-dom-viewer/?<!DOCTYPE%20html>%0A<div%20style%3D"border%3A%20solid%20gray%3B%20width%3A%201em%3B%20height%3A%200.5em%3B%20overflow%3A%20hidden"><a%20href%3D""><abbr%20title%3D"abbreviation">abbr<%2Fabbr><%2Fa><%2Fdiv>).

Afaict the CSS specs explicitly allow focus outlines to be painted over everything else in https://www.w3.org/TR/CSS2/zindex.html#outlines but it probably looks weird to draw an outline around something that's invisible. Do you have some examples of where this is a problem for you?

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3417#issuecomment-446017089 using your GitHub account
Received on Monday, 10 December 2018 23:41:43 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:40 UTC