3 ms·
Constraints based system is the way to go. And yes, it should be native replacement for CSS- a DOM property called constraints instead of style. Unfortunately,
by goldenkey 12y ago
Constraints based system is the way to go. And yes, it should be native replacement for CSS- a DOM property called constraints instead of style. Unfortunately, JS has to be used for now. [1] As for parallelism, we still have web workers for the solving of constraints computations.
http://gridstylesheets.org http://gridstylesheets.org [1]
- pcwalton 12y ago> As for parallelism, we still have web workers for the solving of constraints computations. I am confident that the lack of shared memory, along with the heavyweight nature of web workers, means that any attempt to use web workers to perform parallel layout will be slower than sequential.
- goldenkey 12y agoYou are correct. A native solution with a dedicated thread would be amazing.