UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Steps to reproduce the problem:
1. Go to data:text/html,<!doctype html><body><div id="a">a</div><script>setTimeout(function() { document.body.style.backgroundColor = "black"; document.querySelector("#a").style.backgroundColor = "blue";}, 1000)</script>
2. Press F12.
3. Go to the Elements panel.
4. Disable background-color: black on <body> (the page is now white).
5. Press F5.
6. Disable background-color: black on <body>.
What is the expected behavior?
The page is not white.
What went wrong?
The page stays black.
Did this work before? N/A
Chrome version: 52.0.2743.116, 54.0.2832.0 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2), canary and
Flash Version:
You can do the same with the other <div> (I suspected that it is an issue specific to <body>, but it is not).
Comment 1 by phistuck@chromium.org
, Aug 18 2016Status: Untriaged (was: Unconfirmed)
Summary: Cannot disable dynamically added CSS declarations on a selected element across refreshes (was: Cannot disable dynamically added properties on a selected element across refreshes)