image-appearance-dynamic.xhtml (653B)
1 <?xml version="1.0"?> 2 <!-- 3 Any copyright is dedicated to the Public Domain. 4 http://creativecommons.org/publicdomain/zero/1.0/ 5 --> 6 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait"> 7 <style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ 8 image { 9 list-style-image: url(colors-16x8.png); 10 } 11 .tweak { 12 -moz-appearance: button-arrow-up; 13 } 14 ]]></style> 15 <hbox> 16 <image/> 17 </hbox> 18 <script> 19 window.addEventListener("load", function() { 20 document.querySelector("image").className = "tweak"; 21 document.documentElement.className = ""; 22 }); 23 </script> 24 </window>