Bug 63324
Summary: | Web Inspector: Copying CSS from the Styles sidebar pane includes dots | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexander Pavlov (apavlov) <apavlov> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | apavlov, burg, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Alexander Pavlov (apavlov)
When the copied CSS is pasted into a rich text-aware editor, the HTML formatting is preserved along with dots/numbers preceding each CSS property, which looks wrong.
Upstreaming http://code.google.com/p/chromium/issues/detail?id=83056
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexander Pavlov (apavlov)
The underlying issue is that very few (if any) editors accepting "text/html" (CFHTML, actually) treat the CSS property "list-style: none" on an OL element (which is present in the emitted CFHTML) correctly (eliminating the bullets/numbers). As such, we are only left to manually build the clipboard contents, which is more than tricky.