RESOLVED FIXED 9388
REGRESSION: outlines don't get erased when removed in some cases
https://bugs.webkit.org/show_bug.cgi?id=9388
Summary REGRESSION: outlines don't get erased when removed in some cases
Hanspeter Schaub
Reported 2006-06-10 06:25:03 PDT
I use the outline: feature a lot in my web pages, and found last week that the outline appears to stick to the page (doesn't disappear as the mouse moves away) in some cases. This is not a general behavior. I have been able to create a reduced test web page which shows this happening. What is peculiar is that to trigger this error, the a:hover {text-shadow xxxx} command must be added. If this command is not present, then the test page behaves as you expect With this text-shadow command present, the outlines stick to the page once the mouse activates them.
Attachments
Test HTML page showing how the outline is not removed after the mouse-over event. (715 bytes, text/html)
2006-06-10 06:26 PDT, Hanspeter Schaub
no flags
A test case that fails in shipping WebKit as well (697 bytes, text/html)
2006-06-10 09:58 PDT, mitz
no flags
Always epaint with the old style if the outline is shrinking (32.93 KB, patch)
2006-06-25 14:09 PDT, mitz
darin: review+
Hanspeter Schaub
Comment 1 2006-06-10 06:26:10 PDT
Created attachment 8796 [details] Test HTML page showing how the outline is not removed after the mouse-over event.
mitz
Comment 2 2006-06-10 09:58:46 PDT
Created attachment 8798 [details] A test case that fails in shipping WebKit as well This bug occurs when a layout style change happens along with the outline becoming narrower. repaintObjectsBeforeLayout doesn't know about the old outline. The "regression" part of this bug is due to text-shadow changes becoming layout changes (in order to fix bug 8352).
Hanspeter Schaub
Comment 3 2006-06-10 10:17:40 PDT
This issues doesn't appear in the 10.4.6 version of Safari? I've only seen this outline sticking happening with recent nightly builds of safari.
mitz
Comment 4 2006-06-10 10:34:31 PDT
(In reply to comment #3) > I've only seen this outline sticking happening with recent nightly builds of safari. Try attachment 8798 [details] in the version that ships with 10.4.6.
Hanspeter Schaub
Comment 5 2006-06-10 10:45:08 PDT
(In reply to comment #4) > Try attachment 8798 [details] [edit] in the version that ships with 10.4.6. You're correct. This attachment does show the same issue in 10.4.6 Safari version.
mitz
Comment 6 2006-06-25 14:09:47 PDT
Created attachment 9020 [details] Always epaint with the old style if the outline is shrinking
Darin Adler
Comment 7 2006-06-25 15:19:10 PDT
Comment on attachment 9020 [details] Always epaint with the old style if the outline is shrinking r=me
David Kilzer (:ddkilzer)
Comment 8 2006-06-25 16:12:10 PDT
Committed revision 15038.
Note You need to log in before you can comment on or make changes to this bug.