WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
13554
className change wont cause a repaint in a special case
https://bugs.webkit.org/show_bug.cgi?id=13554
Summary
className change wont cause a repaint in a special case
Timothy Hatcher
Reported
2007-04-30 18:47:34 PDT
While working on a Web Inspector change I ran into this bug. Changing a className between two elements with a mousedown on one element removes the className value on another element. The other element will not repaint when it's className is removed. This only happens when mousedown, -webkit-user-select: none, background-image and font-weight: bold are used together. If you change or remove any of those elemnts, this bug goes away. For example, removing -webkit-user-select: none fixes this. Removing either bold or background-image fixes this. Changing background-image to just a background color also fixes this. See attached test case.
Attachments
Test case.
(1.36 KB, text/html)
2007-04-30 18:48 PDT
,
Timothy Hatcher
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2007-04-30 18:48:46 PDT
Created
attachment 14278
[details]
Test case. Test case showing the bug.
Timothy Hatcher
Comment 2
2007-04-30 18:50:13 PDT
I have seen this in Drosera before too, I just never could create a "simple" test case.
Dave Hyatt
Comment 3
2007-04-30 19:37:40 PDT
Probably a style sharing bug and/or some bug where something is missing from the diff method of RenderStyles.
Dave Hyatt
Comment 4
2007-04-30 19:53:12 PDT
This does not reproduce for me in 2.0 or ToT on Tiger.
Timothy Hatcher
Comment 5
2007-04-30 20:08:34 PDT
I am able to reproduce on TOT on Leopard. I will file a radar to track this.
Timothy Hatcher
Comment 6
2007-06-05 15:55:33 PDT
I have seen this bug before in Drosera on Tiger but was never able to find a reproducible case. The original test here was Leopard only.
Timothy Hatcher
Comment 7
2007-06-05 15:56:14 PDT
I have seen this bug before in Drosera on Tiger but was never able to find a reproducible case. The original test here was Leopard only.
mitz
Comment 8
2008-03-24 16:02:41 PDT
I cannot reproduce the bug in TOT on Leopard. IIRC, it turned out to be a Leopard bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug