| // Copyright 2019 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/#layoutedges |
| |
| [ |
| Exposed=LayoutWorklet, |
| ImplementedAs=CustomLayoutEdges, |
| RuntimeEnabled=CSSLayoutAPI |
| ] |
| interface LayoutEdges { |
| readonly attribute double inlineStart; |
| readonly attribute double inlineEnd; |
| |
| readonly attribute double blockStart; |
| readonly attribute double blockEnd; |
| |
| [ImplementedAs=inlineSum] readonly attribute double inline; |
| [ImplementedAs=blockSum] readonly attribute double block; |
| }; |