Commit bb69db9e authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

html: Split semantics/tabular-data/processing-model-1/span-limits.html into two.

The third test and the forth test are very slow. Split out the latter to
another file.

Bug: https://github.com/web-platform-tests/wpt/issues/11187
Change-Id: I3af14e712b6b06603140666f08005fb18d6a0541
Reviewed-on: https://chromium-review.googlesource.com/1148163Reviewed-by: default avatarTakayoshi Kochi <kochi@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578991}
parent 2caf3d1a
...@@ -3583,9 +3583,6 @@ crbug.com/792437 external/wpt/css/css-multicol/multicol-rule-outset-000.xht [ Fa ...@@ -3583,9 +3583,6 @@ crbug.com/792437 external/wpt/css/css-multicol/multicol-rule-outset-000.xht [ Fa
crbug.com/636055 external/wpt/css/css-multicol/multicol-span-all-margin-nested-002.xht [ Failure ] crbug.com/636055 external/wpt/css/css-multicol/multicol-span-all-margin-nested-002.xht [ Failure ]
crbug.com/792446 external/wpt/css/css-multicol/multicol-span-float-001.xht [ Failure ] crbug.com/792446 external/wpt/css/css-multicol/multicol-span-float-001.xht [ Failure ]
# This test times out on debug builds, see https://crbug.com/755810
crbug.com/626703 [ Debug ] external/wpt/html/semantics/tabular-data/processing-model-1/span-limits.html [ Skip ]
crbug.com/666993 [ Win ] external/wpt/requestidlecallback/callback-idle-periods.html [ Timeout ] crbug.com/666993 [ Win ] external/wpt/requestidlecallback/callback-idle-periods.html [ Timeout ]
# Crashes with DCHECK enabled, but not on normal Release builds. # Crashes with DCHECK enabled, but not on normal Release builds.
......
<!DOCTYPE html>
<title>Limits on rowSpan</title>
<meta name="timeout" content="long">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<table border=1>
<!-- The first column must go one cell below the bottom -->
<tr><td rowspan=65535 id=d1>a<td>
<!-- We'll add another 65534 rows later -->
</table>
<script>
var $ = document.querySelector.bind(document);
test(() => {
var s = "";
for (var i = 0; i < 65532; i++) {
s += "<tr><td>";
}
s += "<tr><td id=d2><tr><td>a<td>";
document.querySelector("table").firstElementChild.innerHTML += s;
assert_equals($("#d1").getBoundingClientRect().bottom,
$("#d2").getBoundingClientRect().bottom);
}, "rowspan of 65535 must be treated as 65534");
</script>
...@@ -23,12 +23,6 @@ ...@@ -23,12 +23,6 @@
<!-- We'll add another 65533 rows later --> <!-- We'll add another 65533 rows later -->
</table> </table>
<table border=1>
<!-- The first column must go one cell below the bottom -->
<tr><td rowspan=65535 id=d1>a<td>
<!-- We'll add another 65534 rows later -->
</table>
<script> <script>
var $ = document.querySelector.bind(document); var $ = document.querySelector.bind(document);
...@@ -53,14 +47,5 @@ test(() => { ...@@ -53,14 +47,5 @@ test(() => {
$("#c2").getBoundingClientRect().bottom); $("#c2").getBoundingClientRect().bottom);
}, "rowspan of 65534 must work"); }, "rowspan of 65534 must work");
test(() => { // See span-limits-2.html too. This test was split into two due to slowness.
var s = "";
for (var i = 0; i < 65532; i++) {
s += "<tr><td>";
}
s += "<tr><td id=d2><tr><td>a<td>";
document.querySelectorAll("table")[3].firstElementChild.innerHTML += s;
assert_equals($("#d1").getBoundingClientRect().bottom,
$("#d2").getBoundingClientRect().bottom);
}, "rowspan of 65535 must be treated as 65534");
</script> </script>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment