New issue
Advanced search Search tips

Issue 922181 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

CSS style is marked read-only when it should be changeable

Reported by emil.fih...@gmail.com, Jan 15

Issue description

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

Steps to reproduce the problem:
1. Goto https://wikitravel.org/en/Avoiding_a_transit_of_the_United_States
2. Have the "Agree our things" popup visible by visiting from an EU ip
3. Attempt to change the .ibeugdpr-disabled class on html or body

What is the expected behavior?
Element style can be changed

What went wrong?
Element is set to read-only and can't be changed

Did this work before? N/A 

Chrome version: 71.0.3578.98  Channel: stable
OS Version: 10.0
Flash Version: 

Issue was discovered as a byproduct of attempting to resolve an uBlock Origin issue https://github.com/uBlockOrigin/uBlock-issues/issues/380#issuecomment-454506867
 
2019-01-15_21-37-44_clCLj7fL.png
553 KB View Download
The same CSS style is editable in Firefox.
Labels: Needs-Triage-M71

Comment 3 by woxxom@gmail.com, Jan 16 (6 days ago)

Simplified repro:

<body>
<script>
  document.documentElement.appendChild(document.createElement('style')).sheet
    .insertRule('body { background-color: blue }');
</script>
</body>

1. save to test.html and open it
2. right-click the page, click "Inspect"
3. try to uncheck "background-color" in the Styles panel

Expected: able to uncheck it
Observed: unable to uncheck it, the ruleset is in italics

===========================

This was wontfixed FOUR YEARS ago in  bug 387952  because devtools wasn't too smart back then.
Let's hope it's smart enough now.

Comment 4 by viswa.karala@chromium.org, Jan 16 (6 days ago)

Cc: viswa.karala@chromium.org
Components: -UI Blink>CSS
Labels: Triaged-ET Target-73 M-73 FoundIn-71 FoundIn-73 FoundIn-72
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on chrome reported version# 71.0.3578.98 and on latest chrome# 73.0.3672.0 using Windows-10, Mac 10.12.6 and Ubuntu 14.04 with steps mentioned in comment# 3. As this issue is seen from M-60(60.0.3112.0), hence considering this as Non-Regression and marking it as Untriaged.

Thanks!

Comment 5 by viswa.karala@chromium.org, Jan 16 (6 days ago)

Labels: OS-Linux OS-Mac

Comment 6 by e...@chromium.org, Jan 17 (5 days ago)

Components: -Blink>CSS Platform>Apps>DevTools

Sign in to add a comment