mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1657743: Fix reftests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D86721
This commit is contained in:
parent
5f4dc8c6b3
commit
f6a573510f
@ -10,10 +10,10 @@ random != boxshadow-blur-2.html boxshadow-blur-2-notref.html # fixedpoint divisi
|
||||
== tableboxshadow-tdshadow.html tableboxshadow-tdshadow-ref.html
|
||||
== boxshadow-rounding.html boxshadow-rounding-ref.html
|
||||
# One uses old path, one uses WR box shadow.
|
||||
fails-if(Android&&nativeThemePref) == boxshadow-button.html boxshadow-button-ref.html
|
||||
== boxshadow-button.html boxshadow-button-ref.html
|
||||
fuzzy-if(OSX==1010,0-1,0-24) fuzzy-if(d2d,0-16,0-999) fuzzy-if(skiaContent,0-14,0-179) == boxshadow-large-border-radius.html boxshadow-large-border-radius-ref.html # Bug 1209649
|
||||
|
||||
fails-if(Android&&nativeThemePref) == boxshadow-fileupload.html boxshadow-fileupload-ref.html
|
||||
== boxshadow-fileupload.html boxshadow-fileupload-ref.html
|
||||
fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),0-98,0-152) fuzzy-if(skiaContent,0-13,0-28) fuzzy-if(webrender,19-19,47-47) == boxshadow-inner-basic.html boxshadow-inner-basic-ref.svg
|
||||
fuzzy-if(skiaContent,0-1,0-17) random-if(layersGPUAccelerated) == boxshadow-mixed.html boxshadow-mixed-ref.html
|
||||
fuzzy-if(skiaContent,0-1,0-17) == boxshadow-mixed-2.html boxshadow-mixed-2-ref.html
|
||||
|
@ -1005,7 +1005,7 @@ fails-if(Android) fuzzy-if(webrender,63-64,1024-1024) fails-if(usesRepeatResampl
|
||||
== 422678-1.html 422678-1-ref.html
|
||||
== 423130-1.html 423130-1-ref.html
|
||||
== 423385-1.html 423385-1-ref.html
|
||||
random-if(gtkWidget||!nativeThemePref) == 423599-1.html 423599-1-ref.html # bug 1309095
|
||||
random-if(gtkWidget||Android) == 423599-1.html 423599-1-ref.html # bug 1309095
|
||||
== 423676-1.html 423676-1-ref.html
|
||||
fails == 423823-1.html 423823-1-ref.html # scrolling rowgroups were removed in bug 28800
|
||||
== chrome://reftest/content/bugs/424074-1.xhtml chrome://reftest/content/bugs/424074-1-ref.xhtml
|
||||
@ -1132,7 +1132,7 @@ fuzzy-if(skiaContent,0-1,0-3280) == 438987-2c.html 438987-2-ref.html
|
||||
== 439004-1.html 439004-1-ref.html
|
||||
== 439639-1.html 439639-1-ref.html
|
||||
fuzzy-if(gtkWidget,0-255,0-6) == 439910.html 439910-ref.html
|
||||
fuzzy-if(skiaContent,0-1,0-1) fuzzy-if(!nativeThemePref&&skiaContent,0-1,0-3) == 440112.html 440112-ref.html
|
||||
fuzzy-if(skiaContent,0-1,0-1) fuzzy-if(Android,0-1,0-3) == 440112.html 440112-ref.html
|
||||
== 440149-1.html 440149-1-ref.html
|
||||
== 441259-1.html 441259-1-ref.html
|
||||
== 441259-2.html 441259-2-ref.html
|
||||
@ -1287,9 +1287,9 @@ pref(layout.css.xul-display-values.content.enabled,true) == 480017-1.html 480017
|
||||
== 480880-2a.html about:blank
|
||||
== 480880-2b.html about:blank
|
||||
== 480880-2c.html about:blank
|
||||
fails-if(Android&&nativeThemePref) == 481024-1a.html 481024-1-ref.html
|
||||
fails-if(Android&&nativeThemePref) == 481024-1b.html 481024-1-ref.html
|
||||
fails-if(Android&&nativeThemePref) == 481024-1c.html 481024-1-ref.html
|
||||
== 481024-1a.html 481024-1-ref.html
|
||||
== 481024-1b.html 481024-1-ref.html
|
||||
== 481024-1c.html 481024-1-ref.html
|
||||
== 481024-1d.html 481024-1-ref.html
|
||||
== 481024-1e.html 481024-1-ref.html
|
||||
!= 481948-1.html 481948-1-ref.html
|
||||
@ -1385,8 +1385,8 @@ skip-if(isDebugBuild) == chrome://reftest/content/bugs/508908-1.xhtml chrome://r
|
||||
== 509155-1.xhtml 509155-1-ref.xhtml
|
||||
fuzzy-if(Android,0-5,0-1656) fuzzy-if(skiaContent,0-1,0-1200) == 512410.html 512410-ref.html
|
||||
== 512631-1.html 512631-1-ref.html
|
||||
fuzzy-if(!nativeThemePref&&skiaContent,0-1,0-2) == 513153-1a.html 513153-1-ref.html
|
||||
fuzzy-if(!nativeThemePref&&skiaContent,0-1,0-2) == 513153-1b.html 513153-1-ref.html
|
||||
fuzzy-if(Android,0-1,0-2) == 513153-1a.html 513153-1-ref.html
|
||||
fuzzy-if(Android,0-1,0-2) == 513153-1b.html 513153-1-ref.html
|
||||
fuzzy-if(webrender&&winWidget,82-82,76-76) == 513153-2a.html 513153-2-ref.html
|
||||
fuzzy-if(webrender&&OSX,34-34,138-138) == 513153-2b.html 513153-2-ref.html
|
||||
== chrome://reftest/content/bugs/513318-1.xhtml chrome://reftest/content/bugs/513318-1-ref.xhtml
|
||||
|
@ -27,7 +27,7 @@ fuzzy-if(Android,0-125,0-20) == percent-width-child.html percent-width-child-re
|
||||
|
||||
# Looks like Android changes the text color, but to something slightly
|
||||
# different from ColorGray
|
||||
fails-if(Android&&nativeThemePref) == disabled-1.html disabled-1-ref.html
|
||||
== disabled-1.html disabled-1-ref.html
|
||||
== disabled-2.html disabled-2-ref.html
|
||||
|
||||
!= disabled-3.html disabled-3-notref.html
|
||||
|
@ -14,6 +14,6 @@
|
||||
skip-if(!gtkWidget) == gtk-theme-width-height.html gtk-theme-width-height-ref.html
|
||||
== checkbox-baseline.html checkbox-baseline-ref.html
|
||||
== checkbox-radio-color.html checkbox-radio-color-ref.html
|
||||
skip-if(gtkWidget) fails-if(geckoview&&webrender) fails-if(!nativeThemePref) == checkbox-clamp-01.html checkbox-clamp-01-ref.html
|
||||
skip-if(OSX||winWidget) fails-if(geckoview&&webrender) fuzzy-if(gtkWidget,25-25,32-32) fails-if(!nativeThemePref) == checkbox-clamp-02.html checkbox-clamp-02-ref.html
|
||||
skip-if(gtkWidget) fails-if(geckoview&&webrender) fails-if(Android) == checkbox-clamp-01.html checkbox-clamp-01-ref.html
|
||||
skip-if(OSX||winWidget) fails-if(geckoview&&webrender) fuzzy-if(gtkWidget,25-25,32-32) fails-if(Android) == checkbox-clamp-02.html checkbox-clamp-02-ref.html
|
||||
fails-if(OSX) == checkbox-minimum-size.html checkbox-minimum-size-ref.html
|
||||
|
@ -1,10 +1,10 @@
|
||||
fuzzy-if(gtkWidget||webrender,0-1,0-34) fails-if(Android&&nativeThemePref) == simple.html chrome://reftest/content/forms/input/file/simple-ref.xhtml
|
||||
fuzzy-if(gtkWidget||webrender,0-1,0-17) fails-if(Android&&nativeThemePref) == rtl.html chrome://reftest/content/forms/input/file/rtl-ref.xhtml
|
||||
fuzzy-if(gtkWidget||webrender,0-1,0-34) fails-if(Android&&nativeThemePref) == size.html chrome://reftest/content/forms/input/file/simple-ref.xhtml
|
||||
fuzzy-if(gtkWidget||webrender,0-1,0-10) fails-if(Android&&nativeThemePref) == background.html chrome://reftest/content/forms/input/file/background-ref.xhtml
|
||||
fuzzy-if(gtkWidget,0-1,0-10) fails-if(Android&&nativeThemePref) == style.html chrome://reftest/content/forms/input/file/style-ref.xhtml
|
||||
fuzzy-if(gtkWidget||webrender,0-1,0-34) == simple.html chrome://reftest/content/forms/input/file/simple-ref.xhtml
|
||||
fuzzy-if(gtkWidget||webrender,0-1,0-17) == rtl.html chrome://reftest/content/forms/input/file/rtl-ref.xhtml
|
||||
fuzzy-if(gtkWidget||webrender,0-1,0-34) == size.html chrome://reftest/content/forms/input/file/simple-ref.xhtml
|
||||
fuzzy-if(gtkWidget||webrender,0-1,0-10) == background.html chrome://reftest/content/forms/input/file/background-ref.xhtml
|
||||
fuzzy-if(gtkWidget,0-1,0-10) == style.html chrome://reftest/content/forms/input/file/style-ref.xhtml
|
||||
!= width-clip.html width-clip-ref.html
|
||||
fails-if(Android&&nativeThemePref) == color-inherit.html color-inherit-ref.html
|
||||
== color-inherit.html color-inherit-ref.html
|
||||
fuzzy-if(Android,0-2,0-2) fuzzy-if(OSX,0-34,0-134) fails-if(webrender&&!(cocoaWidget||geckoview)) == dynamic-max-width.html dynamic-max-width-ref.html # bug 1496542 for webrender.
|
||||
== label-min-inline-size.html label-min-inline-size-ref.html
|
||||
== css-overflow.html css-overflow-ref.html
|
||||
|
@ -1,6 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<input type="text" style="-moz-appearance:none; width:200px;">
|
||||
</body>
|
||||
</html>
|
@ -1,9 +1,6 @@
|
||||
# sanity checks:
|
||||
# not valid on Android where type=number looks like type=text
|
||||
skip-if(Android&&nativeThemePref) != not-other-type-unthemed-1.html not-other-type-unthemed-1a-notref.html
|
||||
skip-if(Android&&nativeThemePref) != not-other-type-unthemed-1.html not-other-type-unthemed-1b-notref.html
|
||||
# only valid on Android where type=number looks the same as type=text
|
||||
skip-if(!(Android&&nativeThemePref)) == number-same-as-text-unthemed.html number-same-as-text-unthemed-ref.html
|
||||
!= not-other-type-unthemed-1.html not-other-type-unthemed-1a-notref.html
|
||||
!= not-other-type-unthemed-1.html not-other-type-unthemed-1b-notref.html
|
||||
|
||||
# should look the same as type=text, except for the spin box
|
||||
== number-similar-to-text-unthemed.html number-similar-to-text-unthemed-ref.html
|
||||
|
@ -5,6 +5,6 @@
|
||||
!= checked-native.html about:blank
|
||||
!= checked-native-notref.html about:blank
|
||||
skip-if(!gtkWidget) == gtk-theme-width-height.html gtk-theme-width-height-ref.html
|
||||
skip-if(gtkWidget) fails-if(geckoview&&webrender) fails-if(!nativeThemePref) == radio-clamp-01.html radio-clamp-01-ref.html
|
||||
skip-if(OSX||winWidget||!nativeThemePref) fuzzy-if(gtkWidget,24-24,16-16) == radio-clamp-02.html radio-clamp-02-ref.html # gtkWidget, Bug 1599622
|
||||
skip-if(gtkWidget) fails-if(geckoview&&webrender) fails-if(Android) == radio-clamp-01.html radio-clamp-01-ref.html
|
||||
skip-if(OSX||winWidget||Android) fuzzy-if(gtkWidget,24-24,16-16) == radio-clamp-02.html radio-clamp-02-ref.html # gtkWidget, Bug 1599622
|
||||
fails-if(OSX) == radio-minimum-size.html radio-minimum-size-ref.html
|
||||
|
@ -21,7 +21,7 @@ fuzzy-if(skiaContent,0-1,0-40) == stepDown-unthemed.html 75pct-unthemed-common-r
|
||||
== stepDown.html 75pct-common-ref.html
|
||||
fuzzy-if(skiaContent,0-1,0-40) == stepUp-unthemed.html 75pct-unthemed-common-ref.html
|
||||
== stepUp.html 75pct-common-ref.html
|
||||
random-if(!nativeThemePref) == max-prop.html 100pct-common-ref.html # Snapping in different ways in debug and opt builds, bug 1621141
|
||||
random-if(Android) == max-prop.html 100pct-common-ref.html # Snapping in different ways in debug and opt builds, bug 1621141
|
||||
== reset-value.html reset-value-ref.html
|
||||
|
||||
# 'direction' property:
|
||||
@ -56,6 +56,6 @@ skip-if(Android) == range-border-background.html range-border-background-ref.htm
|
||||
# is an internal reftest for now.
|
||||
== range-percent-intrinsic-size-2b.html range-percent-intrinsic-size-2b-ref.html
|
||||
|
||||
fails-if(!nativeThemePref) == auto-size.html auto-size-ref.html # Snapping, bug 1621141
|
||||
fails-if(Android) == auto-size.html auto-size-ref.html # Snapping, bug 1621141
|
||||
== range-track-bg.html range-track-bg-ref.html
|
||||
!= track-default-rendering.html track-default-rendering-ref.html
|
||||
|
@ -18,7 +18,7 @@
|
||||
== placeholder-5.html placeholder-visible-ref.html
|
||||
|
||||
# This tests assumes that the overflowing placeholder won't eat the padding, which is just not true in some platforms...
|
||||
fuzzy-if(winWidget,0-160,0-10) fuzzy-if(!nativeThemePref,0-160,0-41) fuzzy-if(Android&&nativeThemePref,0-1,0-1) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-146,0-317) fuzzy-if(OSX==1010&&browserIsRemote,0-1,0-8) == placeholder-6.html placeholder-overflow-ref.html
|
||||
fuzzy-if(winWidget,0-160,0-10) fuzzy-if(Android,0-160,0-41) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-146,0-317) fuzzy-if(OSX==1010&&browserIsRemote,0-1,0-8) == placeholder-6.html placeholder-overflow-ref.html
|
||||
|
||||
skip-if(Android&&asyncPan) == placeholder-6-textarea.html placeholder-overflow-textarea-ref.html
|
||||
# needs-focus == placeholder-7.html placeholder-focus-ref.html
|
||||
|
@ -66,17 +66,12 @@ fuzzy(0-116,0-94) fuzzy-if(winWidget,0-135,0-124) == 1115916-1-vertical-metrics.
|
||||
# These don't like padding on textareas by default different to the UA stylesheet ones.
|
||||
# FIXME(emilio): Maybe these should be rewritten to use -moz-appearance: none?
|
||||
skip-if(Android||winWidget||!nativeThemePref) == ua-style-sheet-textarea-1.html ua-style-sheet-textarea-1a-ref.html
|
||||
skip-if(!(Android&&nativeThemePref)) == ua-style-sheet-textarea-1.html ua-style-sheet-textarea-1b-ref.html
|
||||
skip-if(!winWidget) == ua-style-sheet-textarea-1.html ua-style-sheet-textarea-1c-ref.html
|
||||
|
||||
fuzzy-if(Android,0-1,0-18) == ua-style-sheet-checkbox-radio-1.html ua-style-sheet-checkbox-radio-1-ref.html
|
||||
# Android uses different margins for buttons compared to the ref.
|
||||
skip-if(Android) fuzzy-if(skiaContent&&!Android,0-2,0-6) == ua-style-sheet-button-1.html ua-style-sheet-button-1a-ref.html
|
||||
|
||||
# These don't like padding on buttons by default different to the UA stylesheet ones.
|
||||
# FIXME(emilio): Maybe these should be rewritten to use -moz-appearance: none?
|
||||
skip-if(!(Android&&nativeThemePref)) == ua-style-sheet-button-1.html ua-style-sheet-button-1b-ref.html
|
||||
|
||||
# Android uses different margins for buttons compared to the ref.
|
||||
skip-if(Android) == ua-style-sheet-input-color-1.html ua-style-sheet-input-color-1-ref.html
|
||||
fuzzy-if(gtkWidget,0-1,0-15) == ua-style-sheet-input-number-1.html ua-style-sheet-input-number-1-ref.html
|
||||
|
@ -1,52 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Test for logical properties of button in the UA stylesheet</title>
|
||||
<style>
|
||||
.v-rl { writing-mode: vertical-rl; }
|
||||
.ltr, .rtl, .v-rl { border: 1px solid blue; }
|
||||
.a { -moz-appearance: none; }
|
||||
|
||||
.ltr button,
|
||||
.rtl button,
|
||||
.ltr input[type="button"],
|
||||
.rtl input[type="button"] {
|
||||
padding: 0 7px;
|
||||
}
|
||||
|
||||
.v-rl button,
|
||||
.v-rl input[type="button"] {
|
||||
padding: 7px 0;
|
||||
}
|
||||
</style>
|
||||
<div class=ltr>
|
||||
<button>one</button><br>
|
||||
<button class=a>two</button><br>
|
||||
<button disabled>three</button><br>
|
||||
<button class=a disabled>four</button><br>
|
||||
<input type="button" value="five"><br>
|
||||
<input type="button" value="six" class=a><br>
|
||||
<input type="button" value="seven" disabled><br>
|
||||
<input type="button" value="eight" class=a disabled><br>
|
||||
</div>
|
||||
|
||||
<div class=rtl dir=rtl>
|
||||
<button>one</button><br>
|
||||
<button class=a>two</button><br>
|
||||
<button disabled>three</button><br>
|
||||
<button class=a disabled>four</button><br>
|
||||
<input type="button" value="five"><br>
|
||||
<input type="button" value="six" class=a><br>
|
||||
<input type="button" value="seven" disabled><br>
|
||||
<input type="button" value="eight" class=a disabled><br>
|
||||
</div>
|
||||
|
||||
<div class=v-rl>
|
||||
<button>one</button><br>
|
||||
<button class=a>two</button><br>
|
||||
<button disabled>three</button><br>
|
||||
<button class=a disabled>four</button><br>
|
||||
<input type="button" value="five"><br>
|
||||
<input type="button" value="six" class=a><br>
|
||||
<input type="button" value="seven" disabled><br>
|
||||
<input type="button" value="eight" class=a disabled><br>
|
||||
</div>
|
@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Test for logical properties of textarea in the UA stylesheet</title>
|
||||
<style>
|
||||
.v-rl { writing-mode: vertical-rl; }
|
||||
.ltr, .rtl, .v-rl { border: 1px solid blue; }
|
||||
|
||||
.ltr textarea, .rtl textarea {
|
||||
margin: 1px 0;
|
||||
padding: 2px 1px;
|
||||
}
|
||||
.v-rl textarea {
|
||||
margin: 0 1px;
|
||||
padding: 1px 2px;
|
||||
}
|
||||
</style>
|
||||
<div class=ltr>
|
||||
<textarea>hello</textarea>
|
||||
</div>
|
||||
|
||||
<div class=rtl dir=rtl>
|
||||
<textarea>hello</textarea>
|
||||
</div>
|
||||
|
||||
<div class=v-rl>
|
||||
<textarea>hello</textarea>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user