Automattic\WooCommerce\Vendor\Sabberworm\CSS\CSSList
Document::expandShorthands
Deprecated since since 8.7.0, will be removed without substitution in version 9.0 in #511. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Expands all shorthand properties to their long value.
Method of the class: Document{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Document = new Document(); $Document->expandShorthands();
Changelog
| Deprecated | Since 8.7.0 | , will be removed without substitution in version 9.0 in #511 |
Document::expandShorthands() Document::expandShorthands code WC 10.5.0
public function expandShorthands()
{
foreach ($this->getAllDeclarationBlocks() as $oDeclaration) {
$oDeclaration->expandShorthands();
}
}