HtmlPruner::removeRedundantClassesAfterCssInlined( PelagoEmogrifierCssInliner $cssInliner )

After CSS has been inlined, there will likely be some classes in class attributes that are no longer referenced by any remaining (uninlinable) CSS. This method removes such classes.


Description Description

Note that it does not inspect the remaining CSS, but uses information readily available from the CssInliner instance about the CSS rules that could not be inlined.


Parameters Parameters

$cssInliner

(Required) object instance that performed the CSS inlining


Top ↑

Return Return

(self) fluent interface


Top ↑

Source Source

File: vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.