struct Protocol::DOM::BoxModel

Overview

Box model.

Included Modules

Defined in:

protocol/dom.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def border : Quad #

Border box


[View source]
def content : Quad #

Content box


[View source]
def height : Int::Primitive #

Node height


[View source]
def margin : Quad #

Margin box


[View source]
def padding : Quad #

Padding box


[View source]
def shape_outside : ShapeOutsideInfo | Nil #

Shape outside coordinates


[View source]
def width : Int::Primitive #

Node width


[View source]