Skip to content

Conversation

@gmvrpw
Copy link

@gmvrpw gmvrpw commented Feb 9, 2026

The "get attr-associated elements" algorithm may currently return null. This is unexpected, since the getter may set returned value to non-null "cached attribute-associated elements".

This commit:

  • Removes the conditional branch that returns null

  • Adds an early null check for contentAttributeValue, similar to "get attr-associated element" algorithm for reflected T?

Editorial (I guess)


/acknowledgements.html ( diff )
/common-dom-interfaces.html ( diff )

The "get attr-associated elements" algorithm may currently return null.
This is unexpected, since the getter may set returned value to
non-null "cached attribute-associated elements".

This commit:

- Removes the conditional branch that returns null

- Adds an early null check for contentAttributeValue,
  similar to "get attr-associated element" algorithm for reflected T?
@gmvrpw
Copy link
Author

gmvrpw commented Feb 9, 2026

Okay, that's absolutely wrong, I'll rewrite it tomorrow.

@gmvrpw gmvrpw closed this Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant