This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20928 - " stringifier attribute DOMString href; "
Summary: " stringifier attribute DOMString href; "
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 01:44 UTC by Ian 'Hixie' Hickson
Modified: 2013-04-09 18:27 UTC (History)
2 users (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2013-02-09 01:44:13 UTC
http://url.spec.whatwg.org/#urlutils

I need to define Location.href because it's crazy magic, and I think for HTMLAnchorElement and HTMLAreaElement it just reflects the element's "href" attribute so we might as well let the HTML spec define those too.

So I think "href" should move from URLUtils to URL.
Comment 1 Anne 2013-02-10 10:58:12 UTC
I don't understand. How is setting href different from setting e.g. search? Can't you just use the update steps to take appropriate action? (That's why I introduced the update steps.)
Comment 2 Ian 'Hixie' Hickson 2013-02-13 00:05:55 UTC
Well they're different because one is defined in terms of setting the other. But I guess I can make them all be defined in terms of some other algorithm. Doesn't really matter one way or the other.

Ok, I'll take this one back.
Comment 3 Ian 'Hixie' Hickson 2013-04-09 18:27:35 UTC
Fixed. See the other bug for the diff.