W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 13859] It seems href IDL attribute on base element doesn't reflect content attribute when there is more than one base element with "href".

From: <bugzilla@jessica.w3.org>
Date: Mon, 22 Aug 2011 08:12:23 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QvPcN-0001DS-MT@jessica.w3.org>

Shaofei Cheng <csf178@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |csf178@gmail.com

--- Comment #1 from Shaofei Cheng <csf178@gmail.com> 2011-08-22 08:12:23 UTC ---
Consider the following html:

<!DOCTYPE html>
<html xmlns="  http://www.w3.org/1999/xhtml">
    <meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
    <base id="a" href="  http://www.baidu.com" />
    <base id="b" href="  http://www.google.com" />
    <script type="text/javascript">

According to the standard
"The href IDL attribute, on getting, must return the page's document base URL"

a.href and b.href should return the same value " http://www.baidu.com". But
this behavior is different from most implementations'.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 22 August 2011 08:12:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:01 UTC