Home | History | Annotate | Download | only in CSSStyleDeclaration
      1 This test checks that access to CSS properties via JavaScript properties on DOM elements is case sensitive.
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 
      6 normal cases
      7 
      8 PASS element.style.zIndex is '1'
      9 PASS element.style.ZIndex is undefined.
     10 
     11 "css" prefix
     12 
     13 PASS element.style.cssZIndex is '1'
     14 PASS element.style.CssZIndex is '1'
     15 PASS element.style.CsszIndex is undefined.
     16 PASS element.style.csszIndex is undefined.
     17 
     18 "pixel" prefix
     19 
     20 PASS element.style.pixelZIndex is 1
     21 PASS element.style.PixelZIndex is 1
     22 PASS element.style.pixelzIndex is undefined.
     23 PASS element.style.PixelzIndex is undefined.
     24 
     25 "pos" prefix
     26 
     27 PASS element.style.posZIndex is 1
     28 PASS element.style.PosZIndex is 1
     29 PASS element.style.poszIndex is undefined.
     30 PASS element.style.PoszIndex is undefined.
     31 PASS successfullyParsed is true
     32 
     33 TEST COMPLETE
     34 
     35