Bug 88821 - XHTML ignores CSS in xml-stylesheet directive
Summary: XHTML ignores CSS in xml-stylesheet directive
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-04 13:05 UTC by Idea
Modified: 2005-05-22 22:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Idea 2004-09-04 13:05:03 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    FreeBSD Ports
Compiler:          gcc (GCC) 3.3.3 [FreeBSD] 20031106 
OS:                FreeBSD

In XHTML documents with proper mime-type (aplication/xhtml+xml), if there is a CSS stylesheet specified in the xml-stylesheet processing directive (e.g. <?xml-stylesheet type="text/css" href="stylesheet.css"?>), it is ignored.
Comment 1 Frans Englich 2004-10-28 20:28:52 UTC
This is a valid bug, AFAICT(confirming). The Mozilla family support it.

Informal test cases can be found here:

http://www.badgers-in-foil.co.uk/projects/docbook-css/

Client side styling can be done with text/css and text/xslt, AFAIK. The former is vastly easier than the latter, I guess, but it's fortunately just as important. One could add support for text/css, and wait with text/xslt.

I think this is a crucial feature, because it's a major stone in building website/xml applications(that is, promoting open source/standards). If Konqueror supported it, one could build apps that simply required an open source browser(Konqueror, Mozilla etc).

I hope it is easy to implement.. Perhaps it's in Apple's WebCore or can easily be thrown together with existing code?


Cheers,

       Frans

Comment 2 Allan Sandfeld 2005-05-22 22:27:20 UTC
Was fixed for KDE 3.5 as part of my recent XHTML fixes.