blob: 110744df5792f387741c5af4461a0dbb4757ade0 [file] [log] [blame]
// 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 double? baseline;
[CallWith=ScriptState] readonly attribute any data;
};