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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>18776</bug_id>
          
          <creation_ts>2012-09-05 00:19:37 +0000</creation_ts>
          <short_desc>substeps 3-5 of the prototype construction algorithm should be main steps 4-6</short_desc>
          <delta_ts>2012-10-24 19:46:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>17103</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Miles">sjmiles</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73209</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Miles">sjmiles</who>
    <bug_when>2012-09-05 00:19:37 +0000</bug_when>
    <thetext>Looks like steps 3-5 of the prototype construction algorithm (Section 5) should be part of the main steps (aka need to be outdented).

Suspect it&apos;s supposed to read like this:

1. If EXTENDS is an invalid HTML tag name, throw an InvalidCharacterError exception.
2. If EXTENDS is a custom element name name, let BASE be the element prototype of the custom DOM element with the custom element name of EXTENDS
3. Otherwise:
    1. If EXTENDS is defined in HTML specification or other applicable specifications, let BASE be the interface prototype object for the element type corresponding to the HTML tag name of EXTENDS
    2.Otherwise, throw a NotSupportedError exception.
4. Create a new object that implements BASE
5. Let PROTOTYPE be this new object
6. If PROPERTIES is present and not undefined, define properties on PROTOTYPE using PROPERTIES</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77062</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-10-24 19:46:28 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/webcomponents/rev/e737448b82a6</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>