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

Unified Diff: LayoutTests/fast/css/handling-calc-on-table-as-auto.html

Issue 192603003: ASSERTION FAILED: type() == Percent in WebCore::Length::percent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@extractedstyle
Patch Set: Test update Created 6 years, 6 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/css/handling-calc-on-table-as-auto-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/handling-calc-on-table-as-auto.html
diff --git a/LayoutTests/fast/css/handling-calc-on-table-as-auto.html b/LayoutTests/fast/css/handling-calc-on-table-as-auto.html
new file mode 100644
index 0000000000000000000000000000000000000000..61cd39bc4f9dd4795d68077fd2991196c2d0df1f
--- /dev/null
+++ b/LayoutTests/fast/css/handling-calc-on-table-as-auto.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/check-layout.js"></script>
+</head>
+<body onload="checkLayout('td, table', output);">
+<p>Test for handling calc() values on table elements as if they were Auto. Check crbug.com/350852 for details.</p>
+<div id="output"></div>
+<table cellpadding="0" cellspacing="0" data-expected-width="100" data-expected-height="100">
+ <tr>
+ <td colspan="5" style="width: calc(100% + 100px);" data-expected-width="100" data-expected-height="100">
+ <div style="height: 100px; width: 100px"/>
+ </td>
+ </tr>
+</table>
+
+<table cellpadding="0" cellspacing="0" style="table-layout:fixed;" data-expected-width="100" data-expected-height="100">
+ <tr>
+ <td colspan="5" style="width: calc(100% + 100px);" data-expected-width="100" data-expected-height="100">
+ <div style="height: 100px; width: 100px"/>
+ </td>
+ </tr>
+</table>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css/handling-calc-on-table-as-auto-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698