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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-inherit-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 <html>
3 <head>
4 <title>Shape Outside Box Inherit Value</title>
5 <link rel="author" title="Adobe" href="http://html.adobe.com/">
6 <link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com">
7 <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com "> <!-- 2014-03-04 -->
8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside- property">
9 <meta name="assert" content="Shape-outside takes can be assigned the 'in herit' value.">
10 <meta name="flags" content="dom">
11 <script src="../../../../../resources/testharness.js"></script>
12 <script src="../../../../../resources/testharnessreport.js"></script>
13 <script src="support/parsing-utils.js"></script>
14 </head>
15 <body>
16 <div id="log"></div>
17 <script type="text/javascript">
18 test(function() {
19 var outer = document.createElement("div");
20 var inner = document.createElement("div");
21 outer.appendChild(inner);
22 outer.style.setProperty("shape-outside", "content-box");
23 inner.style.setProperty("shape-outside", "inherit");
24 document.body.appendChild(outer);
25 var inline = inner.style.getPropertyValue("shape-outside");
26 var style = getComputedStyle(inner);
27 var computed = style.getPropertyValue("shape-outside");
28 document.body.removeChild(outer);
29 assert_equals(inline, "inherit");
30 assert_equals(computed, "content-box");
31 }, "shape-outside can be assigned 'inherit' value");
32 </script>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698