class final Optional · pdftoolkit/pdf-to-html 0.8.4
PDF\Html\Html\CssSafetyFilterBounded CSS subset: declarations and nested supports/media, without fetched resources.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\Html\DerivationLimits $limits)Declared methods
declarationText()
public function declarationText(string $text): stringPreserve declaration order, including repeated browser fallback properties.declarations()
public function declarations(array $declarations): array@param array<string, string> $declarations
@return array<string, string>mergeDeclarations()
public function mergeDeclarations(string $text, array $overrides): string@param array<string, string> $overrides Explicit PDF CSS replaces the corresponding HTML style properties.stylesheet()
public function stylesheet(string $text): stringProperties
| Declaration | Origin and documentation |
|---|---|
public array $diagnostics | PDF\Html\Html\CssSafetyFilter@var list<Diagnostic> |