New issue
Advanced search Search tips
Starred by 3 users
Status: Available
Owner: ----
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Sign in to add a comment
An element with :focus { display: none} behaves differently on Chrome
Project Member Reported by, May 25 2015 Back to list
Version: ToT
OS: Any

What steps will reproduce the problem?
1. open,css,output
2. click any of "HOGE1", "HOGE2", "HOGE3" in the output

On Chrome, the element disappears once but loses focus and reappears
because the :focus style rule is no longer applicable after blur.

On Firefox 37.0.1(Linux)/Safari 8.0.5(OSX10.10)/IE11(Win8.1),
clicked element disappears and does not reappear.

Related bugs:  issue 178146 ,  issue 340455 ,  issue 439484 , and  issue 482830 .

It seems Chrome is conforming to the spec
but other browsers behave differently.

To make the behavior interoperable, fix the spec to match other browsers
and fix Blink, or wait for other browsers to catch up the spec.

Comment 1 by, Jul 23 2015
Labels: -Cr-Blink Cr-Blink-Focus
Status: Assigned
Comment 2 by, Feb 25 2016
Labels: Hotlist-Interop
Comment 3 by, Apr 7 2017
Comment 4 by, Apr 10 2017
Taking a look to other browsers bugtrackers:
* Firefox:
* WebKit:
* Edge:

It seems only Chrome is the one behaving like this.
Components: Blink>HTML>Focus
Components: -Blink>Focus
Owner: ----
bulk edit to remove owner=me where I'm not actively looking at.
Status: Available
mark it available.
Sign in to add a comment