Log Message
Update LayoutTest fast/canvas/canvas-composite-text-alpha.html https://bugs.webkit.org/show_bug.cgi?id=158710
Reviewed by Alexey Proskuryakov. Though this test passes, opening the test file directly reports multiple failures. Updating the readback locations to get the correct results. * fast/canvas/canvas-composite-text-alpha.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (202181 => 202182)
--- trunk/LayoutTests/ChangeLog 2016-06-17 21:46:00 UTC (rev 202181)
+++ trunk/LayoutTests/ChangeLog 2016-06-17 21:46:20 UTC (rev 202182)
@@ -1,5 +1,17 @@
2016-06-17 Ryan Haddad <[email protected]>
+ Update LayoutTest fast/canvas/canvas-composite-text-alpha.html
+ https://bugs.webkit.org/show_bug.cgi?id=158710
+
+ Reviewed by Alexey Proskuryakov.
+
+ Though this test passes, opening the test file directly reports multiple failures. Updating the
+ readback locations to get the correct results.
+
+ * fast/canvas/canvas-composite-text-alpha.html:
+
+2016-06-17 Ryan Haddad <[email protected]>
+
Marking media/video-controls-show-on-kb-or-ax-event.html as flaky on Mac
https://bugs.webkit.org/show_bug.cgi?id=158889
Modified: trunk/LayoutTests/fast/canvas/canvas-composite-text-alpha.html (202181 => 202182)
--- trunk/LayoutTests/fast/canvas/canvas-composite-text-alpha.html 2016-06-17 21:46:00 UTC (rev 202181)
+++ trunk/LayoutTests/fast/canvas/canvas-composite-text-alpha.html 2016-06-17 21:46:20 UTC (rev 202182)
@@ -359,7 +359,7 @@
var results = "";
// Note that (0, 0) may be affected by anti-alias.
- var img = ctx.getImageData(1, 1, 1, 1).data;
+ var img = ctx.getImageData(8, 4, 1, 1).data;
var actualColor = [img[0], img[1], img[2], img[3]];
if (isDifferentColor(actualColor, expectedColor.source)) {
results += "Unexpected source! expected: " + expectedColor.source + " actual: " + actualColor + errorSuffix;
@@ -370,7 +370,7 @@
if (isDifferentColor(actualColor, expectedColor.destination)) {
results += "Unexpected destination! expected: " + expectedColor.destination + " actual: " + actualColor + errorSuffix;
}
- img = ctx.getImageData(12, 12, 1, 1).data;
+ img = ctx.getImageData(12, 14, 1, 1).data;
actualColor = [img[0], img[1], img[2], img[3]];
if (isDifferentColor(actualColor, expectedColor.composition)) {
results += "Unexpected composition! expected: " + expectedColor.composition + " actual: " + actualColor + errorSuffix;
@@ -386,11 +386,11 @@
// Dump colors into text area for debugging purpose.
var debugText = document.getElementById("debug");
- img = ctx.getImageData(0, 0, 1, 1).data;
+ img = ctx.getImageData(8, 4, 1, 1).data;
debugText.value += img[0] + "," + img[1] + "," + img[2] + "," + img[3] + "\n";
- img = ctx.getImageData(12, 12, 1, 1).data;
+ img = ctx.getImageData(12, 14, 1, 1).data;
debugText.value += img[0] + "," + img[1] + "," + img[2] + "," + img[3] + "\n";
- img = ctx.getImageData(24, 24, 1, 1).data;
+ img = ctx.getImageData(23, 23, 1, 1).data;
debugText.value += img[0] + "," + img[1] + "," + img[2] + "," + img[3] + "\n";
}
}
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
