New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 691716 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 639631
Owner:
Last visit 29 days ago
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Copied selector fails to escape period character in ID

Reported by dawpas2...@gmail.com, Feb 13 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce the problem:
1. Create element with ID containing a period character: id="some.id"
2. Right click on element > Copy > Copy selector.
3. Copied selector "#some\2e id" is incorrect.

What is the expected behavior?
Copied selector should have escaped period character like so: "#some\.id".

What went wrong?
Copied selector "#some\2e id" is incorrect.

Did this work before? N/A 

Chrome version: 55.0.2883.87  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 24.0 r0

 

Comment 1 by l...@chromium.org, Feb 13 2017

Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
lushnikov@, could you please take a look?
Mergedinto: 639631
Status: Duplicate (was: Assigned)

Sign in to add a comment