[Webkit-unassigned] [Bug 101120] Copying & pasting tables from Excel results in verbose markup
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 2 16:10:46 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=101120
--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org> 2012-11-02 16:12:10 PST ---
We can do better by removing redundant styles like padding: 0px & border: none; since they’re default styles. We can also remove width & height content attributes since they’re specified in CSS anyway:
<td style="font-size: 12pt; font-family: Candara, sans-serif; vertical-align: bottom; white-space: nowrap; height: 3pt; width: 6pt;"></td>
We can also strip whitespaces between :, ;, & , to get:
<td style="font-size:12pt;font-family:Candara,sans-serif;vertical-align:bottom;white-space:nowrap;height:3pt;width:6pt;"></td>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list