summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/custom/layout_fragment.idl
blob: 997f257e8f9e24881c5102bb217548cb3bef487a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2018 The Chromium Authors. All rights reserved.
// 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/#layoutfragment

[
  Exposed=LayoutWorklet,
  ImplementedAs=CustomLayoutFragment,
  RuntimeEnabled=CSSLayoutAPI
]
interface LayoutFragment {
  readonly attribute double inlineSize;
  readonly attribute double blockSize;

  attribute double inlineOffset;
  attribute double blockOffset;

  // readonly attribute any data;
};