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

Unified Diff: LayoutTests/fast/css/calculated-length-as-percent-crash.html

Issue 192603003: ASSERTION FAILED: type() == Percent in WebCore::Length::percent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@extractedstyle
Patch Set: Support for fixed table layouts, test update and comments 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
Index: LayoutTests/fast/css/calculated-length-as-percent-crash.html
diff --git a/LayoutTests/fast/css/calculated-length-as-percent-crash.html b/LayoutTests/fast/css/calculated-length-as-percent-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..690f27c273a2b939bed4dc787436ba4e976b28b9
--- /dev/null
+++ b/LayoutTests/fast/css/calculated-length-as-percent-crash.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
Julien - ping for review 2014/06/23 17:09:57 Also the test is not checking for a test anymore s
+<html>
+<script src="../../resources/check-layout.js"></script>
+<body onload="checkLayout('td')">
Julien - ping for review 2014/06/23 17:09:23 Let's add a description of what we are testing ple
+<table>
+ <tr>
+ <td colspan="5" style="width: calc(100% + 100px);" data-expected-width="2"/>
Julien - ping for review 2014/06/23 17:09:23 That works because you have no content so it's cor
+ </tr>
+</table>
+
+<table style="table-layout:fixed;">
+ <tr>
+ <td colspan="5" style="width: calc(100% + 100px);" data-expected-width="2"/>
+ </tr>
+</table>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698