W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 9910] New: <basefont> should not break out of 'in head', should be treated as a void element within <head>

From: <bugzilla@jessica.w3.org>
Date: Fri, 11 Jun 2010 06:28:53 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9910-2486@http.www.w3.org/Bugs/Public/>

           Summary: <basefont> should not break out of 'in head', should
                    be treated as a void element within <head>
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: https://bugzilla.mozilla.org/show_bug.cgi?id=571389
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org

It appears that the banking site TD Canada Trust uses the <basefont> element
followed by the <base> element. Per the HTML5 parsing algorithm, <basefont>
breaks out of "in head", so <base> gets appended to <body>, where it no longer
establishes the base URL per
http://www.whatwg.org/specs/web-apps/current-work/#document-base-url . This
breaks relative references on the site.

The appropriate fix would be making <basefont> in 'in head' insert an element
for the token, immediately pop it, acknowledge the self-closing flag but not
change the insertion mode.

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 Friday, 11 June 2010 06:28:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:51 UTC