Bug 1694527: Add cross-platform test for bug 1212823 that can be used with the non-native theme. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D106714
This commit is contained in:
Stephen A Pohl 2021-03-02 14:54:52 +00:00
Родитель e12980a2f7
Коммит 8a63815f27
3 изменённых файлов: 10 добавлений и 1 удалений

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

@ -0,0 +1,6 @@
<!DOCTYPE HTML>
<!-- This relies on the precise widget etc values. Feel free to adjust this as
needed as long as the bug itself doesn't regress. font-size: 0 and
vertical-align: top avoids depending on font metrics -->
<div style="width: 316px; height: 6px; position: absolute; left: 200px; border-radius: 3px; background-color: red; z-index:-1"></div>
<input style="width: 300px; font-size: 0; vertical-align: top"></input>

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

@ -0,0 +1,2 @@
<!DOCTYPE HTML>
<input style="width: 300px; box-shadow: 200px 0px 0px 0px red; font-size: 0; vertical-align: top"></input>

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

@ -44,5 +44,6 @@ fuzzy-if(winWidget,0-5,0-30) fuzzy-if(skiaContent,0-16,0-10) == fieldset.html fi
fuzzy-if(winWidget,0-5,0-30) fuzzy-if(skiaContent,0-16,0-10) fails-if(webrender) == fieldset-inset.html fieldset-inset-ref.html # minor anti-aliasing problem on Windows
== 1178575.html 1178575-ref.html
== 1178575-2.html 1178575-2-ref.html
fuzzy(0-159,0-2) fails-if(!dwrite) == 1212823-1.html 1212823-1-ref.html
fuzzy(0-159,0-2) fails-if(!dwrite||!nativeThemePref) == 1212823-1.html 1212823-1-ref.html
fails-if(nativeThemePref) == 1212823-2.html 1212823-2-ref.html
== boxshadow-large-offset.html boxshadow-large-offset-ref.html