|
|
|
Tucker has a fix for this, so I'm reopening this bug, so we can track the fix.
r3494 | ptw | 2007-01-23 17:10:32 -0500 (Tue, 23 Jan 2007) | 27 lines
Changed paths: M /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/css/CSSHandler.java M /openlaszlo/trunk/test/style/names/main_underscore.lzx Change 20070108-ptw-q by ptw@dueling-banjos.local on 2007-01-08 22:59:33 EST in /Users/ptw/OpenLaszlo/trunk/test/style/names Summary: Process CSS escapes Bugs Fixed: Technical Reviewer: ben (Message-Id: <D914D6E4-A733-4ACA-95A0-1ECB29FD4A7E@laszlosystems.com>) 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. This appears to be broken again in 4.1.1. The sample code given in the description fails to compile.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
See test/style/names/main_underscore.lzx