cursor-applies-to-006

Cursor applied to element with 'display' set to 'table-column'

WeasyPrint

This browser

Flags
interact
Assertion
The 'cursor' property does not apply to elements with a display of table-column.

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-column'</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 does not apply to elements with a display of table-column.">
10         <style type="text/css">
11             #test
12             {
13                 display: table-column;
14                 cursor: pointer;
15             }
16             #row
17             {
18                 display: table-row;
19             }
20             #table
21             {
22                 display: table;
23                 table-layout: fixed;
24             }
25             #cell
26             {
27                 background-color: blue;
28                 display: table-cell;
29                 height: 1in;
30                 width: 1in;
31             }
32         </style>
33     </head>
34     <body>
35         <p>Test passes if the cursor is the default cursor when it is over the blue area.</p>
36         <div id="table">
37             <div id="test"></div>
38             <div id="row">
39                 <div id="cell"></div>
40             </div>
41         </div>
42     </body>
43 </html>