[webkit-dev] Bug ID:23744

taruchhaya singh taruchhaya at rediffmail.com
Sat Feb 14 23:39:24 PST 2009


Need some clarifications regrading the Bug ID: 23744:: stylesheet not applied because css file not parsed correctly if it contains comments and charset

I am looking into Bug ID:23744, is this bug is open/valid ? Want to know the current status?

I have done some analysis on this bug.My observations are:

Problem found:
1) leftframe.css 
	Issue is caused by the css file not being applied correctly because of the 
	/*comment*/ and @charset in its contents. The css file looks like: 

	/* Définition de règle */
	@charset "iso-8859-1";
	.leftframe {color: 0067c6; font-family:  "Times New Roman", Times, serif;
	font-size: 10px; font-weight: bold; line-height: normal; text-align: center}

Reason::The @charset At-Rule is allowed to occur only once in an external style sheet and it must be the very first statement in the style sheet. 

If i will remove the very first statement in leftframe.css i.e,/* Définition de règle */, it is working fine.

2) Even after fixing the above issue, bug is in "Link Tag".
Reason::Link Tag is not able to open/recognize the externally linked CSS:

"Safari" browser is not able to link the leftframe.css.But IE is able to link.

Please provide me the status and suggest on the above issue.

Thanks & Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090215/30768815/attachment.html>

More information about the webkit-dev mailing list