Chromium Code Reviews| 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..d82ffe7db46f3fd8bf146a81d546a302b3a502f7 |
| --- /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 cause trouble when the document contains multicol."); |
| + if (window.testRunner) { |
|
rune
2015/12/09 23:56:38
You should check for window.internals. With --expo
mstensho (USE GERRIT)
2015/12/10 09:07:32
Done.
So much for copy-pasting from a decade old
|
| + shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "77"); |
| + } else { |
| + testFailed("This test can be run only with window.testRunner"); |
| + } |
| +</script> |