Open bfgeek opened 6 years ago
Some other quick compat examples. :)
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=5870
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=5871
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=5874
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=5875
The Working Group just discussed LayoutConstraints object - Are we ok with exposing information we don't have compat on?
.
This primarily comes up with orthog. writing modes, e.g.
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=5867
If
#cross
was controlled by the layout API (display: layout(foo)
) it would get:In chrome/webkit:
In edge:
In FF
As a basic example.
STOP! DON'T ARGUE ABOUT WHO IS CORRECT HERE AT THE MOMENT
Are we fine with giving the layout API different answers for different engines, and working towards compat in parallel?
Do we initially write tests for the LayoutConstraints object we know we have compat on?
Do we scope down the layout API initially in V1 and only accept
LayoutOptions.sizing='block-like
and only expose:As we strictly don't require knowing the percentage/available sizes when our inline/block size are determined by the engine.