-
Xisco Fauli yazdı
add support for font-size keywords. My previous commit fa17cfd7 was wrong as doubles like '-10.0' or '5e1' were ignored. Change logic to parse the whole string but the units ( 'cm', 'mm', etc, etc) Then, value.toDouble() will try to convert it to double, and if it's not possible it will return 0.0. Besides, add support for font-size keywords described here: http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props Working on a parse test for this section. Change-Id: I2b9c89225fcf63f1a0564abf7187097373cbc9a1 Reviewed-on: https://gerrit.libreoffice.org/20379Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
0cae9c32