Table of contents
Namespace: Com\Tecnick\Pdf\HTML
trait StyleText
Source: src/HTML/StyleText.php:43
CSS style attribute parsing: display, position, font, list, text and spacing properties.
Methods
parseHTMLStyleAttributes()
Parse HTML DOM Style attributes.
public parseHTMLStyleAttributes(array<int,THTMLDOMNode> &$dom, int $key, int $parentkey): void
Parameters:
$dom(array<int,THTMLDOMNode>)$key(int): key of the current HTML tag.$parentkey(int): Key of the parent element.
Throws:
Source: src/HTML/StyleText.php:55