Skip to content

Commit ee340b3

Browse files
[css-layout-api-1] Align with Web IDL specification (w3c#964)
* [css-layout-api-1] Align with Web IDL specification * [css-layout-api-1] Align with Web IDL specification * expose to LayoutWorklet, not Window Co-authored-by: Tab Atkins Jr <jackalmage@gmail.com>
1 parent b0b4495 commit ee340b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-layout-api/Overview.bs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1587,8 +1587,9 @@ dictionary FragmentResultOptions {
15871587
BreakTokenOptions breakToken = null;
15881588
};
15891589

1590-
[Constructor(optional FragmentResultOptions options)]
1590+
[Exposed=LayoutWorklet]
15911591
interface FragmentResult {
1592+
constructor(optional FragmentResultOptions options = {});
15921593
readonly attribute double inlineSize;
15931594
readonly attribute double blockSize;
15941595
};

0 commit comments

Comments
 (0)