[Webkit-unassigned] [Bug 46088] Style update error by autofocus processing in recalcStyle()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 3 11:25:54 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=46088
David Murdoch <musicisair at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |musicisair at yahoo.com
--- Comment #9 from David Murdoch <musicisair at yahoo.com> 2011-02-03 11:25:54 PST ---
Here is another test case for this bug:
http://test.vervestudios.co/test.html
To reproduced the bug in Webkit:
1. Focus your browser's address bar and press enter.
2. Hover over any button to see that its background-color will not change.
3. Try clicking a button. Hm, the style doesn't change.
4. Press F5
5. Now try hovering over a button. Viola! It works. so does clicking it.
So, what triggers this bug?
- An external stylesheet (even if it is empty).
- An input[type=text] (or just <input>) with the [autofocus] attribute
- A button
- Both the text-input and button need to be inside the same containing element (and <body> won't trigger the bug)
Some interesting stuff:
- The buttons' onclick, onmouseover, etc. events are fired even when bug is present.
- If you use javascript to edit a className the styles won't update.
- In certain circumstances, if you hover over an anchor link the bug disappears. I haven't been able to reproduce this in a reduced test-case. (corresponding bug ion webkit's bug-tracker says that the anchor needs a :hover style...I haven't tried it though)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list