This repository has been archived by the owner on Dec 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CSS21][CSS22][css-ui] Add test of
cursor
on element underneath a <…
…select> menu
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>CSS Test (User Interface): cursor property and select element</title> | ||
<link rel="author" title="Chris Rebert" href="http://chrisrebert.com"> | ||
<link rel="help" href="http://dev.w3.org/csswg/css-ui-3/#cursor"> | ||
<link rel="help" href="http://www.w3.org/TR/CSS2/ui.html#cursor-props"> | ||
<meta name="flags" content="HTMLonly interact"> | ||
<meta name="assert" content="Hovering the pointer over a select menu on top of an element with a cursor set should not display said cursor"> | ||
<style> | ||
div { | ||
cursor: help; | ||
height: 200px; | ||
width: 200px; | ||
border-color: black; | ||
border-style: solid; | ||
border-width: 2px; | ||
} | ||
</style> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
</head> | ||
<body> | ||
<ol> | ||
<li>If the user-agent doesn't support the <code>cursor</code> property, then SKIP this test.</li> | ||
<li>If clicking a <select> opens a native widget which is modal, then SKIP this test.</li> | ||
<li>Click on the <select> below. A selection widget appears.</li> | ||
<li>Move the pointer so that it is hovering within the intersection area of the selection widget and the black box below.</li> | ||
<li>If the "help" cursor is displayed, then the test result is FAILED. Otherwise, it is PASSED.</li> | ||
</ol> | ||
<select> | ||
<option>AAAAAAAA</option> | ||
<option>BBBBBBBB</option> | ||
<option>CCCCCCCC</option> | ||
<option>DDDDDDDD</option> | ||
<option>EEEEEEEE</option> | ||
<option>FFFFFFFF</option> | ||
<option>GGGGGGGG</option> | ||
<option>HHHHHHHH</option> | ||
</select> | ||
<div></div> | ||
</body> | ||
</html> |