Bug 63324 - Web Inspector: Copying CSS from the Styles sidebar pane includes dots
Summary: Web Inspector: Copying CSS from the Styles sidebar pane includes dots
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 07:54 PDT by Alexander Pavlov (apavlov)
Modified: 2014-12-01 14:55 PST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2011-06-24 07:54:50 PDT
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
Comment 1 Alexander Pavlov (apavlov) 2011-06-27 02:14:42 PDT
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.