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::removeImportantAnnotationFromNodeInlineStyle( DOMElement $node )
Removes the “!important” annotations out of the inline style declarations, eventually by rearranging declarations.
Description Description
Rearranging needed when !important shorthand properties are followed by some of their not !important expanded-version properties. For example "font: 12px serif !important; font-size: 13px;" must be reordered to "font-size: 13px; font: 12px serif;" in order to remain correct.
Parameters Parameters
- $node
-
(Required)
Return Return
(void)
Source Source
File: vendor/pelago/emogrifier/src/Emogrifier/CssInliner.php