Documentation ¶
Index ¶
- func Generate(html string, css string, out string) (err error)
- func GenerateFromString(html string, css string, out string) (err error)
- func GetTotalFrom(ml, mr, bl, br, pl, pr Value) float64
- type AnonymousBlock
- type BlockNode
- type Color
- type Declaration
- type Dimensions
- type DisplayCommand
- type EdgeSizes
- type ElementData
- type InlineNode
- type LayoutBox
- type Length
- type MatchedRule
- type Node
- type NodeType
- type Parser
- type Rect
- type Rule
- type SimpleSelector
- type SolidColor
- type SortBySpec
- type Specificity
- type StyleNode
- type Stylesheet
- type Text
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTotalFrom ¶
Types ¶
type AnonymousBlock ¶
type AnonymousBlock struct{}
type Declaration ¶
type Declaration struct {
// contains filtered or unexported fields
}
type Dimensions ¶
type Dimensions struct {
// contains filtered or unexported fields
}
type DisplayCommand ¶
type DisplayCommand struct {
// contains filtered or unexported fields
}
type ElementData ¶
type ElementData struct {
// contains filtered or unexported fields
}
type InlineNode ¶
type InlineNode struct{}
type LayoutBox ¶
type LayoutBox struct {
// contains filtered or unexported fields
}
func NewLayoutBox ¶
type MatchedRule ¶
type MatchedRule struct {
// contains filtered or unexported fields
}
type SimpleSelector ¶
type SimpleSelector struct {
// contains filtered or unexported fields
}
type SolidColor ¶
type SolidColor struct {
// contains filtered or unexported fields
}
type SortBySpec ¶
type SortBySpec map[int]MatchedRule
func (SortBySpec) Len ¶
func (a SortBySpec) Len() int
func (SortBySpec) Less ¶
func (a SortBySpec) Less(i, j int) bool
func (SortBySpec) Swap ¶
func (a SortBySpec) Swap(i, j int)
type Specificity ¶
type Specificity struct {
// contains filtered or unexported fields
}
type Stylesheet ¶
type Stylesheet struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.