Skip to content

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

Closed
@tabatkins

Description

@tabatkins

From @foolip on May 9, 2018 11:26

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).

Copied from original issue: w3c/csswg-drafts#2662

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions