recomputeRootFontSize function

void recomputeRootFontSize()

Forces re-computation of the font size of the HtmlDocument.

Not necessary when using onRemChange.

Implementation

void recomputeRootFontSize() {
  var latestRootFontSize = _computeRootFontSize();

  if (latestRootFontSize != _rootFontSize) {
    _rootFontSize = latestRootFontSize;
    _remChange.add(_rootFontSize);
  }
}