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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-002-expected.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations Created 6 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/subpixel-utils.js"></script>
5 <script src="../resources/rounded-rectangle.js"></script>
6 <script>
7 function createSimulatedShapeElement() {
8 var stylesheet = document.getElementById("stylesheet");
9 var dimensions = { width: 200, height: 300,
10 shapeX: 25, shapeY: 45,
11 shapeWidth: 100, shapeHeight: 200,
12 shapeRadiusX: 0, shapeRadiusY: 55 };
13 generateSimulatedShapeElement("shape-inside1", stylesheet.sheet, dimensi ons, 9);
14 dimensions.shapeRadiusX = 55;
15 dimensions.shapeRadiusY = 0;
16 generateSimulatedShapeElement("shape-inside2", stylesheet.sheet, dimensi ons, 9);
17 }
18 </script>
19 <style id="stylesheet">
20 body { margin: 0; }
21 </style>
22 </head>
23 <body onload="createSimulatedShapeElement()">
24 <div id="shape-inside1" style="display:inline-block"></div>
25 <div id="shape-inside2" style="display:inline-block"></div>
26 <div>
27 This test requires the Ahem font. It creates two rectangular shape-insides w ith one of
28 corner radius X or corner radius Y equal to zero. The content should fill an d slightly
29 overflow these two rectangular areas with alternating black and white boxes.
30 </div>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698