Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
CssInliner::normalizeStyleAttributesOfAllNodes()
Parses the document and normalizes all existing CSS attributes.
Description Description
This changes ‘DISPLAY: none’ to ‘display: none’. We wouldn’t have to do this if DOMXPath supported XPath 2.0. Also stores a reference of nodes with existing inline styles so we don’t overwrite them.
Return Return
(void)
Source Source
File: vendor/pelago/emogrifier/src/Emogrifier/CssInliner.php