Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Custom Elements - what to do with is="" attribute on regular elements #1277

Closed
brucelawson opened this issue Mar 2, 2018 · 3 comments
Closed

Comments

@brucelawson
Copy link

Part of metabug #1229

Part of Custom Elements spec defines the ability to extend "real" HTML elements using the is="foo-bar" attribute.

  • Define the is="foo-bar" attribute. On which elements is it allowed? Is it a global attribute?
  • Mark it as "at risk"? Safari/ WebKit have said they will never implement it. Also check Firefox status.
@chaals chaals mentioned this issue Mar 2, 2018
11 tasks
@chaals
Copy link
Collaborator

chaals commented Mar 2, 2018

@brucelawson asked

Define the is="foo-bar" attribute. On which elements is it allowed? Is it a global attribute?

is is global.

Mark it as "at risk"? Safari/ WebKit have said they will never implement it.

Yeah, I think it would be prudent to mark it as "at risk".

@brucelawson
Copy link
Author

Leave this out, unless there is implementation in 2 browsers. (Doesn't seem to be in Chrome's implementation of v1 of web components, was in v0.)

chaals added a commit that referenced this issue Apr 6, 2018
Notes:

Split autonomous and customized built-in elements a bit

This commit includes is=, despite the resolution of #1277

It also presupposes that #1337 is resolved for the more restrictive approach.
siusin pushed a commit that referenced this issue Apr 11, 2018
* initial pieces

Chapters 2-3 normative stuff from the CE spec. Very WiP

* cleaning up syntax

Conversion to bikeshed/linking stuff. Possibly introducing some linking bugs to check when I'm mostly done :S

* first pass syntax conversion

This file will need another round of this, but leaving it for now.

* Commit the element bits of custom elements

Notes:

Split autonomous and customized built-in elements a bit

This commit includes is=, despite the resolution of #1277

It also presupposes that #1337 is resolved for the more restrictive approach.

* at risk, is= in attributes table

Add global/is to the attributes table
Mark it, and customized built-ins, as under consideration for "at risk"

* define is=,

some editorial cleaning in global attributes section

* update intro

custom elements could be considered an extensibility mechanism...

* some thank yous

Certain to have missed people who deserved to be thanked. :(

* thank yous

* update changes

split into the general piece and customized - if Firefox hasn't implemented them yet, they will be at risk for the 5.3 version.

* fix syntax errors

Bikeshed won't build without fixing some errors

* Fix link

* fix link again

* link fix

* update URN link

* Fix link errors

* linking fixes

* Fix last link errors

(of those introduced by this commit)

* linking and grammar fixes

Thank you @prlbr

* tweaks

fixing links, exporting definitions, hopefully fix multipage

* fixes for review

links, typos, ...
@chaals
Copy link
Collaborator

chaals commented Apr 11, 2018

This is in fact implemented in both Firefox and Chrome, so #1343 includes it as part of custom elements.

@chaals chaals added this to the HTML5.3 WD3 milestone Apr 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants