You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the styleMap doesn't have 'width', the spec says it's a no-op ("If StylePropertyMap’s property model contains an entry for property, let entry be that entry. Otherwise, exit the algorithm."). Intuitively, set should work independent of whether width is in the property model or not right?
The text was updated successfully, but these errors were encountered:
Ah, yup, the "property model" is just the set of properties that the stylemap currently knows about. .set() shouldn't be consulting that in this way. It should check - there's a related plain-CSSOM issue about ordering properties by the way they're set, so the algo should check if the property is already in the property model and delete it if so, then append its value to the end.
With StylePropertyMap.set, if I do something like
and the styleMap doesn't have 'width', the spec says it's a no-op ("If StylePropertyMap’s property model contains an entry for property, let entry be that entry. Otherwise, exit the algorithm."). Intuitively,
set
should work independent of whether width is in the property model or not right?The text was updated successfully, but these errors were encountered: