[Webkit-unassigned] [Bug 216040] New: Web Inspector: Elements: styles don't update for certain rare case related to UserAgent styles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 1 10:01:04 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216040

            Bug ID: 216040
           Summary: Web Inspector: Elements: styles don't update for
                    certain rare case related to UserAgent styles
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nvasilyev at apple.com
                CC: inspector-bugzilla-changes at group.apple.com,
                    webkit-bug-importer at group.apple.com
        Depends on: 110055

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.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=110055
[Bug 110055] Web Inspector: User Agent style stylesheet identifier keeps incrementing
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200901/6415b021/attachment-0001.htm>


More information about the webkit-unassigned mailing list