applyStyle method
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);
}