summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1379041.html
blob: 29e73340eb45db1818583ccd7f39ea51319c7455 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<html style="font-size: 8px">
<div style="font-size: 2rem">Should be 16px black text.</div>
<script>
window.onload = function() {
  let div = document.querySelector('div');
  window.getDefaultComputedStyle(div).color;
  div.style.color = "black";
}
</script>
</html>