Commit 2173679a authored by Xianzhu Wang's avatar Xianzhu Wang Committed by Commit Bot

Add tests for table/row/row-group directions

BUG=727173

Change-Id: Idb20e6d81192865d125c802e40ef58ab1960ffbd
Reviewed-on: https://chromium-review.googlesource.com/545136
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#481909}
parent 0bde45e4
......@@ -262,6 +262,9 @@ crbug.com/711807 external/wpt/css/CSS2/normal-flow/replaced-intrinsic-002.xht [
crbug.com/711807 external/wpt/css/CSS2/normal-flow/width-applies-to-012.xht [ Skip ]
crbug.com/711807 external/wpt/css/CSS2/normal-flow/width-inherit-001.xht [ Skip ]
crbug.com/727173 external/wpt/html/rendering/non-replaced-elements/tables/table-row-direction.html [ Failure ]
crbug.com/727173 external/wpt/html/rendering/non-replaced-elements/tables/table-row-group-direction.html [ Failure ]
#### third_party/WebKit/LayoutTests/overflow
#### Passed: 6
#### Failed: 3
......
<!DOCTYPE html>
<title>Table direction</title>
<style>
table {
border-collapse: collapse;
}
td {
border: 2px solid black;
width: 20px;
height: 20px;
}
td.special {
border-left: 5px solid green;
border-right: 5px solid blue;
}
</style>
Normal table:
<table>
<tr>
<td></td>
<td class="special"></td>
</tr>
</table>
<hr>
RTL table:
<table>
<tr>
<td class="special"></td>
<td></td>
</tr>
</table>
<!DOCTYPE html>
<link rel="match" href="table-direction-ref.html">
<title>Table direction</title>
<style>
table {
border-collapse: collapse;
}
td {
border: 2px solid black;
width: 20px;
height: 20px;
}
td.special {
border-left: 5px solid green;
border-right: 5px solid blue;
}
</style>
Normal table:
<table>
<tr>
<td></td>
<td class="special"></td>
</tr>
</table>
<hr>
RTL table:
<table style="direction: rtl">
<tr>
<td></td>
<td class="special"></td>
</tr>
</table>
<!DOCTYPE html>
<title>Table row direction</title>
<style>
table {
border-collapse: collapse;
}
td {
border: 2px solid black;
width: 20px;
height: 20px;
}
td.special {
border-left: 5px solid green;
border-right: 5px solid blue;
}
</style>
Normal table with LTR and RTL rows:
<table>
<tr>
<td></td>
<td class="special"></td>
</tr>
<tr>
<td></td>
<td class="special"></td>
</tr>
</table>
<hr>
RTL table with LTR and RTL rows:
<table>
<tr>
<td class="special"></td>
<td></td>
</tr>
<tr>
<td class="special"></td>
<td></td>
</tr>
</table>
<!DOCTYPE html>
<link rel="match" href="table-row-direction-ref.html">
<title>Table row direction</title>
<style>
table {
border-collapse: collapse;
}
td {
border: 2px solid black;
width: 20px;
height: 20px;
}
td.special {
border-left: 5px solid green;
border-right: 5px solid blue;
}
</style>
Normal table with LTR and RTL rows:
<table>
<tr style="direction: ltr">
<td></td>
<td class="special"></td>
</tr>
<tr style="direction: rtl">
<td></td>
<td class="special"></td>
</tr>
</table>
<hr>
RTL table with LTR and RTL rows:
<table style="direction: rtl">
<tr style="direction: ltr">
<td></td>
<td class="special"></td>
</tr>
<tr style="direction: rtl">
<td></td>
<td class="special"></td>
</tr>
</table>
<!DOCTYPE html>
<title>Table row-group direction</title>
<style>
table {
border-collapse: collapse;
}
td {
border: 2px solid black;
width: 20px;
height: 20px;
}
td.special {
border-left: 5px solid green;
border-right: 5px solid blue;
}
</style>
Normal table with LTR and RTL row groups:
<table>
<tr>
<td></td>
<td class="special"></td>
</tr>
<tr>
<td></td>
<td class="special"></td>
</tr>
</table>
<hr>
RTL table with LTR and RTL row groups:
<table>
<tr>
<td class="special"></td>
<td></td>
</tr>
<tr>
<td class="special"></td>
<td></td>
</tr>
</table>
<!DOCTYPE html>
<link rel="match" href="table-row-group-direction-ref.html">
<title>Table row-group direction</title>
<style>
table {
border-collapse: collapse;
}
td {
border: 2px solid black;
width: 20px;
height: 20px;
}
td.special {
border-left: 5px solid green;
border-right: 5px solid blue;
}
</style>
Normal table with LTR and RTL row groups:
<table>
<tbody style="direction: ltr">
<tr>
<td></td>
<td class="special"></td>
</tr>
</tbody>
<tbody style="direction: rtl">
<tr>
<td></td>
<td class="special"></td>
</tr>
</tbody>
</table>
<hr>
RTL table with LTR and RTL row groups:
<table style="direction: rtl">
<tbody style="direction: ltr">
<tr>
<td></td>
<td class="special"></td>
</tr>
</tbody>
<tbody style="direction: rtl">
<tr>
<td></td>
<td class="special"></td>
</tr>
</tbody>
</table>
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