Index: third_party/WebKit/LayoutTests/printing/pageProperty-with-multicol.html |
diff --git a/third_party/WebKit/LayoutTests/printing/pageProperty-with-multicol.html b/third_party/WebKit/LayoutTests/printing/pageProperty-with-multicol.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..68ba8ac91d267cf2296e61437155769233401fcc |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/printing/pageProperty-with-multicol.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<script src="../resources/js-test.js"></script> |
+<style> |
+ @page { margin:0 77px; } |
+</style> |
+<div style="-webkit-columns:3;"> |
+ <br> |
+ <br> |
+</div> |
+<script> |
+ description("Test that special layout for pageProperty() doesn't crash or cause trouble when the document contains multicol."); |
+ if (window.internals) { |
+ shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "77"); |
+ } else { |
+ testFailed("This test can be run only with window.internals enabled"); |
+ } |
+</script> |