[Webkit-unassigned] [Bug 24399] New: Imported user style sheets fail to display

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 5 12:32:25 PST 2009


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

           Summary: Imported user style sheets fail to display
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pg at outspring.com


If a user defined style sheet imports additional style sheets, the imported
style sheets will only be displayed on first load.

To reproduce: (Please see the example attached html and css file)
1) Create a style sheet that does nothing but import another style sheet
2) Define a second style sheet imported by the first style sheet with some
simple style definitions
3) In Safari, set your user style sheet to be the first style sheet which
import  the second one
4) Quit and relaunch Safari
4) Create simple html page which will show the style definitions you added to
the second style sheet
5) Load the simple html page in Safari - the styles will be show
6) Reload the page - the styles will vanish

Though this is not likely to often be a major issue for average users, the real
problem is when a non-webbrowser based app is using WebKit and user defined
style sheets to display content.  In some cases the content will be rendered
completely blank after first being displayed.  The work around for this has
been to override the cache policy to reload ignoring cache when loading
content.  This was recently broken and still is in the version of WebKit
shipping with Safari 4 beta.


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