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

Unified Diff: LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-zoom-expected.html

Issue 14289003: [CSS Exclusions] Zoom causes shape-inside to fail when shape-padding is specified (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Sync Created 7 years, 8 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
Index: LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-zoom-expected.html
diff --git a/LayoutTests/fast/exclusions/shape-inside/shape-inside-rounded-rectangle-padding-expected.html b/LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-zoom-expected.html
similarity index 54%
copy from LayoutTests/fast/exclusions/shape-inside/shape-inside-rounded-rectangle-padding-expected.html
copy to LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-zoom-expected.html
index b25a1bcedad2f15a26cd60dc05777b7bc0087492..d49ef40b414ada26765f2a5dabac64a3bdfc4ee0 100644
--- a/LayoutTests/fast/exclusions/shape-inside/shape-inside-rounded-rectangle-padding-expected.html
+++ b/LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-zoom-expected.html
@@ -18,20 +18,24 @@
position: absolute;
top: 50px;
left: 50px;
- width: 300px;
- height: 300px;
- font: 100px/1 Ahem, sans-serif;
+ font: 50px/1 Ahem, sans-serif;
color: green;
}
</style>
</head>
<body>
- <p>The blue rounded rectangle should just contain a cross of five green squares.</p>
+ <p>The green rectangles should lie within the inner blue outline.</p>
<div id="shape-inside">
- <div id="shape-content">&nbsp;X<br/>XXX<br/>&nbsp;X</div>
+ <div id="shape-content">
+ XXX<br/><br/>XX<br/><br/>XXX
+ </div>
<svg id="shape-outline" xmlns="http://www.w3.org/2000/svg">
- <rect x="50" y="50" width="300" height="300" rx="100" ry="100" stroke="blue" fill="none"/>
+ <polygon points="0,0 400,0 400,350 0,350" stroke="blue" fill="none"/>
+ <polygon points="50,50 350,50 350,300 50,300" stroke="blue" fill="none"/>
</svg>
</div>
</body>
+<script>
+document.body.style.zoom = 1.2
+</script>
</html>
« no previous file with comments | « LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-zoom.html ('k') | Source/core/rendering/ExclusionPolygon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698