W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 11343] Browsers allow *any* element to match :active between a mousedown on it and the subsequent mouseup. The definition of :active should change to match this behavior.

From: <bugzilla@jessica.w3.org>
Date: Fri, 19 Nov 2010 02:22:45 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PJGcf-0006CZ-Qs@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11343

--- Comment #1 from Tab Atkins Jr. <jackalmage@gmail.com> 2010-11-19 02:22:45 UTC ---
Test case illustrating the behavior:

data:text/html,<!doctype html><style>*:active { color: red;
}</style><div>foo<br>bar</div>

The <div> is not on the list of explicit elements with special :active
behavior, nor is it "specially focusable", but it will still turn red when you
click on it.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 19 November 2010 02:22:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 19 November 2010 02:22:48 GMT