applyStyle method

void applyStyle(
  1. CSSStyleDeclaration style
)

Implementation

void applyStyle(CSSStyleDeclaration style) {
  // Apply default style.
  applyDefaultStyle(style);
  // Init display from style directly cause renderStyle is not flushed yet.
  renderStyle.initDisplay(style);

  applyAttributeStyle(style);
  applyInlineStyle(style);
  _applySheetStyle(style);
  _applyPseudoStyle(style);
}