<?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>28396</bug_id>
          
          <creation_ts>2015-04-03 04:12:29 +0000</creation_ts>
          <short_desc>There must be no more than one &lt;base&gt; element per document; rules are given for handling invalid situations (&quot;...all [base elements] but the first are ignored&quot;), but fail to cover the case</short_desc>
          <delta_ts>2015-08-28 16:00:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#the-base-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119212</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-04-03 04:12:29 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/semantics.html
Multipage: https://html.spec.whatwg.org/multipage/#the-base-element
Complete: https://html.spec.whatwg.org/#the-base-element
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
There must be no more than one &lt;base&gt; element per document; rules are given
for handling invalid situations (&quot;...all [base elements] but the first are
ignored&quot;), but fail to cover the case

&lt;base href=&quot;http://www.example.com/&quot;&gt;
&lt;base target=&quot;_blank&quot;&gt;

There is only one &lt;base&gt; element with an href= attribute, and only one &lt;base&gt;
element with a target= attribute; the rules only apply to _multiple_ &lt;base&gt;
elements with a certain attribute.

Perhaps the notes should refer to ignoring excess _attributes_: as written
they refer to excess _elements_. I.e., merge all the &lt;base&gt; elements into one,
containing the first (if any) href= attribute and the first (if any) target=
attribute.

Posted from: 125.238.146.34
User agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119299</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-04-07 07:49:07 +0000</bug_when>
    <thetext>These notes seem correct to me -- they match the processing requirements.

See https://html.spec.whatwg.org/multipage/infrastructure.html#conformance-classes</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>