Merge "[Release] Webkit2-efl-123997_0.11.51" into tizen_2.1
[framework/web/webkit-efl.git] / LayoutTests / accessibility / dimensions-include-descendants.html
1 <!DOCTYPE HTML>
2 <div style = "height: 150px;">
3     <a href="#" id="link1"><div style="width: 20px; height: 20px; display: inline-block"></div><div style="width: 80px; height: 100px; float: left;"></div></a>
4 </div>
5 <div style = "height: 150px;">
6     <a href="#" id="link2"><div style="width: 100px; height: 96px; position: relative; display: inline-block;"></div></a>
7 </div>
8 <div id="result"></div>
9 <script>
10     if (window.accessibilityController) {
11         testRunner.dumpAsText();
12
13         document.getElementById("link1").focus();
14         var link1 = accessibilityController.focusedElement;
15         document.getElementById("link2").focus();
16         var link2 = accessibilityController.focusedElement;
17
18         document.getElementById("result").innerText = "link 1 dimensions: " + link1.width + " x " + link1.height + "; link 2 dimensions: " + link2.width + " x " + link2.height;
19     }
20 </script>