Bug 52165

Summary: CSS rules pasted from Microsoft Excel isn't parsed properly
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Major CC: darin, enrica, hyatt, justin.garcia, leviw, mitz, simon.fraser
Priority: P2 Keywords: GoogleBug
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
demo none

Description Ryosuke Niwa 2011-01-10 12:23:11 PST
Created attachment 78429 [details]
demo

WebKit doesn't parse CSS rules generated by Microsoft Excel, resulting in the loss of table cell styles added by Excel.

Open the attachment.

Expected result:
9 table cells with a collapsed solid 1px black border.

Actual result:
Cells don't have any border.
Comment 1 Ryosuke Niwa 2011-01-10 12:26:18 PST
More specifically, WebKit can't interpret "border:.5pt solid windowtext".  When I change that to "border: 1px solid windowtext", it works as expected.
Comment 2 Ryosuke Niwa 2011-01-10 12:27:25 PST
http://crbug.com/19360
Comment 3 Ryosuke Niwa 2011-01-10 12:51:16 PST
Ah wait, the border is there, it's just not rendered at the regular size.  It's rendered when I increase the zooming level.
Comment 4 Simon Fraser (smfr) 2011-01-10 12:51:56 PST
Need to update the title then?
Comment 5 Ryosuke Niwa 2011-01-10 13:32:32 PST
(In reply to comment #4)
> Need to update the title then?

I'll close this one as invalid for now. I don't quite get what the problem is with the original bug.  Sorry about the noise.