Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / table / switch-table-layout-invalidated-section-pointer.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 This test will trigger an assertion failure in debug build if section pointers
5 are not refreshed prior to iterating table cells during table-layout change.
6 <table id="table" style="table-layout:fixed; width: 1px;"><thead></thead></table>
7 <script>
8     if (window.testRunner)
9         testRunner.dumpAsText();
10
11     document.body.offsetTop;
12
13     var table = document.getElementById('table');
14     table.children[0].remove();
15     table.style.setProperty('table-layout', 'auto');
16 </script>
17 </body>
18 </html>