blob: 0d5c3ae4b9b5361f0e4c29bab3f7c3b4dbaa9b03 [file] [log] [blame]
<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
margin: 30px;
}
td {
width: 100px;
height: 50px;
}
.border {
border: 10px solid currentColor;
}
</style>
All borders should change to green.
<table class="border"><tr><td></td></tr></table>
<table><colgroup><col class="border"></colgroup><tr><td></td></tr></table>
<!--
TODO(wangxianzhu): Enable these after crbug.com/626748 is fixed.
<table><tbody class="border"><tr><td></td></tr></tbody></table>
<table><tr class="border"><td></td></tr></table>
-->
<table><tr><td class="border"></td></tr></table>
<script src="../../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
document.body.style.color = 'green';
}, true);
</script>