Index: LayoutTests/fast/table/resize-table-using-col-height-vertical-writing-mode.html |
diff --git a/LayoutTests/fast/table/resize-table-using-col-height-vertical-writing-mode.html b/LayoutTests/fast/table/resize-table-using-col-height-vertical-writing-mode.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..92adcc7fbf2772b9eb0293a4aa1efac176d08539 |
--- /dev/null |
+++ b/LayoutTests/fast/table/resize-table-using-col-height-vertical-writing-mode.html |
@@ -0,0 +1,25 @@ |
+<style> |
mstensho (USE GERRIT)
2015/01/12 09:05:50
Still need <!DOCTYPE html> here and in all other t
|
+ col { height: 200px; } |
+ td { background-color: #66f; height: 25px; } |
+</style> |
+<script type="text/javascript"> |
+ onload = function () { |
+ var col = document.getElementById('thecol'); |
+ col.offsetTop; |
+ col.style.height="100px"; |
+ checkLayout("td", document.getElementById("test-output")); |
+ } |
+</script> |
+<script src="../../resources/check-layout.js"></script> |
+Tests that the height of table cell changes on changing the colgroup height to new height. |
+<table style="-webkit-writing-mode: vertical-lr"> |
+ <colgroup> |
+ <col id="thecol"> |
+ </colgroup> |
+ <tbody> |
+ <tr> |
+ <td data-expected-height="100">Hello World</td> |
+ </tr> |
+ </tbody> |
+</table> |
+<div id="test-output"></div> |