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

Unified Diff: third_party/WebKit/LayoutTests/paint/printing/print-box-shadow.html

Issue 2872033002: Pass isPrinting and other bits from parent context to child during print. (Closed)
Patch Set: Merge branch 'master' into fixprinting Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/printing/print-box-shadow-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/printing/print-box-shadow.html
diff --git a/third_party/WebKit/LayoutTests/paint/printing/print-box-shadow.html b/third_party/WebKit/LayoutTests/paint/printing/print-box-shadow.html
new file mode 100644
index 0000000000000000000000000000000000000000..69b57f8ef4398f8be5e357ee968a4033f81a2748
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/printing/print-box-shadow.html
@@ -0,0 +1,24 @@
+<!doctype HTML>
+<style>
+#parent {
+ height: 125px;
+ width: 330px;
+ overflow: hidden;
+ border: 1px solid black;
+}
+
+#child {
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 17px 0px;
+ height: 125px;
+ overflow:hidden;
+}
+
+</style>
+<div id="parent">
+ <div id="child">
+ </div>
+</div>
+<script>
+ if (window.testRunner)
+ testRunner.setPrinting();
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/printing/print-box-shadow-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698