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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-002.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/rounded-rectangle.js"></script>
5 <script>
6 function createShapeElement() {
7 var stylesheet = document.getElementById("stylesheet");
8 var dimensions = { width: 200, height: 300,
9 shapeX: 25, shapeY: 45,
10 shapeWidth: 100, shapeHeight: 200,
11 shapeRadiusX: 55, shapeRadiusY: 0 };
12 generateShapeElement("shape-inside1", stylesheet.sheet, dimensions, 9);
13 dimensions.shapeRadiusX = 55;
14 dimensions.shapeRadiusY = 0;
15 generateShapeElement("shape-inside2", stylesheet.sheet, dimensions, 9);
16 }
17 </script>
18 <style id="stylesheet">
19 body { margin: 0; }
20 </style>
21 </head>
22 <body onload="createShapeElement()">
23 <div id="shape-inside1" style="display:inline-block"></div>
24 <div id="shape-inside2" style="display:inline-block"></div>
25 <div>
26 This test requires the Ahem font. It creates two rectangular shape-insides w ith one of
27 corner radius X or corner radius Y equal to zero. The content should fill an d slightly
28 overflow these two rectangular areas with alternating black and white boxes.
29 </div>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698