Change 20070108-ptw-q by [EMAIL PROTECTED] on 2007-01-08
22:59:33 EST
in /Users/ptw/OpenLaszlo/trunk/test/style/names
Summary: Process CSS escapes
Bugs Fixed:
LPP-NaN? Allow underscores in selectors
Technical Reviewer: ben (pending)
QA Reviewer: frisco (pending)
Doc Reviewer: n/a
Release Notes:
CSS parsing now correctly processes escapes. An underscore can be
included in a selector or identifier by using `\` to escape the
underscore (additionally, any unicode character can be expressed
as its hexadecimal value in compliance with the w3c CSS
specification.
Details:
CSSHandler: The batik parser accepts escapes according to the CSS
spec, but returns them as written. In the handlers, escapes need
to be converted to the equivalent Javascript.
Tests:
Changing `lzx_bgcolor` to `lzx\_bgcolor` in
test/style/names/main_underscore.lzx makes the test work.
Files:
M WEB-INF/lps/server/src/org/openlaszlo/css/CSSHandler.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070108-ptw-
q.tar