Closed
Bug 1216438
Opened 9 years ago
Closed 9 years ago
Cannot copy list numbers added by CSS
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: davian818+1, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20151014143721
Steps to reproduce:
I've copied the text from the list made by DIVs with list-style-type attribute.
Actual results:
Only the text is copied, but not the marker.
Expected results:
All the text is copied.
Comment 1•9 years ago
|
||
list-style-type styles a pseudo class (the marker), and pseudo classes aren't part of the DOM, hence can't be selected (and copied): http://www.w3.org/TR/CSS2/selector.html#pseudo-elements
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Resolution: --- → INVALID
Comment 2•9 years ago
|
||
> hence can't be selected (and copied)
This part actually does not follow. That's the behavior we have, but it's not required by any spec.
Resolution: INVALID → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•