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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside-invalid-circle-002.html

Issue 816533002: Import CSSWG Shapes tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more test expectations update Created 6 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <meta name="flags" content="dom">
6 <meta name="assert" content="shape-outside declaration is invalid if cy for circle function is invalid">
7 <title>CSS Shapes Test - Circle - invalid cy value</title>
8 <link rel="author" title="noonnightstorm" href="mailto:noonnightstorm@gm ail.com">
9 <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com ">
10 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#supported-basi c-shapes">
11 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-circle ">
12 <script src="../../../resources/testharness.js"></script>
13 <script src="../../../resources/testharnessreport.js"></script>
14 <link rel="stylesheet" href="../../../resources/testharness.css">
15
16 <style>
17 #shape{
18 width: 300px;
19 height: 300px;
20 shape-outside: circle(50% at 50% 50);
21 }
22 </style>
23 </head>
24 <body>
25
26 <div id="log"></div>
27
28 <div id="shape"></div>
29
30 <script>
31 var obj = document.getElementById('shape');
32 var cy = getComputedStyle(obj).shapeOutside;
33 test(function() {assert_equals(cy, "none", "declaration should be Invali d")});
34 </script>
35
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698