HI,

I haven't got MDL working completely, but I found the cause of the
problem.  The Span class is extending ContainerBase. That won't work now
because ContainerBase no longer supports MXML children - I moved that into
Container (and Group and View).

I also don't think you need Container for HTML-only stuff like MDL, so I
have changed the HTML classes (A, Div, P, etc) to extend Group. Now a Span
inside of a Span works.

I am looking into MDL's List and probably a few others. In the end, the
MDL library should be better.

Thanks for your help.
‹peter

On 4/1/17, 1:46 PM, "piotrz" <piotrzarzyck...@gmail.com> wrote:

>Peter,
>
>I got it! :) After 3 hours of fight I was able to expose problem. I've
>prepared simple application where you can reproduce it [1].
>
>In general for some reason compiler is not generating second span:
>
>
>     - this span will be missing in HTML.
>
>
>If you launch even simpler application than my example [2] you will see in
>the HTML DOM that second span is missing:
>
><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>ex-development.2333347.n4.nabble.com%2Ffile%2Fn60950%2Fspan_span.png&data=
>02%7C01%7C%7Ce4cd079979434e380a9d08d479283621%7Cfa7b1b5a7b34438794aed2c178
>decee1%7C0%7C0%7C636266660989299044&sdata=gOO6acfka%2FGYGhqe5OQohzzCLtX%2B
>SRj9wb82Rn%2BxK8E%3D&reserved=0>
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2
>Fu%2Fs!ApVpLyjpHDC2zQBWadDWCpbMMBKM&data=02%7C01%7C%7Ce4cd079979434e380a9d
>08d479283621%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6362666609892990
>44&sdata=%2BTzTxfZpu9sHw3x4gZfMliboJRM70Hubh9QA0tHxCBY%3D&reserved=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2F7ImM&data=02%7C01%7C%7Ce4cd079979434e380a9d08d479283621%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636266660989309056&sdata=yo6gCdGzzUvY
>Yy%2BcxBjgnhODWW7RhB44ijWLmaEgR7U%3D&reserved=0
>
>Piotr
>
>
>
>-----
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-MDL-Help-Needed-tp60946p60950
>.html&data=02%7C01%7C%7Ce4cd079979434e380a9d08d479283621%7Cfa7b1b5a7b34438
>794aed2c178decee1%7C0%7C0%7C636266660989309056&sdata=FDbFl1ZyQ25CZ1b1f%2BW
>qpms4RwUx0B9Q2lk1ry7y%2FAQ%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to