Click here to download the Blitz Browser!

WPT

wpt / custom-elements / attribute-changed-callback.html

Spec: https://html.spec.whatwg.org/multipage/custom-elements.html ↗

Runs: Chrome 155.0.8041.0 (wpt@4a01b83e3, 2026-09-04) | Firefox 157.0a1 (wpt@4a01b83e3, 2026-09-04) | Safari 251 preview (wpt@a1e944e7a, 2026-09-04) | Ladybird 1.0-a7825 (wpt@4a01b83e3, 2026-09-04) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total13/1313/1313/1313/1313/13NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
setAttribute and removeAttribute must enqueue and invoke attributeChangedCallbackPASSPASSPASSPASSPASS
setAttributeNS and removeAttributeNS must enqueue and invoke attributeChangedCallbackPASSPASSPASSPASSPASS
setAttributeNode and removeAttributeNode must enqueue and invoke attributeChangedCallback for an HTML attributePASSPASSPASSPASSPASS
setAttributeNode and removeAttributeNS must enqueue and invoke attributeChangedCallback for an SVG attributePASSPASSPASSPASSPASS
toggleAttribute must enqueue and invoke attributeChangedCallbackPASSPASSPASSPASSPASS
Mutating attributeChangedCallback after calling customElements.define must not affect the callback being invokedPASSPASSPASSPASSPASS
attributedChangedCallback must not be invoked when the observed attributes does not contain the attributePASSPASSPASSPASSPASS
Mutating observedAttributes after calling customElements.define must not affect the set of attributes for which attributedChangedCallback is invokedPASSPASSPASSPASSPASS
attributedChangedCallback must be enqueued for attributes specified in a non-Array iterable observedAttributesPASSPASSPASSPASSPASS
attributedChangedCallback must be enqueued for style attribute change by mutating inline style declarationPASSPASSPASSPASSPASS
attributedChangedCallback must not be enqueued when mutating inline style declaration if the style attribute is not observedPASSPASSPASSPASSPASS
Upgrading a parser created element must enqueue and invoke attributeChangedCallback for an HTML attributePASSPASSPASSPASSPASS
Upgrading a cloned element must enqueue and invoke attributeChangedCallback for an HTML attributePASSPASSPASSPASSPASS