chromium/third_party/blink/renderer/core/layout/custom/layout_constraints.idl

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://drafts.css-houdini.org/css-layout-api/#layoutconstraints

[
  Exposed=LayoutWorklet,
  ImplementedAs=CustomLayoutConstraints,
  RuntimeEnabled=CSSLayoutAPI
]
interface LayoutConstraints {
  readonly attribute double fixedInlineSize;
  readonly attribute double? fixedBlockSize;

  // readonly attribute double availableInlineSize;
  // readonly attribute double availableBlockSize;

  // readonly attribute double percentageInlineSize;
  // readonly attribute double percentageBlockSize;

  [CallWith=ScriptState] readonly attribute any data;
};