1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<style id="a"> .z { marker-mid: url(#blah); display: inline-table; contain: layout size; } </style> <script> function go() { f.width; a.appendChild(d); } </script> <body onload="go()"> <base href="x"></base> <div class="z"> <img id="f"> <datalist id="d"></datalist> </div> </body>