Closed Bug 1312329 Opened 10 years ago Closed 10 years ago

Copied anchor tags with fragment identifiers have the current URL prepended to the fragment identifier.

Categories

(Firefox :: Untriaged, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: thirdpartybugs, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36 Steps to reproduce: Create an anchor with a fragment identifier such as <a href="#id">click here</a>. Copy a selection including the anchor. View the copied contents with a clipboard viewer. Actual results: The fragment is copied as: <html><body> <a href="http://testserver/test.html#id">click here</a> </body> </html> Expected results: The fragment should be copied "as is" such as: <html><body> <a href="#id">click here</a> </body> </html>
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Resolved as invalid as it seems that this is expected behaviour.
You need to log in before you can comment on or make changes to this bug.