Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / ietestcenter / css3 / grid / grid-items-002-expected.htm
1 <!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!--
3  Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5  Redistribution and use in source and binary forms, with or without modification,
6  are permitted provided that the following conditions are met:
7
8  Redistributions of source code must retain the above copyright notice, this list of
9  conditions and the following disclaimer.
10
11  Redistributions in binary form must reproduce the above copyright notice, this list of
12  conditions and the following disclaimer in the documentation and/or other materials
13  provided with the distribution.
14
15  Neither the name of the Microsoft Corporation nor the names of its contributors may be
16  used to endorse or promote products derived from this software without specific prior
17  written permission.
18
19  THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25  OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27  POSSIBILITY OF SUCH DAMAGE.
28 -->
29 <html xmlns="http://www.w3.org/1999/xhtml">
30     <head>
31         <title>CSS Test: Grid items that are images</title>
32         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33         <link rel="help" href="http://dev.w3.org/csswg/css3-grid-align/#grid-items"/>
34         <meta name="flags" content="ahem" />
35         <meta name="assert" content="Replaced elements, such as images, can be placed by grid alignment properties." />
36         <script src="testRunnerEnableGrid.js"></script>
37         <style type="text/css">
38             #test
39             {
40                 background: green;
41                 display: -ms-grid;
42                 display: -moz-grid;
43                 display: -o-grid;
44                 display: -webkit-grid;
45                 display: grid;
46                 font: 20px/1 ahem;
47                 -ms-grid-template-columns: auto 1fr;
48                 -moz-grid-template-columns: auto 1fr;
49                 -o-grid-template-columns: auto 1fr;
50                 -webkit-grid-template-columns: auto 1fr;
51                 grid-template-columns: auto 1fr;
52                 -ms-grid-template-rows: auto 1fr;
53                 -moz-grid-template-rows: auto 1fr;
54                 -o-grid-template-rows: auto 1fr;
55                 -webkit-grid-template-rows: auto 1fr;
56                 grid-template-rows: auto 1fr;
57                 width: 12em;
58             }
59             div div
60             {
61                 color: green;
62                 -ms-grid-column: 1;
63                 -moz-grid-column: 1;
64                 -o-grid-column: 1;
65                 -webkit-grid-column: 1;
66                 grid-column: 1;
67                 -ms-grid-row: 1;
68                 -moz-grid-row: 1;
69                 -o-grid-row: 1;
70                 -webkit-grid-row: 1;
71                 grid-row: 1;
72             }
73         </style>
74     </head>
75     <body>
76         <p>Test passes if there is no red visible on the page.</p>
77         <div id="test">
78             <div>XXXXXX</div>
79         </div>
80     </body>
81 </html>