Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-content/quotes-lang-dynamic-001.html - WPT Dashboard Interop Dashboard
<!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">
<div id="root" lang="en"><q>First letter</q></div>
<script>
document.body.offsetTop;
root.setAttribute('lang', 'fr');
</script>