@@ -189,7 +189,7 @@ const
type
TFresnelCSSUnit = (
- fcuPercent,
+ fcuPercent, // % relative to 1% of the containing block's width/height
fcu_cm, // centimeters
fcu_mm, // milimeters
fcu_ch, // relative to the width of the "0" (zero)
@@ -1252,7 +1252,7 @@ begin
// convert aNumber to pixels
case p^ of
- '%': aNumber:=aNumber*GetPixPerUnit(El,fcuPercent,IsHorizontal); // relative to the parent element
+ '%': aNumber:=aNumber*GetPixPerUnit(El,fcuPercent,IsHorizontal);
'c':
case p[1] of
'm': // cm centimeters