RESOLVED FIXED 17039
'border-color' does not animate to the value of 'color' when unspecified
https://bugs.webkit.org/show_bug.cgi?id=17039
Summary 'border-color' does not animate to the value of 'color' when unspecified
mitz
Reported 2008-01-27 19:43:10 PST
When 'border-color' is unspecified, its value is the computed value of 'color', but when animating to that state, the value animates to 'transparent' instead. See the attached test case.
Attachments
Test case (283 bytes, text/html)
2008-01-27 19:45 PST, mitz
no flags
Fix (12.37 KB, patch)
2008-02-05 19:32 PST, mitz
darin: review+
mitz
Comment 1 2008-01-27 19:44:16 PST
(The same happens when animating *from* an unspecified border-color).
mitz
Comment 2 2008-01-27 19:45:06 PST
Created attachment 18730 [details] Test case The border should animated from red to blue and back to red, but never be transparent.
mitz
Comment 3 2008-01-27 20:04:11 PST
The reason for this bug is that the "copy from the 'color' property" rule is implemented as a paint-time hack (strangely it is replaced with "set to light gray" if the border style is one of the "3D" styles; Firefox does not do that).
mitz
Comment 4 2008-02-05 19:32:35 PST
Darin Adler
Comment 5 2008-02-06 06:45:41 PST
Comment on attachment 18946 [details] Fix r=me
mitz
Comment 6 2008-02-06 08:04:41 PST
Note You need to log in before you can comment on or make changes to this bug.