Fix 2d.drawImage.* and 2d.pattern.image.* tests under 2dcontext to match the spec#5060
Open
EdgarChen wants to merge 2 commits intoweb-platform-tests:masterfrom
Open
Fix 2d.drawImage.* and 2d.pattern.image.* tests under 2dcontext to match the spec#5060EdgarChen wants to merge 2 commits intoweb-platform-tests:masterfrom
EdgarChen wants to merge 2 commits intoweb-platform-tests:masterfrom
Conversation
1). Fix web-platform-tests#4648. 2). Add test for "list of available images" contains the requested image.
1). 2d.pattern.image.* tests need similar fix for web-platform-tests#4648. 2). Add test for "list of available images" contains the requested image.
Collaborator
|
Notifying @gsnedders. (Learn how reviewing works.) |
Firefox (nightly channel)Testing web-platform-tests at revision 8c91da8 All results10 tests ran/2dcontext/drawing-images-to-the-canvas/2d.drawImage.cached.html
/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.emptysrc.html
/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.immediate.html
/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html
/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.removedsrc.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.cached.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.emptysrc.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.immediate.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.reload.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.removedsrc.html
|
Chrome (unstable channel)Testing web-platform-tests at revision 8c91da8 All results10 tests ran/2dcontext/drawing-images-to-the-canvas/2d.drawImage.cached.html
/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.emptysrc.html
/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.immediate.html
/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html
/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.removedsrc.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.cached.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.emptysrc.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.immediate.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.reload.html
/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.removedsrc.html
|
Member
|
@zcorpan can you r? |
zcorpan
reviewed
Mar 13, 2017
| ctx.fillRect(0, 0, 100, 50); | ||
| var img = document.getElementById('red.png'); | ||
| var img = document.getElementById('green.png'); | ||
| img.src = ""; |
Member
There was a problem hiding this comment.
It seems this case is sync in Chromium and Gecko at least...
Filed whatwg/html#2429
zcorpan
reviewed
Mar 13, 2017
| ctx.fillRect(0, 0, 100, 50); | ||
| var img = document.getElementById('red.png'); | ||
| var img = document.getElementById('green.png'); | ||
| img.removeAttribute('src'); |
Member
|
LGTM but there is a possible spec issue. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is to fix #4648. And I found 2d.pattern.image.* is in similar situation, so I also provide a patch for them here.