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

what are the defaults for styles not explicitly specified in the data model? #49

Open
ijprest opened this issue Mar 17, 2022 · 0 comments

Comments

@ijprest
Copy link

ijprest commented Mar 17, 2022

The explainer documents don't explicitly state this anywhere, and probably should.

I suspect we want the default "font" properties (size, face, etc.) to come from the canvas' 2d context, or at least as much as possible.

What are the defaults for other CSS properties? Do we inherit values from the <canvas> tag? From the body/document? Other?

Thinking aloud: Taking values from any existing element might (?) pose invalidation issues.

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

1 participant