[Webkit-unassigned] [Bug 43870] New: When two stylesheets are loaded with <link> tag and title attribute, second stylesheet is ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 11 12:57:25 PDT 2010


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

           Summary: When two stylesheets are loaded with <link> tag and
                    title attribute, second stylesheet is ignored
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Keywords: HasReduction
          Severity: Major
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dwood at karelia.com


Created an attachment (id=64151)
 --> (https://bugs.webkit.org/attachment.cgi?id=64151)
Reduction test case. HTML file and two stylesheets

Summary:  If you have two stylesheets loaded like this, each with a title attribute, the second stylesheet is ignored!


<link rel="stylesheet" type="text/css" href="first.css" title="ddsmoothmenu" />
<link rel="stylesheet" type="text/css" href="second.css" title="xx" />


To reproduce:  

1. Open the reduction test case (attached), problem.html

What should happen:  You should see a blue background and a note indicating that the second stylesheet loaded.

What happens: You see a yellow background, indicating that the first but not the second stylesheet loaded.


Regression:

This happens on both TOT and the released Safari 4 version of WebKit.

You can make this problem go away several ways:
* Remove the title attribute from either the first or the second link tag
* Load a stylesheet with <style..>@import...

-- 
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