mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
24 lines
No EOL
1.2 KiB
HTML
24 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html><head><title>CSS Basic User Interface Test: Cursor property, PNG</title>
|
|
<link href="mailto:chris@w3.org" rel="author" title="Chris Lilley">
|
|
<link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
|
|
<meta content="interact" name="flags">
|
|
<meta content="Test checks that gamma correction on PNG image cursor is correct." name="assert">
|
|
<style>
|
|
.test{background: #ffe5b4; border: 2px solid #555;
|
|
cursor:url(support/PTS/g04n3p04.png), help; width :128px; height: 224px; font-size: 32px; line-height:32px}
|
|
|
|
</style>
|
|
</head><body>
|
|
<p>The test passes if all the reference images look the same, AND when moved inside the peach rectangle, the cursor looks like the reference images (ignoring the small numeric values in each image).</p>
|
|
|
|
<p class="test">
|
|
<img src="support/PTS/g03n3p04.png"><br>
|
|
<img src="support/PTS/g04n3p04.png"><br>
|
|
<img src="support/PTS/g05n3p04.png"><br>
|
|
<img src="support/PTS/g07n3p04.png"><br>
|
|
<img src="support/PTS/g10n3p04.png"><br>
|
|
<img src="support/PTS/g25n3p04.png"><br> </p>
|
|
<p>Indexed PNG images with various gamma values, 4 bit/pixel. Pixel values adjusted so that, when gamma corrected, the images look the same.
|
|
|
|
</p></body></html> |