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

Side by Side Diff: third_party/WebKit/LayoutTests/css2.1/20110323/dynamic-top-change-005b.htm

Issue 2827713002: Delete duplicated LayoutTests from css2.1/20110323 (Closed)
Patch Set: 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 HTML 4.01//EN" "http://www.w3.org/TR/html4/st rict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Inheriting 'top' changes from abspos grandparent (non-dynamic variant)</title>
5 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
6 <link rel="author" title="L. David Baron" href="http://dbaron.org/">
7 <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade. net/contact">
8 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#value-def-inher it">
9 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#position-props" >
10 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-positio n">
11 <meta name="flags" content="dom">
12 <meta name="assert" content="The position of a positioned element which inheri ts its 'top' value from its relatively positioned parent changes when the parent 's 'top' value is changed.">
13 <style type="text/css">
14 .testDiv { position: relative; width: 100px; height: 100px; }
15 #green { top: 100px; background: green; }
16 #red { top: inherit; background: red; display: block; }
17 #parent { position: relative; top: 50px; }
18 body > p { position: absolute; font-size: medium; }
19 #grandparent { position: absolute; top: 0; }
20 body { font-size: 0; line-height: 0; position: relative; }
21 </style>
22 </head>
23 <body>
24 <p>There should be no red.</p>
25 <div id="grandparent">
26 <span id="parent">
27 <span id="red" class="testDiv"></span>
28 </span>
29 </div>
30 <div id="green" class="testDiv"></div>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698