Change change.bd1JLHQfH.txt by ben@cooper.local /Users/ben/src/svn/openlaszlo/trunk-cssbugfix on 2006-09-10 14:13:16 PDT
Change change.bd1JLHQfH.txt by ben@cooper.local /Users/ben/src/svn/openlaszlo/trunk-cssbugfix on 2006-09-10 14:13:16 PDT

Summary: Test case demonstrating quirks of how $style works with 

New Features:

Bugs Fixed: LPP-2602 (sort of)  font formatting with $style is broken

Technical Reviewer: wolff
QA Reviewer: frisco
Doc Reviewer: frisco

Documentation:

Using $style to style the following attributes of the <text> element
demonstrably works without complication:
fgcolor 
bgcolor
text

Using $style to style fontsize mostly works, and fontstyle doesn't work. 

Release Notes:

Details:


$style with fonts is implemented enough to get the job done, but 
certain usages of it cause compiler warnings or errors. 

#gt7 {
	stylefontstyle: "bold"; 
} 
combined with 
fontstyle="$style{'stylefontstyle'}" yields a compiler error: 
Unknown style UNDEFINED STYLE

stylefontsize: 18; /* nice big text */ 
combined with
fontsize="$style{'stylefontsize'}" 
yields a compile warning: bad value for attribute "fontsize"
but the font is drawn correctly

Tests:

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@1794 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo