From 5a60b5c03553d3c5e3822a65db8e3bb2abc5c264 Mon Sep 17 00:00:00 2001 From: Sam Sneddon Date: Tue, 26 Mar 2019 13:54:52 +0000 Subject: [PATCH] Bug 1533859 [wpt PR 15677] - Fix Acid2 to take the screenshot after it loads, a=testonly Automatic update from web-platform-tests Fix Acid2 to take the screenshot after loading & scrolling -- Add a reference for Acid2 that should pixel-for-pixel match Per https://bugzilla.mozilla.org/show_bug.cgi?id=343583#c6, Hixie never intended the reference.png to match exactly (e.g., the nose especially is quite fragile with anti-aliasing differences). This is based on the test itself, but by and large just uses block layout with pretty simple border/backgrounds. The only complexity is in the eyes (where layering is needed to get the background interpolated as on the test) and the nose (which mostly matches the test as browsers trivially differ around the aliasing of border edges). -- wpt-commits: 8a28e1a47287265e54f3c28650f3201f6f3e7dff, 42330b2ea1aa9e8c23fb2fbcfcba9f8cabd9bb18 wpt-pr: 15677 --- .../tests/acid/acid2/px-reference.html | 272 +++++++++++++++++++++ testing/web-platform/tests/acid/acid2/reftest.html | 14 +- 2 files changed, 284 insertions(+), 2 deletions(-) create mode 100644 testing/web-platform/tests/acid/acid2/px-reference.html diff --git a/testing/web-platform/tests/acid/acid2/px-reference.html b/testing/web-platform/tests/acid/acid2/px-reference.html new file mode 100644 index 000000000000..5a350033e3c9 --- /dev/null +++ b/testing/web-platform/tests/acid/acid2/px-reference.html @@ -0,0 +1,272 @@ + + + + The Second Acid Test (pixel-for-pixel reference version) + + + +

Hello World!

+
+
+
+
+ +
+ +
+ +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/acid/acid2/reftest.html b/testing/web-platform/tests/acid/acid2/reftest.html index 0f9b9ac02353..80220cee7699 100644 --- a/testing/web-platform/tests/acid/acid2/reftest.html +++ b/testing/web-platform/tests/acid/acid2/reftest.html @@ -1,6 +1,8 @@ + Acid2 reftest - + + - + + -- 2.11.4.GIT