[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349406: konqueror: Alternate attribute is ignored in stylesheet declarations in XML



On Sunday 22 January 2006 15:27, Samuel Hym wrote:
> Package: konqueror
> Version: 4:3.5.0-4
> Severity: normal
>
>
> konqueror ignores the alternate attribute for stylesheets in XML.
> For instance the following lines in a xml header:
>
>     <?xml-stylesheet title="1" href="s1.css" type="text/css"?>
>     <?xml-stylesheet alternate="yes" title="2" href="s2.css"
> type="text/css"?>
>
> entails that 2 stylesheets are available, the first one being the
> default, the second one being alternate. So konqueror should propose
> to choose between them in its stylesheet menu. But it simply
> concatenates the two stylesheets into one and apply everything at
> once.
>
> By the way, if the second stylesheet is absent, the document is not
> rendered at all.
>
>
> Example:
> <?xml version="1.0" encoding="utf-8"?>
> <?xml-stylesheet title="1" href="s1.css" type="text/css"?>
> <?xml-stylesheet alternate="yes" title="2" href="s2.css"
> type="text/css"?> <a>
>     <b>Test: À</b>
> </a>
>
>
>
> s1.css:
>
> @charset "UTF-8";
>
> a:before {
>     display: block;
>     content: "À";
> }
>
> a {
>     display: block;
>     color: #ccc;
> }
>
> b {
>     display: block;
> }
>
>
> s2.css:
>
> @charset "UTF-8";
>
> a:before {
>     display: block;
>     content: "À";
> }
>
> a {
>     display: block;
> }
>
> b {
>     display: block;
>     color:#f00;
> }

Very few, if any of the Debian Qt/KDE maintainers are also upstream 
developers.  So, when something like this is obviously an upstream bug in 
the application and has nothing to do with the packaging, it would be great 
if you could file the bugs upstream at bugs.kde.org (or Help -> Report Bug 
from within the KDE application).  We try to forward upstream bugs there 
when we can, but it doesn't always happen.

Thanks,
Josh



Reply to: