| Summary: | Web Inspector: DOMDebugger: "Attribute Modified" breakpoints pause after the modification occurs for the style attribute | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, hi, inspector-bugzilla-changes, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
This works as expected (e.g. the breakpoint pauses before the modification occurs) for any non-style attribute. Created attachment 367392 [details]
Patch
Comment on attachment 367392 [details] Patch Clearing flags on attachment: 367392 Committed r244269: <https://trac.webkit.org/changeset/244269> All reviewed patches have been landed. Closing bug. |
# STEPS TO REPRODUCE: 1. inspect any page 2. go to the Elements tab 3. context menu on the <body> 4. Break on... > Attribute Modified 5. evaluate `document.body.style.setProperty("--a", "0")` in the console => JavaScript should pause on a Console Evaluation with the above code highlighted 6. go to the Elements tab => the <body> has a `style="--a: 0;"` attribute