3 This is a test of dynamic rem unit scaling. Changes to the root element's font size need to cause dependent elements in the document tree
5 <div style=
"font-size:10px">
6 This text should be small.
7 <div style=
"font-size:calc(0% + 1rem)">
8 This text should match the root (and be
24px).
12 document
.body
.offsetWidth
;
13 document
.documentElement
.style
.fontSize
= '24px';