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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside-invalid-circle-000.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 <head>
3 <meta charset="utf-8">
4 <title>CSS Shapes Tests: Circle - invalid 2 args</title>
5 <link rel="author" title="biqing" href="biqing.kwok@qq.com">
6 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#supported-basic-sh apes">
7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-circle">
8 <script src="../../../resources/testharness.js"></script>
9 <script src="../../../resources/testharnessreport.js"></script>
10 <link rel="stylesheet" href="../../../resources/testharness.css">
11 <meta name="flags" content="dom">
12 <meta name="assert" content="shape-outside declaration is invalid if circle shape function only has two parameters">
13 <style type="text/css">
14 #float {
15 shape-outside: circle(50px, 50px);
16 float: left;
17 width: 100px;
18 height: 100px;
19 }
20 </style>
21 </head>
22 <body>
23 <div id="log"></div>
24
25 <div id="float"></div>
26
27 <script>
28
29 test(function() {
30 assert_true(getComputedStyle(document.getElementById('float')).shapeOuts ide == 'none');
31 }, 'Circle - invalid 2 args');
32
33 </script>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698