Quotes in the Dev Tools Style Editor removes the style after them
Reported by
i.platon...@gmail.com,
Dec 6 2017
|
||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/62.0.3202.94 Chrome/62.0.3202.94 Safari/537.36
Steps to reproduce the problem:
1. Open Chrome Dev Tools
2. Select any element on the page
3. Go to "Styles" tab
4. Add at least 2 styles to the element: for instance: {
font-family: Roboto, sans-serif;
font-size:2px;
}
5. Click on the first in the list style's value, in our case Roboto,sans-serif; to edit the value.
6. Add quotes around the value: "Roboto"
7. Hit enter or focus out to store the change
8. See that the next style, in our case font-size:2px; has disappeared
What is the expected behavior?
The styles under the edited style should remain.
What went wrong?
The next style after the edited style is removed
Did this work before? N/A
Chrome version: 62.0.3202.94 Channel: stable
OS Version: 4.4.0-101-generic
Flash Version:
Tested it in Ubuntu 16.04 and Windows 10. The bug appears in both Chrome and Chromium.
,
Dec 8 2017
Wow that's a fantastic bug. Thanks for the very clear repro. So good. |
||
►
Sign in to add a comment |
||
Comment 1 by krajshree@chromium.org
, Dec 8 2017Status: Untriaged (was: Unconfirmed)