New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 676247 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

attributeChanged should fire when setting at attribute even if the value did not change

Project Member Reported by dominicc@chromium.org, Dec 21 2016

Issue description

ToT r439712

Chrome is failing these web-platform-tests:

custom-elements/reactions/DOMStringMap.html "setter on DOMStringMap must enqueue an attributeChanged reaction when mutating the value of an observed data attribute to the same value"

custom-elements/reactions/DOMTokenList.html "the stringifier of DOMTokenList must enqueue an attributeChanged reaction when the setter is called with the original value of the attribute"

This is probably because DOM spec runs through attribute setting without regard for the previous value, but Chrome short-circuits it.
 
Status: Fixed (was: Started)

Sign in to add a comment