Bug 1765640 part 2: Change reference case select-3-ref.html to use position:absolute instead of fixed, to avoid fuzzy failures due to antialiasing differences. r=hiro

This should still serve as a good reference case for select-3.html, since it's
still simpler-in-structure than that testcase.

To the extent that the testcase really does want to test positioning of select
elements with position:absolute vs. position:fixed (I'm not sure if it does,
but just in case it does): we still have coverage for that, via the new copy of
this reftest called "select-4.html" added in the previous patch in this series.

Differential Revision: https://phabricator.services.mozilla.com/D144226
This commit is contained in:
Daniel Holbert 2022-04-21 23:59:29 +00:00
parent 5e3073dcbb
commit be617dbde8
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ fuzzy-if(gtkWidget,0-1,0-1) fuzzy-if(Android,0-9,0-185) fuzzy-if(asyncPan&&!laye
fuzzy-if(gtkWidget,0-1,0-8) fuzzy-if(Android,0-4,0-2) == select-1.html select-1-ref.html
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
== 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

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body style="margin: 0; padding: 0;">
<select style="position: fixed; top: 100px; left: 100px;">
<select style="position: absolute; top: 100px; left: 100px;">
<option>foo</option>
<option>bar</option>
</select>