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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/normal-flow/width-replaced-element-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.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: Scaling replaced elements with a width specified can sc ale the image</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-width -property" />
7 <meta name="flags" content="image may" />
8 <meta name="assert" content="Replaced elements width may be scaled by th e user agent when the value of the property is not 'auto'." />
9 <style type="text/css">
10 div
11 {
12 position: relative;
13 }
14 div div
15 {
16 background: orange;
17 height: 15px;
18 width: 15px;
19 }
20 img
21 {
22 position: absolute;
23 left: 0.25in;
24 top: 0;
25 width: 1in;
26 }
27 </style>
28 </head>
29 <body>
30 <p>Test passes if the blue square is the same size or larger than the or ange square.</p>
31 <div>
32 <div></div>
33 <img alt="blue 15x15" src="support/blue15x15.png" />
34 </div>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698