
This CL moves third_party/WebKit/LayoutTests to third_party/blink/web_tests. NOTRY=true NOAUTOREVERT=true NOPRESUBMIT=true NOTREECHECKS=true TBR=robertma@chromium.org Bug: 843412 Change-Id: Ibb588b93d1579bcd1cb68df0a50efd8653f8724f Reviewed-on: https://chromium-review.googlesource.com/c/1328627 Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#610740}
28 lines
846 B
HTML
28 lines
846 B
HTML
<!DOCTYPE html>
|
|
<script src="../resources/testharness.js"></script>
|
|
<script src="../resources/testharnessreport.js"></script>
|
|
|
|
<p>PASS if no crash or assertion failure.</p>
|
|
<div id="container" style="direction:rtl;">
|
|
<div style="display:table-cell;"></div>
|
|
<div id="remove1" style="display:table-cell;"></div>
|
|
<div id="remove2" style="display:table-cell;"></div>
|
|
<div id="rowLater" style="display:none;"></div>
|
|
</div>
|
|
<script>
|
|
test(() => {
|
|
var cell = document.createElement('td');
|
|
cell.setAttribute('colspan', '3');
|
|
cell.style.display = "none";
|
|
rowLater.appendChild(cell);
|
|
|
|
document.body.offsetTop;
|
|
remove1.style.display = "none";
|
|
remove2.style.display = "none";
|
|
rowLater.style.display = "table-row";
|
|
|
|
document.body.offsetTop;
|
|
cell.style.display = "table-cell";
|
|
}, "No crash or assertion failure.");
|
|
</script>
|