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 Inspector | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/68150659>