initDisplay method

void initDisplay(
  1. CSSStyleDeclaration style
)

Implementation

void initDisplay(CSSStyleDeclaration style) {
  // Must take from style because it inited before flush pending properties.
  _display ??= resolveDisplay(style[DISPLAY]);
}