Index: LayoutTests/fast/css/negative-orphans-crash.html |
diff --git a/LayoutTests/fast/css/negative-orphans-crash.html b/LayoutTests/fast/css/negative-orphans-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e407751c2ff59f0e6fe5c3b33d9ab29af95981e2 |
--- /dev/null |
+++ b/LayoutTests/fast/css/negative-orphans-crash.html |
@@ -0,0 +1,27 @@ |
+<html> |
+<head> |
+<style> |
+html { |
+ orphans:-988; |
+ widows: 435; |
+ -webkit-columns:1in auto ; |
+ width: 0; |
+} |
+</style> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+function onLoad() |
+{ |
+ document.body.offsetLeft; |
+ document.body.innerHTML = 'PASS'; |
+} |
+</script> |
+</head> |
+<body onload="onLoad()"> |
+<!-- This test is for crbug.com/327725. Need some long text for reproducing crash.--> |
+<!-- Copied the following from W3C spec.--> |
+The 'orphans' property specifies the minimum number of lines in a block container that must be left at the bottom of a page. The 'widows' property specifies the minimum number of lines in a block container that must be left at the top of a page. Examples of how they are used to control page breaks are given below. |
+</body> |
+</html> |