W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > July 2008

Bugs in CSS parsing

From: Francois Daoust <fd@w3.org>
Date: Thu, 10 Jul 2008 16:08:07 +0200
Message-ID: <487617C7.7030405@w3.org>
To: public-mobileok-checker <public-mobileok-checker@w3.org>

Hi guys,

Is the lack of support for spaces and case-insensitivity in CSS done on 
	font-size: 12pt
should be equivalent to:
	fONt-Size    :   12PT

The code in MeasuresTest.java doesn't trap this kind of thing, and I 
suspect neither does the rest of the code (CSSUtils.java and 
StyleSheetsSupport.java). Is that intended?

If done on purpose, there still remains a bug in the parsing done in 
MeasuresTest to check only the CSS1 properties: spaces are taken into 
account. For instance:
   p {  font-size: 12pt; }

... the extracted property is " font-size", which fails to match 

Received on Thursday, 10 July 2008 14:08:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:20 UTC