| Index: third_party/WebKit/LayoutTests/printing/printing-transition-ignore-media-print.html
|
| diff --git a/third_party/WebKit/LayoutTests/printing/printing-transition-ignore-media-print.html b/third_party/WebKit/LayoutTests/printing/printing-transition-ignore-media-print.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..999f8c5227c93f701a81c7af94cc0212e91629b4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/printing/printing-transition-ignore-media-print.html
|
| @@ -0,0 +1,27 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<style>
|
| +#target {
|
| + height: 250px;
|
| + transition: all 10s;
|
| +}
|
| +
|
| +@media print {
|
| + #target {
|
| + height: 800px;
|
| + }
|
| +}
|
| +</style>
|
| +
|
| +<div id="target"></div>
|
| +
|
| +<script>
|
| +test(function() {
|
| + if (window.internals) {
|
| + assert_equals(getComputedStyle(target).height, "250px");
|
| + assert_equals(internals.numberOfPages(500, 500), 2);
|
| + assert_equals(getComputedStyle(target).height, "250px");
|
| + }
|
| +}, "This test checks that transition are ignored when in @media print");
|
| +</script>
|
|
|