NEW216040
Web Inspector: Elements: styles don't update for certain cases related to UserAgent styles
https://bugs.webkit.org/show_bug.cgi?id=216040
Summary Web Inspector: Elements: styles don't update for certain cases related to Use...
Nikita Vasilyev
Reported 2020-09-01 10:01:04 PDT
Steps: 1. Open data:text/html,<input%20type=checkbox> 2. Select <input type=checkbox> in Elements tab 3. Changes "checkbox" attribute value to "value" Expected: The style editor shows matching styles for the checkbox, e.g. `input[type="checkbox"]`, `input:matches([type="radio"], [type="checkbox"])` and etc. Actual: The style editor still shows styles for input[type="text"]. Notes: DOMNodeStyles.prototype.refresh has incorrect logic for `significantChange` flag. Essentially, it skips UserAgent styles. The proper way to fix this bug would be to resolve "Bug 110055 - Web Inspector: User Agent style stylesheet identifier keeps incrementing" first.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-09-01 10:01:21 PDT
Note You need to log in before you can comment on or make changes to this bug.