| <!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> |
| |