[Webkit-unassigned] [Bug 31156] New: close tag of empty link element reported as error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 5 01:42:49 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31156

           Summary: close tag of empty link element reported as error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leeze at gmx.net


In an XHTML file a link element inside of the head element produces an error if
closed with a closing tag:

<link  rel="stylesheet" type="text/css" href="an_url_to_a_css_file"></link>

gives:

Unmatched </link> encountered.  Ignoring tag.


Using:

<link  rel="stylesheet" type="text/css" href="an_url_to_a_css_file" />

is recognized as valid as should the former example.


The doctype I used was:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list