cursor-applies-to-001

Cursor applied to element with 'display' set to 'table-row-group'

WeasyPrint

This browser

Flags
interact
Assertion
The 'cursor' property applies to elements with a display of table-row-group.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3     <head>
 4         <title>CSS Test: Cursor applied to element with 'display' set to 'table-row-group'</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#propdef-cursor">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#cursor-props">
 8         <meta name="flags" content="interact">
 9         <meta name="assert" content="The 'cursor' property applies to elements with a display of table-row-group.">
10         <style type="text/css">
11             #test
12             {
13                 display: table-row-group;
14                 background-color: blue;
15                 cursor: pointer;
16             }
17             #row
18             {
19                 display: table-row;
20             }
21             #table
22             {
23                 display: table;
24                 table-layout: fixed;
25             }
26             #cell
27             {
28                 display: table-cell;
29                 height: 1in;
30                 width: 1in;
31             }
32         </style>
33     </head>
34     <body>
35         <p>Test passes if the cursor changes to a pointer cursor when it is over the blue area.</p>
36         <div id="table">
37             <div id="test">
38                 <div id="row">
39                     <div id="cell"></div>
40                 </div>
41             </div>
42         </div>
43     </body>
44 </html>