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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/integer-overflow-crash.html

Issue 2286543002: Add Length::isPercent and use it in tables. (Closed)
Patch Set: rebase Created 4 years, 3 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 | third_party/WebKit/LayoutTests/fast/table/integer-overflow-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/table/integer-overflow-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/integer-overflow-crash.html b/third_party/WebKit/LayoutTests/fast/table/integer-overflow-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..6f09ac81e0bb6f048de4a687e9886bdc2e7a4363
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/integer-overflow-crash.html
@@ -0,0 +1,15 @@
+<!doctype html>
+This passes if it doesn't crash. Tables were confused about percent heights
+and calc heights that included a percent.
+<style>
+html,body,table,tr { height: calc(100% - 1px); }
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<table>
+ <tr>
+ <td></td>
+ </tr>
+</table>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/integer-overflow-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698