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

[css-layout-api] childBreakTokens attribute should be FrozenArray<ChildBreakToken> #2662

Closed
foolip opened this issue May 9, 2018 · 1 comment

Comments

@foolip
Copy link
Member

foolip commented May 9, 2018

https://drafts.css-houdini.org/css-layout-api/#breaking-and-fragmentation

[Exposed=LayoutWorklet]
interface BreakToken {
    readonly attribute sequence<ChildBreakToken> childBreakTokens;
    readonly attribute any data;
};

Per Web IDL, "Sequences must not be used as the type of an attribute or constant."

The fix is probably to use FrozenArray<ChildBreakToken> instead.

Found by @tidoust in w3c/webref#3 (comment).

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