Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

out of date https://css-houdini.rocks/svg-path-layout (and other async based demos) #6

Closed
laurentperez opened this issue Aug 27, 2019 · 2 comments

Comments

@laurentperez
Copy link

Hi

Chrome Canary M78

78.0.3887.0 (Build officiel) canary (64 bits)
Révision | 8a7bd486e7da7bfcc2cc336ef162d6400de4e57a-refs/branch-heads/3887@{#1}

https://css-houdini.rocks/svg-path-layout used to work fine
Now it console logs

The layout function must be async or return a promise, falling back to block layout.

This is due to https://chromium.googlesource.com/chromium/src/+/9c224451fb63df743fbd510052458e088a438517

Is an update planned ?

(posted orignaly as w3c/css-houdini-drafts#934)

@iamvdo
Copy link
Owner

iamvdo commented Sep 19, 2019

Thanks for the issue.
Not sure how to handle this. Converting intrinsicSizes() and layout() functions from generators to promises do not seem to work as-is.
Plus, it fails in versions <78.

So, I will wait for now. Follow GoogleChromeLabs/houdini-samples#62

@iamvdo
Copy link
Owner

iamvdo commented Dec 5, 2019

Fix with 7f9a93d

@iamvdo iamvdo closed this as completed Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants