Skip to content

Conversation

@domenic
Copy link
Member

@domenic domenic commented Feb 21, 2017

This fixes #2362, by:

  • Making it clearer that the steps inserted by [CEReactions] apply
    before/after what Web IDL calls "the actions listed in the description
    of" a given construct.
  • Removing [CEReactions] from [PutForwards]-decorated readonly
    attributes, as it is redundant there.

/cc @bzbarsky (review probably not required if you're busy though; it's a simple change)

This fixes #2362, by:

* Making it clearer that the steps inserted by [CEReactions] apply
  before/after what Web IDL calls "the actions listed in the description
  of" a given construct.
* Removing [CEReactions] from [PutForwards]-decorated readonly
  attributes, as it is redundant there.
@domenic domenic added the topic: custom elements Relates to custom elements (as defined in DOM and HTML) label Feb 21, 2017
@domenic domenic merged commit c422734 into master Feb 22, 2017
@rniwa
Copy link

rniwa commented Feb 22, 2017

It appears to me that we don't have tests for these attributes in custom elements. Someone should add those test cases. Unfortunately, I'm too busy with other things right now.

@domenic domenic deleted the tidy-cereactions branch February 22, 2017 22:49
@domenic
Copy link
Member Author

domenic commented Feb 22, 2017

Well, kind of the point of this PR is that they are covered by https://github.com/w3c/web-platform-tests/blob/master/custom-elements/reactions/DOMTokenList.html, but yeah, that assumes you implement the Web IDL bindings correctly for [PutForwards]...

@rniwa
Copy link

rniwa commented Feb 22, 2017

I think we should add tests for HTMLOutputElement, HTMLinkElement, etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: custom elements Relates to custom elements (as defined in DOM and HTML)

Development

Successfully merging this pull request may close these issues.

Should clarify the "scope" of [CEReactions]

4 participants