Closed
Bug 1346742
Opened 8 years ago
Closed 6 years ago
-moz-user-select: none; text not exported to clipboard
Categories
(Web Compatibility :: Site Reports, defect, P5)
Web Compatibility
Site Reports
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hsivonen, Unassigned)
References
()
Details
(Whiteboard: [needscontact])
Steps to reproduce:
1) Navigate to http://yle.fi/uutiset/3-9505770
2) Select text such that the selection begins before a link and ends after a link in the body of the article. (For example, select both the first and the second paragraph of the article, so that the selection starts before and ends after the part that reads "Maaliskuun alussa ylähuone teki brexit-lakiin kaksi lisäystä".
3) Copy.
4) Paste into a plain text editor.
Actual results:
The link text is not included in the paste.
Expected results:
Expected the link text to be included in the paste.
Additional info:
When copying from Chrome, the paste includes not only the link text but also additional text that has been positioned off-screen.
Comment 1•8 years ago
|
||
> Expected the link text to be included in the paste.
No, it should not. This is exactly how -moz-user-select:none is expected
to work. The Selection in this case is split up into two ranges because
the link is NOT selectable by the user, per the CSS author's explicit request.
(It's a bug in Chrome that the link is copied to the clipboard.)
I'm guessing the CSS author in this case is a bit confused about the semantics
of user-select:none and intended to "make links not look selected" or something
like that. Probably they should have used :link::-moz-selection instead to style
the appearance of a selected link, rather than make it unselectable.
Component: Serializers → Desktop
Product: Core → Tech Evangelism
Updated•7 years ago
|
Priority: -- → P5
Comment 2•6 years ago
|
||
The link text is now included.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: [needscontact]
| Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
You need to log in
before you can comment on or make changes to this bug.
Description
•