RESOLVED FIXED 11942
REGRESSION: inheritableProperties arrays in CSSMutableStyleDeclaration.cpp and CSSComputedStyleDeclaration.cpp are out of sync (failing editing/pasteboard/paste-table-002.html and fast/lists/drag-into-marker.html)
https://bugs.webkit.org/show_bug.cgi?id=11942
Summary REGRESSION: inheritableProperties arrays in CSSMutableStyleDeclaration.cpp an...
mitz
Reported 2006-12-23 02:26:28 PST
The inheritableProperties arrays in CSSMutableStyleDeclaration.cpp and CSSComputedStyleDeclaration.cpp differ. Most recently, the text-stroke properties were added only in CSSComputedStyleDeclaration.cpp, making editing/pasteboard/paste-table-002.html and fast/lists/drag-into-marker.html fail (the latter only in pixel mode). There was an earlier discrepancy, where one array had CSS_PROP_BORDER_SPACING and the other had CSS_PROP__WEBKIT_BORDER_HORIZONTAL_SPACING and CSS_PROP__WEBKIT_BORDER_VERTICAL_SPACING. Can the array be shared between the two implementations?
Attachments
Sync up the two arrays (1.96 KB, patch)
2006-12-23 04:48 PST, Dave Hyatt
mitz: review+
mitz
Comment 1 2006-12-23 02:33:49 PST
I'm not convinced that CSSMutableStyleDeclaration::removeInheritableProperties should exist as a method in that class. Since this it's ultimately about properties that can be computed, perhaps a static method in CSSComputedStyleDeclaration would be better.
Dave Hyatt
Comment 2 2006-12-23 04:48:32 PST
Created attachment 11982 [details] Sync up the two arrays How lame. I added comments to help avoid this mistake in the future.
mitz
Comment 3 2006-12-23 04:51:38 PST
Comment on attachment 11982 [details] Sync up the two arrays r=me
David Kilzer (:ddkilzer)
Comment 4 2006-12-23 05:20:19 PST
Fixed by hyatt in r18401.
mitz
Comment 5 2006-12-23 06:40:11 PST
Still failing editing/pasteboard/paste-table-002.html, but now I think it just needs updated expected results.
Note You need to log in before you can comment on or make changes to this bug.