OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../../resources/testharness.js"></script> |
| 3 <script src="../../../resources/testharnessreport.js"></script> |
| 4 <style> |
| 5 #a + #b * { color: pink } |
| 6 </style> |
| 7 <p>Should not assert/crash.</p> |
| 8 <div id="p"> |
| 9 <div id="b"> |
| 10 <div></div> |
| 11 </div> |
| 12 </div> |
| 13 <script> |
| 14 test(() => { |
| 15 p.offsetTop; |
| 16 var a = document.createElement("div"); |
| 17 a.id = "a"; |
| 18 p.insertBefore(a, b); |
| 19 assert_true(true, "Reached end of insert without triggering assert."); |
| 20 }, "Scheduling sibling set with wholeSubtreeInvalid should not cause asserts
."); |
| 21 </script> |
OLD | NEW |