<?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>21787</bug_id>
          
          <creation_ts>2013-04-23 13:32:09 +0000</creation_ts>
          <short_desc>Setting &lt;area&gt;.href to a relative URL should set the content attribute to the listeral value instead of resolved value, to match browsers and what the spec requires for other reflecting URL attributes [...]</short_desc>
          <delta_ts>2016-01-24 05:34:22 +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>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-area-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>d</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86550</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-04-23 13:32:09 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html
Multipage: http://www.whatwg.org/C#the-area-element
Complete: http://www.whatwg.org/c#the-area-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Setting &lt;area&gt;.href to a relative URL should set the content attribute to the
listeral value instead of resolved value, to match browsers and what the spec
requires for other reflecting URL attributes (and what the spec required
before adopting URLUtils)

Posted from: 90.230.217.68
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.8.3) Presto/2.12.388 Version/12.15</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86564</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-04-23 15:36:19 +0000</bug_when>
    <thetext>HTML doesn&apos;t define .href anymore. Reassigning to URL. Anne, if this should be fixed in HTML, let me know how I should do it. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86680</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-04-24 15:55:23 +0000</bug_when>
    <thetext>https://github.com/whatwg/url/commit/1d866b441eef031481bffaa0df9f43630e6fe62e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88760</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-06-05 20:25:21 +0000</bug_when>
    <thetext>This broke Location.href instead. The update steps for Location.href need to be passed an absolute URL, since the URL is immediately used to navigate.

Reassigning to Anne so he can decide how we should fix this. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88761</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-06-05 20:26:42 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7908.
Check-in comment: Update to match recent URL spec changes (this fixes a.href/area.href, but note that this breaks Location.href instead; see the bug for details)
http://html5.org/tools/web-apps-tracker?from=7907&amp;to=7908</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88821</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-06-06 13:31:38 +0000</bug_when>
    <thetext>I don&apos;t see how that&apos;s true. You pass the value to assign() or replace() which both parse it relative to a base URL just fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124689</commentid>
    <comment_count>6</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2016-01-24 05:34:22 +0000</bug_when>
    <thetext>I believe this has been fixed as of the recent overhaul of URL, Location, and HTMLHyperlinkUtils.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>