Bug 52165 - CSS rules pasted from Microsoft Excel isn't parsed properly
Summary: CSS rules pasted from Microsoft Excel isn't parsed properly
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Major
Assignee: Nobody
URL:
Keywords: GoogleBug
Depends on:
Blocks:
 
Reported: 2011-01-10 12:23 PST by Ryosuke Niwa
Modified: 2011-01-10 13:32 PST (History)
7 users (show)

See Also:


Attachments
demo (1.86 KB, text/html)
2011-01-10 12:23 PST, Ryosuke Niwa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.