function assertInlinedStyles(expectedHtml, originalHtml) {
  const inlinedHtml = inlineStyleRulesString(originalHtml);
  dom.assertHtmlMatches(
      expectedHtml, inlinedHtml, true /* opt_strictAttributes */);
}
Inlines the rules in STYLE tags in the original HTML and asserts that it is
the same as the expected HTML.
@param {string} expectedHtml
@param {string} originalHtml