New issue
Advanced search Search tips

Issue 877822 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 813435
Owner:
Closed: Oct 16
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

It's possible to enter a CSS attribute that cannot be renamed when using tabs

Reported by fzem...@gmail.com, Aug 26

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce the problem:
1. In DevTools Elements panel, add a new element style, naming it something that contains a space (for example "outline color" instead of "outline-color"
2. Tab to focus the attribute value
3. Type space
4. Tab again

What is the expected behavior?
I would in this case either discard the erroneous input, or allow editing it

What went wrong?
The attribute and value are no longer focusable or editable.

My guess is you have some kind of truthiness check somewhere getting tripped up by the space value

Did this work before? N/A 

Chrome version: 68.0.3440.106  Channel: stable
OS Version: OS X 10.13.6
Flash Version: 

I ran into this when typing / working quickly (typing "1px solid red" as the attribute name instead of the value.
 
tab-bug.gif
94.5 KB View Download
Labels: Needs-Triage-M68
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)
Mergedinto: 813435
Status: Duplicate (was: Assigned)
It looks like many of these cases were fixed in M69.  Merging with a crbug covering more cases.

Sign in to add a comment