[Webkit-unassigned] [Bug 270864] New: Web Inspector: CSSOM styles inserted in Console don't immediately show up in the styles details panel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 12 10:46:40 PDT 2024


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

            Bug ID: 270864
           Summary: Web Inspector: CSSOM styles inserted in Console don't
                    immediately show up in the styles details panel
           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: qianlangchen at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

1. Run code:
    s = new CSSStyleSheet();
    s.replaceSync('body { opacity: 0.5; }');
    document.adoptedStyleSheets.push(s);

2. Observe that the new style ("opacity: 0.5") does not immediately appear in the style details panel when inspecting <body>. You need to inspect <body> again too see it.

-- 
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/20240312/73f8fb67/attachment.htm>


More information about the webkit-unassigned mailing list