[Bug 20976] Define Node.baseURI properly

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20976

Anne <annevk@annevk.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arv@chromium.org,
                   |                            |bzbarsky@mit.edu,
                   |                            |w3c@adambarth.com
            Summary|There is a mismatch here    |Define Node.baseURI
                   |with the DOM concept of a   |properly
                   |node's base URL. Not sure   |
                   |what the right way to       |
                   |address it would be.        |

--- Comment #6 from Anne <annevk@annevk.nl> ---
xml:base will go away. Node.baseURI will stay. <base> will stay. Base URL will
be scoped to a document.

In Chrome

 http://software.hixie.ch/utilities/js/live-dom-viewer/
 .<script>
 var a = document.createElement("a")
 w(a.baseURI)
 a.href = "/test"
 w(a.href)
 </script>

will log "", followed by "http://software.hixie.ch/test", which makes no sense.

So it seems that nodes should have the base URL of their node document. Base
URL of nodes will change once they are adopted.

Does all of this make sense?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 29 October 2013 11:57:16 UTC