Summary: | [testcase] Alternate attribute is ignored in stylesheet declarations in XML | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Samuel Hym <Samuel.Hym> |
Component: | khtml xml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | maksim |
Priority: | NOR | ||
Version: | 3.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Test case (xml file)
First stylesheet Second stylesheet |
Description
Samuel Hym
2006-01-23 10:28:49 UTC
Created attachment 14352 [details]
Test case (xml file)
Really simple xml to show the problem
Created attachment 14353 [details]
First stylesheet
Created attachment 14354 [details]
Second stylesheet
This may be similar and/or related: Konqueror does ignore the "alternate" keyword in (x)html stylesheet declarations. Test page: http://www.rorkvell.de/news/RorkvellNews.html. Header excerpt: <link type="text/css" rel="stylesheet" href="../style/Basic.css"> <link type="text/css" rel="alternate stylesheet" href="../style/Basic/Basic.css"> <link type="text/css" rel="alternate stylesheet" media="screen" href="../style/Erz/Erz.css"> <link type="text/css" rel="alternate stylesheet" media="screen" href="../style/Eis/Eis.css"> <link type="text/css" rel="alternate stylesheet" media="screen" href="../style/Feuer/Feuer.css"> <link type="text/css" rel="stylesheet" media="screen" href="../style/Humus/Humus.css"> <link type="text/css" rel="alternate stylesheet" media="screen" href="../style/Luft/Luft.css"> <link type="text/css" rel="alternate stylesheet" media="screen" href="../style/Wasser/Wasser.css"> <link type="text/css" rel="alternate stylesheet" media="screen" href="../style/System/System.css"> <link type="text/css" rel="alternate stylesheet" media="screen" href="../style/tech/Tech.css"> <link type="text/css" rel="stylesheet" href="../style/special.css"> <link type="text/css" rel="stylesheet" media="print" href="../style/Print.css"> These are many, i know. Konqueror simply mixes randomly the styles for the different parts of the web page so nothing fits together. Best for now would be to simply ignore any "alternate stylesheet". I just verified this with Safari by using http://www.browsershots.org/ Confirmed on r582187 Confirmed in trunk (kdelibs rev 793966). Side note : there's no way in Konqueror to select the stylesheet to use. Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding. |