wpt / css / css-content / quotes-lang-dynamic-001.html

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-content/quotes-lang-dynamic-001.html

<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: changing the lang attribute affects quotes</title>
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh.work@gmail.com">
<link rel="match" href="reference/quotes-lang-dynamic-001-ref.html">
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">

<div id="root" lang="en"><q>First letter</q></div>

<script>
  document.body.offsetTop;
  root.setAttribute('lang', 'fr');
</script>

/css/css-content/reference/quotes-lang-dynamic-001-ref.html

<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: changing the lang attribute affects quotes</title>
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh.work@gmail.com">
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">

<div>&#xab;First letter&#xbb;</div>