[Webkit-unassigned] [Bug 24354] New: Alternate stylesheets (without title attribute) are loaded on refresh

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 4 07:58:50 PST 2009


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

           Summary: Alternate stylesheets (without title attribute) are
                    loaded on refresh
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://robballou.com/switcher/sandbox/alternate1.php
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rob.ballou at gmail.com


There is a bug in the manner that alternate stylesheets are handled by Safari
4, Safari 3, and webkit:

Description:

Alternate stylesheets without a title attribute are rendered on reload (but not
on initial load):

Steps to reproduce:

- Visit http://robballou.com/switcher/sandbox/alternate2.php
- The page should load with a blue border on top.
- Refresh the page
- The page now has a red border (which is from the "alternate stylesheet")

While the spec [1] mentions to add both alternate and title to an alternate
stylesheet, it seems odd behavior that it does not load the altenerate on first
page load, but not on subsequent loads. For what it's worth, both Firefox (3)
and Opera (9.63) do not load the alternate stylesheet on reload (or at all). FF
does not seem to even request the stylesheet from the server.

[1]: http://www.w3.org/TR/REC-html40/present/styles.html#h-14.3.2


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



More information about the webkit-unassigned mailing list