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

Re: Bugs in CSS parsing

From: Francois Daoust <fd@w3.org>
Date: Thu, 10 Jul 2008 18:18:51 +0200
Message-ID: <4876366B.4030202@w3.org>
To: Miguel Garcia <miguel.garcia@fundacionctic.org>
CC: Jo Rabin <jrabin@mtld.mobi>, public-mobileok-checker <public-mobileok-checker@w3.org>

Miguel Garcia wrote:
> Hi,
>  
> This is a collateral behaviour of using regular expresions for
> extracting CSS properties. 
> 
> By default java regular expressions are case sensitive and if you want
> to match them against a text ignoring case you must explicity state it
> with a flag. We'll check the code and add this flag on all regular
> expresion matchings
> 
> We'll also add to the regular expresions the condition of "any number of
> white spaces" (\s*) to all suitable cases

Thanks Miguel, I just committed the change in StyleSheetsSupportTest.java

The only remaining place, AFAICT, is in CSSUtils.java. Up to you!

Francois.
Received on Thursday, 10 July 2008 16:19:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 July 2008 16:19:21 GMT