WebIDLpedia

LayoutChild interface

Definition

CSS Layout API Level 1 defines LayoutChild



[Exposed=LayoutWorklet]
interface LayoutChild {
    readonly attribute StylePropertyMapReadOnly styleMap;

    Promise<IntrinsicSizes> intrinsicSizes();
    Promise<LayoutFragment> layoutNextFragment(LayoutConstraintsOptions constraints, ChildBreakToken breakToken);
};

Methods and attributes that return objects implementing LayoutChild

Referring IDL interfaces/dictionaries