<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>195403</bug_id>
          
          <creation_ts>2019-03-07 00:25:42 -0800</creation_ts>
          <short_desc>Customized built-in elements aren&apos;t supported</short_desc>
          <delta_ts>2019-12-27 09:03:39 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>182671</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HTML5</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andreas Deuschlinger">andreas.deuschlinger</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>arjunyel+webkit.bugzilla</cc>
    
    <cc>cdumez</cc>
    
    <cc>incoming-webkitbugs</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1513440</commentid>
    <comment_count>0</comment_count>
    <who name="Andreas Deuschlinger">andreas.deuschlinger</who>
    <bug_when>2019-03-07 00:25:42 -0800</bug_when>
    <thetext>The HTML Living Standard for Custom Elements specifies support to extend existing built-in elements, by:
- the `is=&quot;my-button&quot;` attribute
  https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
- the `document.createElement(&apos;button&apos;, { is: &apos;my-button&apos; })` second argument
  https://dom.spec.whatwg.org/#dom-elementcreationoptions-is

Example:
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example

The Webkit Status page gives incorrect information claiming that Custom Elements V1 are supported,
though in fact only &quot;autonomous custom elements&quot; are supported.
https://webkit.org/status/#feature-custom-elements

Caniuse informs about this incomplete implementation correctly:
https://caniuse.com/#feat=custom-elementsv1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1514115</commentid>
    <comment_count>1</comment_count>
    <who name="">arjunyel+webkit.bugzilla</who>
    <bug_when>2019-03-08 11:53:01 -0800</bug_when>
    <thetext>Previous discussion about this on Github https://github.com/w3c/webcomponents/issues/509#issuecomment-222860736</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1514452</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-03-09 18:24:45 -0800</bug_when>
    <thetext>Our position has been that this feature shouldn&apos;t exist in the spec in the first place. I really don&apos;t understand how we ended up allowing Google to keep this feature in the HTML5 spec despite of our repeated objections.

*** This bug has been marked as a duplicate of bug 182671 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1515388</commentid>
    <comment_count>3</comment_count>
    <who name="Andreas Deuschlinger">andreas.deuschlinger</who>
    <bug_when>2019-03-12 03:14:19 -0700</bug_when>
    <thetext>Thanks  a lot for your quick feedback:)

Meanwhile i came across element behaviors a the suggested has attributes:
https://www.npmjs.com/package/element-behaviors

Which is what I would really need:) But gies beyond this ticket...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>