Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.DOM.BoxModel
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { BoxModel } = default.DOM;

Box model.

Properties

content: Quad

Content box

padding: Quad

Padding box

border: Quad

Border box

margin: Quad

Margin box

width: integer

Node width

height: integer

Node height

optional
shapeOutside: ShapeOutsideInfo

Shape outside coordinates