- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 09 May 2018 22:22:17 +0000
- To: public-houdini-archive@w3.org
tabatkins has just created a new issue for https://github.com/w3c/css-houdini-drafts:
== [css-layout-api] childBreakTokens attribute should be FrozenArray<ChildBreakToken> ==
_From @foolip on May 9, 2018 11:26_
https://drafts.css-houdini.org/css-layout-api/#breaking-and-fragmentation
```WebIDL
[Exposed=LayoutWorklet]
interface BreakToken {
readonly attribute sequence<ChildBreakToken> childBreakTokens;
readonly attribute any data;
};
```
Per [Web IDL](https://heycam.github.io/webidl/#idl-sequence), "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 https://github.com/tidoust/reffy-reports/issues/3#issuecomment-387550183.
_Copied from original issue: w3c/csswg-drafts#2662_
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/758 using your GitHub account
Received on Wednesday, 9 May 2018 22:22:28 UTC