Approved!
On 12/3/10 8:35 AM, P T Withington wrote:
Change ptw-20101203-hiy by [email protected] on 2010-12-03 11:23:06 EST
in /Users/ptw/OpenLaszlo/trunk-3
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Improve CSS parsing/unparsing
Bugs Fixed: LPP-9544 CSS parser should deliver all property values as strings
Technical Reviewer: [email protected] (pending)
QA Reviewer: [email protected] (pending)
Details:
LzUtils: Add a method to convert color fractions 'prettily'.
Make format of cssfrominternal optional, heuristicate to `#`
format if no alpha, otherwise `rgb` format.
LzDebug: Update comment
LzNode, LzDefs: LzStyleIdent no longer needed, since all CSS
property values are now strings. presentAttribute defaults type
to CSS type.
CSSHandler: All property values now represented as strings.
Tests:
smokecheck, metasuite, test case from bug
Files:
M WEB-INF/lps/lfc/services/LzUtils.lzs
M WEB-INF/lps/lfc/debugger/platform/swf9/LzDebug.as
M WEB-INF/lps/lfc/core/LzNode.lzs
M WEB-INF/lps/lfc/core/LzDefs.lzs
M WEB-INF/lps/server/src/org/openlaszlo/css/CSSHandler.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/ptw-20101203-hiy.tar