Skip to content

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

Description

@hayatoito

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions