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

Why are dictionaries disallowed for attribute types? #938

Open
saschanaz opened this issue Nov 16, 2020 · 2 comments · May be fixed by #940
Open

Why are dictionaries disallowed for attribute types? #938

saschanaz opened this issue Nov 16, 2020 · 2 comments · May be fixed by #940

Comments

@saschanaz
Copy link
Member

saschanaz commented Nov 16, 2020

9e764b7 disallowed it but with no background. Does anyone have an idea why?

(Found it from w3c/deviceorientation#90)

Edit: I guess because they are also copied as sequences are?

@domenic
Copy link
Member

domenic commented Nov 16, 2020

Yes, because they are copied as sequences are, so you'd fail to have x.attr === x.attr.

@saschanaz
Copy link
Member Author

Thanks!

Currently the sequence section says it's disallowed for attributes but the dictionary section does not, so the work item here would be add a corresponding prose with notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants