Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how "If a reflecting IDL attribute has the type HTMLElement, or an interface that descends from HTMLElement" should work in the context of shadow dom. (bugzilla: 26643) #199

Closed
hayatoito opened this issue Jul 6, 2015 · 1 comment

Comments

@hayatoito
Copy link
Contributor

Title: Figure out how "If a reflecting IDL attribute has the type HTMLElement, or an interface that descends from HTMLElement" should work in the context of shadow dom. (bugzilla: 26643)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643


comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c0
Olli Pettay wrote on 2014-08-22 18:13:55 +0000.

http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#reflecting-content-attributes-in-idl-attributes:htmlelement


comment: 1
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c1
Boris Zbarsky wrote on 2014-08-22 18:49:36 +0000.

Where is this reflection mode actually used?


comment: 2
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c2
Olli Pettay wrote on 2014-08-22 19:07:48 +0000.

Label element seems to use it.


comment: 3
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c3
Boris Zbarsky wrote on 2014-08-22 19:54:54 +0000.

Where? HTMLLabelElement has three IDL attributes, only one of which relects a content attribute. And that one is a string.


comment: 4
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c4
Anne wrote on 2014-08-25 09:59:04 +0000.

contextMenu is a property with a setter where this reflection mode is fully used.


comment: 5
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c5
Boris Zbarsky wrote on 2014-08-25 13:26:43 +0000.

Does anyone implement it, or plan to?


comment: 6
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c6
Olli Pettay wrote on 2014-08-25 14:13:26 +0000.

(In reply to Boris Zbarsky from comment #3)

Where? HTMLLabelElement has three IDL attributes, only one of which relects
a content attribute. And that one is a string.

Oh, right. form attribute isn't using this stuff but has explicit
"If a reassociateable form-associated element has a form attribute specified, then that attribute's value must be the ID of a form element in the element's owner Document."


comment: 7
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c7
Boris Zbarsky wrote on 2014-08-25 14:16:25 +0000.

Right, so there is the question of how http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#reset-the-form-owner should work with web components, which probably needs a separate spec bug. Right now as specced @form-(this-is-inserted-to-avoid-notification-in-migration) simply doesn't work at all inside a component.


comment: 8
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26643#c8
Olli Pettay wrote on 2014-08-25 14:24:30 +0000.

Bug 26656

@hayatoito
Copy link
Contributor Author

Let me merge this with #196.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant