Bug 1765640 part 1: Create a copy of reftest "select-3.html" with transparent text, to avoid antialiasing-related fuzzy failures. r=hiro

Differential Revision: https://phabricator.services.mozilla.com/D144225
This commit is contained in:
Daniel Holbert 2022-04-21 23:59:28 +00:00
Родитель 41e84c4e3a
Коммит 5e3073dcbb
3 изменённых файлов: 29 добавлений и 0 удалений

Просмотреть файл

@ -56,6 +56,7 @@ fuzzy-if(gtkWidget,0-1,0-8) fuzzy-if(Android,0-4,0-2) == select-1.html select-1-
fuzzy-if(gtkWidget,0-1,0-8) fuzzy-if(Android,0-4,0-2) == select-1-dynamic.html select-1-ref.html
== select-2.html select-2-ref.html
fuzzy-if(gtkWidget,0-1,0-19) fuzzy-if(Android,0-17,0-726) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-110,0-114) fuzzy-if(browserIsRemote&&winWidget,0-143,0-125) fuzzy-if(cocoaWidget,0-2,0-10) == select-3.html select-3-ref.html
fuzzy-if(gtkWidget||winWidget,0-1,0-4) fuzzy-if(cocoaWidget,0-1,0-8) == select-4.html select-4-ref.html
== multi-column-1.html multi-column-1-ref.html
== button-1.html button-1-ref.html
== button-2.html button-2-ref.html

Просмотреть файл

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<body style="margin: 0; padding: 0;">
<!-- Note: we use transparent text to avoid subtle antialiasing rendering
differences between the testcase's abs-pos element vs. the reference
case's fixed-pos element. -->
<select style="position: fixed; top: 100px; left: 100px;
color: transparent;">">
<option>foo</option>
<option>bar</option>
</select>
</body>
</html>

Просмотреть файл

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<body style="margin: 0; padding: 0;">
<div style="position: relative;">
<!-- Note: we use transparent text to avoid subtle antialiasing rendering
differences between the testcase's abs-pos element vs. the reference
case's fixed-pos element. -->
<select style="position: absolute; top: 100px; left: 100px;
color: transparent;">
<option>foo</option>
<option>bar</option>
</select>
</div>
</body>
</html>