On 3/5/17, 10:15 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>The code is JS-only, so I think I agree as well.
>
>Disallowing valid JS values just because it does not work on the swf side
>seems silly if the code has no cost on the SWF side.

How will we achieve parity on the SWF side?  And keep the SWF
implementation simple.  SWF only knows about "bold" and "normal".  That's
one reason SimpleCSSStylesImpl is "simple".

Having reasonably good fidelity between SWF and JS is a good thing.  This
JS-only code is fine, but belongs in a different class and/or component
set where more code can run to approximate numeric FontWeight or there
isn't a promise of SWF/JS fidelity.  We do need to eventually do more
sophisticated CSS on the SWF side.  Maybe now is the time to start that.

Thanks,
-Alex

Reply via email to