| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <script src="../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
| 4 | 4 |
| 5 <!-- | 5 <!-- |
| 6 This is a test of the new (June 2016) bounds calculation code, | 6 This is a test of the new (June 2016) bounds calculation code, |
| 7 in which every node in the accessibility tree specifies its | 7 in which every node in the accessibility tree specifies its |
| 8 bounding box and optional matrix transform relative to an | 8 bounding box and optional matrix transform relative to an |
| 9 ancestor object in the tree. | 9 ancestor object in the tree. |
| 10 | 10 |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 </div> | 261 </div> |
| 262 | 262 |
| 263 <script> | 263 <script> |
| 264 test(function(t) { | 264 test(function(t) { |
| 265 assertHasTransform("container7", false); | 265 assertHasTransform("container7", false); |
| 266 assertHasTransform("span7", false); | 266 assertHasTransform("span7", false); |
| 267 assertDOMRectSameAsAXRect("span7"); | 267 assertDOMRectSameAsAXRect("span7"); |
| 268 }, "Test spans inside of absolute-positioned container"); | 268 }, "Test spans inside of absolute-positioned container"); |
| 269 </script> | 269 </script> |
| 270 | 270 |
| 271 <div class="container"> |
| 272 Before |
| 273 <span id="span8" style="position:relative;">After</span> |
| 274 </div> |
| 275 |
| 276 <script> |
| 277 test(function(t) { |
| 278 assertStaticTextChildDOMRectSameAsAXRect("span8", 0); |
| 279 }, "Test node that's inline and relative-positioned"); |
| 280 </script> |
| 281 |
| 271 <script> | 282 <script> |
| 272 if (window.testRunner) | 283 if (window.testRunner) |
| 273 document.body.className = "hideAllContainers"; | 284 document.body.className = "hideAllContainers"; |
| 274 </script> | 285 </script> |
| OLD | NEW |