-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This also updates wpt tests for new CSS Level 4 color parsing, and disables the relevant CSS tests until they can be updated (tracked by #6856).
- Loading branch information
Showing
16 changed files
with
129 additions
and
43 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/border-bottom-color-030.htm.ini
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,3 @@ | ||
[border-bottom-color-030.htm] | ||
type: reftest | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/border-left-color-030.htm.ini
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,3 @@ | ||
[border-left-color-030.htm] | ||
type: reftest | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/border-right-color-030.htm.ini
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,3 @@ | ||
[border-right-color-030.htm] | ||
type: reftest | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/border-top-color-030.htm.ini
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,3 @@ | ||
[border-top-color-030.htm] | ||
type: reftest | ||
expected: FAIL |
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
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
31 changes: 31 additions & 0 deletions
31
tests/wpt/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html
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,31 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. --> | ||
<title>Canvas test: 2d.fillStyle.parse.hex4</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/common/canvas-tests.js"></script> | ||
<link rel="stylesheet" href="/common/canvas-tests.css"> | ||
<body class="show_output"> | ||
|
||
<h1>2d.fillStyle.parse.hex4</h1> | ||
<p class="desc"></p> | ||
|
||
<p class="notes"> | ||
<p class="output">Actual output:</p> | ||
<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas> | ||
<p class="output expectedtext">Expected output:<p><img src="2d.fillStyle.parse.hex4.png" class="output expected" id="expected" alt=""> | ||
<ul id="d"></ul> | ||
<script> | ||
var t = async_test(""); | ||
_addTest(function(canvas, ctx) { | ||
|
||
|
||
ctx.fillStyle = '#f00'; | ||
ctx.fillStyle = '#0f0f'; | ||
ctx.fillRect(0, 0, 100, 50); | ||
_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); | ||
|
||
|
||
}); | ||
</script> | ||
|
Binary file added
BIN
+205 Bytes
...web-platform-tests/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions
31
tests/wpt/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html
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,31 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. --> | ||
<title>Canvas test: 2d.fillStyle.parse.hex8</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/common/canvas-tests.js"></script> | ||
<link rel="stylesheet" href="/common/canvas-tests.css"> | ||
<body class="show_output"> | ||
|
||
<h1>2d.fillStyle.parse.hex8</h1> | ||
<p class="desc"></p> | ||
|
||
<p class="notes"> | ||
<p class="output">Actual output:</p> | ||
<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas> | ||
<p class="output expectedtext">Expected output:<p><img src="2d.fillStyle.parse.hex8.png" class="output expected" id="expected" alt=""> | ||
<ul id="d"></ul> | ||
<script> | ||
var t = async_test(""); | ||
_addTest(function(canvas, ctx) { | ||
|
||
|
||
ctx.fillStyle = '#f00'; | ||
ctx.fillStyle = '#00ff00ff'; | ||
ctx.fillRect(0, 0, 100, 50); | ||
_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); | ||
|
||
|
||
}); | ||
</script> | ||
|
Binary file added
BIN
+205 Bytes
...web-platform-tests/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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