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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/normal-flow/height-inherit-001.xht

Issue 2818243002: Import css21/normal-flow W3C CSS Test Suite (Closed)
Patch Set: git rebase-update Created 3 years, 8 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 PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>CSS Test: Inheriting Explicit Heights</title>
6 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.ne t/contact"/>
7 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/Browse rBugsSection/css21testsuite/" /> <!-- 2012-10-08 -->
8 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#value-def-inher it"/>
9 <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
10
11 <meta name="flags" content=""/>
12 <meta name="assert" content="The computed height is inherited, even if
13 the 'height' property does not apply."/>
14 <style type="text/css"><![CDATA[
15 .container {
16 height: 100px;
17 width: 100px;
18 background: red;
19 }
20 .outer {
21 height: 100px;
22 }
23 .inner {
24 display: block;
25 height: inherit;
26 background: green;
27 }
28 ]]></style>
29 </head>
30 <body>
31 <p>Test passes if there is a filled green square and <strong>no red</strong> .</p>
32
33 <div class="container">
34 <div><span class="outer"><span class="inner"></span></span></div>
35 </div>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698