From 92f4ab6394ed40245b33b7f8131ca4b415f7ed64 Mon Sep 17 00:00:00 2001 From: Adenilson Cavalcanti Date: Tue, 16 Dec 2014 12:06:57 -0800 Subject: [PATCH] Thanks to differences on rendering between CPU X GPU, there is a 1 pixel wide difference in the position where the top border meets the right border (as also the right border X bottom border). The workaround to have a test that will work on both modes is to cover the affected area with a white div. This patch adds inset test. --- tests/ref/basic.list | 1 + tests/ref/inset.html | 49 +++++++++++++++++++++++++++++++++++++++ tests/ref/inset.png | Bin 0 -> 2848 bytes tests/ref/inset_ref.html | 13 +++++++++++ 4 files changed, 63 insertions(+) create mode 100644 tests/ref/inset.html create mode 100644 tests/ref/inset.png create mode 100644 tests/ref/inset_ref.html diff --git a/tests/ref/basic.list b/tests/ref/basic.list index 5d993a5fe9c..55b9f3b1812 100644 --- a/tests/ref/basic.list +++ b/tests/ref/basic.list @@ -213,3 +213,4 @@ fragment=top != ../html/acid2.html acid2_ref.html == table_colspan_fixed_a.html table_colspan_fixed_ref.html == legacy_td_bgcolor_attribute_a.html legacy_td_bgcolor_attribute_ref.html == legacy_table_border_attribute_a.html legacy_table_border_attribute_ref.html +== inset.html inset_ref.html diff --git a/tests/ref/inset.html b/tests/ref/inset.html new file mode 100644 index 00000000000..3a98c0c4292 --- /dev/null +++ b/tests/ref/inset.html @@ -0,0 +1,49 @@ + + + + + + +
+
+
+ +
+
+ + diff --git a/tests/ref/inset.png b/tests/ref/inset.png new file mode 100644 index 0000000000000000000000000000000000000000..d1564dde92ee5b2b3c0d49eebd6827175d011ce6 GIT binary patch literal 2848 zcmeAS@N?(olHy`uVBq!ia0y~yU{+vYV2a>i0*Z)=h^jL%a6R{QaSW-L^Y)Ho)?o($ zhJ!gD#Q%EP7ky&l%#k`7v}zr9(uI{X53iZ|laXP;=jv}jjpfQ47#Nb6xEU1GFc{x% zR8_3KKCw9FR`I;_eg=jbL1`U^h8YK#7& + + + + + +