KHTML/CSS patch

Rob Kaper cap at capsi.com
Thu Nov 13 11:51:40 GMT 2003


On Tue, Nov 11, 2003 at 02:39:46AM +0100, Helge Deller wrote:
>  	CachedCSSStyleSheet *requestStyleSheet( const DOM::DOMString &url, const QString& charset,
> -						const char *accept = "text/css");
> +						const char *accept = "text/css, text/*");

>  	static CachedCSSStyleSheet *requestStyleSheet( DocLoader* l, const DOM::DOMString &url, bool reload=false,
>  						       time_t _expireDate=0, const QString& charset = QString::null,
> -						       const char *accept = "text/css");
> +						       const char *accept = "text/css, text/*");

Looks okay, but why not add a fallback for */* as well?

Rob
-- 
Rob Kaper     | "In the name of sheer pity, won't someone operate on
cap at capsi.com | Chairman Arafat and put that poor cancer into a cleaner
www.capsi.com | environment? -- Rick Brookhiser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031113/d2f6cb60/attachment.sig>


More information about the kde-core-devel mailing list