WordPress at a glance
function is not described

Pelago\Emogrifier\HtmlProcessor

CssToAttributeConverter::mapCssToHtmlAttribute() private WC 1.0

Tries to apply the CSS style to $node as an attribute.

This method maps a CSS rule to HTML attributes and adds those to the node.

{} It's a method of the class: CssToAttributeConverter{}

No Hooks.

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->mapCssToHtmlAttribute( $property, $value, \DOMElement $node );
$property(string) (required)
the name of the CSS property to map
$value(string) (required)
the value of the style rule to map
\DOMElement $node (required)
-

Code of CssToAttributeConverter::mapCssToHtmlAttribute() WC 5.4.1

<?php
private function mapCssToHtmlAttribute($property, $value, \DOMElement $node)
{
    if (!$this->mapSimpleCssProperty($property, $value, $node)) {
        $this->mapComplexCssProperty($property, $value, $node);
    }
}