flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: git commit: [flex-asjs] [refs/heads/develop] - Add JS support for non pixel numeric properties ie fontWeight
Date Wed, 15 Mar 2017 16:20:46 GMT


On 3/15/17, 12:17 AM, "Harbs" <harbs.lists@gmail.com> wrote:

>Alex,
>
>I agree with Justin on this. I don’t see why numeric font weights is
>different than backgroundImage for example. Not every app uses
>backgroundImage, but it should work if used. The same should be for
>numeric font weights considering fontWeight is a supported style.
>
>If anything, I could hear an argument that the simplest implementation
>should be even simpler than it currently is and only handle strings which
>could be used without conversion. The “simplest useful implementation”
>should contain Justin’s fix.

The point is that we should be allowed to have subsets of functionality.
That has been the intent of SimpleCSSStylesImpl for years. If there is a
lower starting point, let's discuss what that would be.  But I claim that
because our examples and all existing Flex apps currently run without
numeric font weight support, that said support is just-in-case and not in
the minimum set for "usefulness".

Thanks,
-Alex

Mime
View raw message