W3C home > Mailing lists > Public > public-houdini@w3.org > May 2019

[css-layout-api] More accessible explanation for intrinsicSizes

From: Bob Hamblok <post@bhamblok.be>
Date: Tue, 7 May 2019 14:16:33 +0200
Message-ID: <CAE8qMXF5RFO4zELSbTYa5XRyMQpUGT=KuZkGdNdyJ4uNQhVSkw@mail.gmail.com>
To: public-houdini@w3.org
Dear all,

After reading the spec, and playing around with some code, I would like to
get to know some more about "when and where" the "intrinsicSizes"-function
would be used.
I notice that Chrome Canary hasn't implemented this feature yet, and I also
don't see an example implementation in "
https://github.com/GoogleChromeLabs/houdini-samples".

I'm particularly wondering:
- what is the purpose of this function anyway :-) ? When I provide a
return-value for the properties "minContentSize" and "maxContentSize", what
behaviour should I expect?
- when is "intrinsicSizes" for each child being invoked? Just before it's
own "layout"-function is being invoked? Or are all
"intrinsicSizes"-functions being invoked for all children (multiple levels
deep) before all "layout"-functions will be invoked?
- will it be possible to return a "data"-object-property, aside from the
"minContentSize" and "maxContentSize" properties?

Thank you so much for your help,


All the best,

*Bob Hamblok | BOAPP GCV*
Freelance Software Engineer | Architect | Consultant
founder at neoScores NV

*EMAIL* post@bhamblok.be
*PHONE* +32 476 74 78 42

*ADDRESS* Peter Benoitstraat 38, BE-2018 Antwerp, Belgium
*VAT* BE0682.695.007
Received on Tuesday, 7 May 2019 12:17:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:53:28 UTC