Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: LayoutTests/fast/table/resize-table-using-col-height-vertical-writing-mode.html

Issue 151993004: Col width is not honored when dynamically updated and it would not make table narrower (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added new test cases as per suggestion. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/table/resize-table-using-col-height-vertical-writing-mode-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..98ff2f3f8fb89ce4e4e3282ac45d4dab14ffe167
--- /dev/null
+++ b/LayoutTests/fast/table/resize-table-using-col-height-vertical-writing-mode.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ col {
+ height: 200px;
+ }
+ td {
+ background-color: #66f;
+ height: 25px;
+ }
+ </style>
+ <script type="text/javascript">
+ function runTest() {
+ var col = document.getElementById('thecol');
+ col.offsetTop;
+ col.style.height="100px";
+ window.checkLayout("td", document.getElementById("test-output"));
+ }
+ </script>
+ <script src="../../resources/check-layout.js"></script>
+ </head>
+ <body onload="runTest()">
+ 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 id="colWidth" data-expected-height="100">Hello World</td>
+ </tr>
+ </tbody>
+ </table>
+ <div id="test-output"></div>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/table/resize-table-using-col-height-vertical-writing-mode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698