Bug 216040

Summary: Web Inspector: Elements: styles don't update for certain cases related to UserAgent styles
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 110055    
Bug Blocks:    

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.