mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
29
tests/wpt/css-tests/css-ui-3_dev/xhtml1/cursor-box-006.xht
Normal file
29
tests/wpt/css-tests/css-ui-3_dev/xhtml1/cursor-box-006.xht
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CSS Basic User Interface Test: cursor on border images extending out of the border-box</title>
|
||||
<link href="mailto:florian@rivoal.net" rel="author" title="Florian Rivoal" />
|
||||
<link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help" />
|
||||
<meta content="interact" name="flags" />
|
||||
<meta charset="UTF-8" />
|
||||
<meta content="The cursor property is not applied outside of the border box, even if border images do extend further out." name="assert" />
|
||||
<style>
|
||||
#container {
|
||||
position: absolute;
|
||||
padding: 50px;
|
||||
cursor: crosshair;
|
||||
}
|
||||
#test{
|
||||
border-image: linear-gradient(blue, blue);
|
||||
border-image-outset: 50px;
|
||||
border-image-width: 50px;
|
||||
border-style: solid;
|
||||
border-width: 5px;
|
||||
border-color: white;
|
||||
cursor: url("support/cursors/fail.png"), help;
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<p>The test passes if, when moved over the blue boxes, the cursor looks like a crosshair (e.g. short line segments resembling a "+" sign).
|
||||
The shape of the cursor when it is over white areas is not part of this test.</p>
|
||||
<div id="container"><div id="test"></div></div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue