Bug 1354463 - Add fuzzy-if for tests. r=kats

MozReview-Commit-ID: ESHaXJrvBjY

--HG--
extra : rebase_source : 80308ff61f24fde5117ea34072f0735307dbc565
This commit is contained in:
Morris Tseng 2017-06-06 12:01:24 +08:00
Родитель ac08691ee1
Коммит bb8ff176c7
11 изменённых файлов: 29 добавлений и 29 удалений

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

@ -11,8 +11,8 @@ fuzzy-if(winWidget,1,1) == multicolor-image-2.html multicolor-image-2-ref.html
== multicolor-image-5.html multicolor-image-5-ref.html
== transparent-image-1.html transparent-image-1-ref.html
!= repeat-image-1.html repeat-image-1-ref.html
== 470250-1.html 470250-1-ref.html
== 470250-2.html 470250-2-ref.html
fuzzy-if(webrender,15-15,950-1000) == 470250-1.html 470250-1-ref.html
fuzzy-if(webrender,15-15,950-1000) == 470250-2.html 470250-2-ref.html
!= different-h-v-1.html different-h-v-ref.html
!= different-h-v-2.html different-h-v-ref.html
!= different-h-v-1.html different-h-v-2.html
@ -68,7 +68,7 @@ fuzzy(1,9000) == border-image-radial-gradient-slice-width.html border-image-radi
# OS X failures tracked in bug 957025
== border-image-repeating-linear-gradient.html border-image-repeating-linear-gradient-ref.html
fuzzy(1,5608) fails-if(OSX) fuzzy-if(skiaContent,3,3157) == border-image-repeating-linear-gradient-slice-fill-2.html border-image-repeating-linear-gradient-slice-fill-2-ref.html
fuzzy(1,19200) fails-if(OSX) fuzzy-if(skiaContent,3,20000) == border-image-repeating-linear-gradient-repeat-round-2.html border-image-repeating-linear-gradient-repeat-round-2-ref.html
fuzzy(1,19200) fails-if(OSX) fuzzy-if(skiaContent,3,20000) fuzzy-if(webrender,3-3,20600-21000) == border-image-repeating-linear-gradient-repeat-round-2.html border-image-repeating-linear-gradient-repeat-round-2-ref.html
fuzzy(1,657) == border-image-repeating-radial-gradient.html border-image-repeating-radial-gradient-ref.html
fuzzy(1,510) fuzzy-if(skiaContent,3,362) == border-image-repeating-radial-gradient-slice-1.html border-image-repeating-radial-gradient-slice-1-ref.html

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

@ -29,7 +29,7 @@ fuzzy-if(gtkWidget,14,280) fuzzy-if(cocoaWidget,4,582) fuzzy-if(Android,36,264)
# Corners
fuzzy-if(skiaContent,17,47) == corner-1.html corner-1-ref.svg # bottom corners different radius than top corners
fuzzy-if(gtkWidget,23,5) fuzzy-if(winWidget&&!d2d,23,5) fuzzy-if(d2d,32,8) fuzzy-if(Android,10,8) fuzzy-if(skiaContent,18,49) == corner-2.html corner-2-ref.svg # right corners different radius than left corners; see bug 500804
fuzzy-if(gtkWidget,3,10) fuzzy-if(winWidget&&!d2d,3,10) fuzzy-if(d2d,15,32) fuzzy-if(Android,3,15) fuzzy-if(skiaContent,18,90) == corner-3.html corner-3-ref.svg
fuzzy-if(gtkWidget,3,10) fuzzy-if(winWidget&&!d2d,3,10) fuzzy-if(d2d,15,32) fuzzy-if(Android,3,15) fuzzy-if(skiaContent,18,90) fuzzy-if(webrender,18-18,90-100) == corner-3.html corner-3-ref.svg
fuzzy-if(skiaContent,12,83) == corner-4.html corner-4-ref.svg
# Test that radii too long are reduced
@ -52,7 +52,7 @@ fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) == clipping-5-image.html
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) fuzzy-if(skiaContent,1,77) == clipping-5-overflow-hidden.html clipping-5-ref.html
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) fuzzy-if(Android,5,21) fuzzy-if(skiaContent,1,97) == clipping-5-refi.html clipping-5-ref.html
fuzzy-if(true,1,7) fuzzy-if(d2d,48,94) fuzzy-if(cocoaWidget,1,99) fuzzy-if(Android,99,115) fuzzy-if(skiaContent,1,77) == clipping-5-refc.html clipping-5-ref.html # bug 732535
fuzzy-if(winWidget,105,71) fuzzy-if(Android,8,469) fuzzy-if(skiaContent,7,58) == clipping-6.html clipping-6-ref.html # PaintedLayer and MaskLayer with transforms that aren't identical
fuzzy-if(winWidget,105,71) fuzzy-if(Android,8,469) fuzzy-if(skiaContent,7,58) fuzzy-if(webrender,7-7,60-70) == clipping-6.html clipping-6-ref.html # PaintedLayer and MaskLayer with transforms that aren't identical
fuzzy-if(true,2,29) fuzzy-if(d2d,46,50) fuzzy-if(Android,255,586) fuzzy-if(skiaContent,28,96) == clipping-7.html clipping-7-ref.html # ColorLayer and MaskLayer with transforms that aren't identical. Reference image rendered without using layers (which causes fuzzy failures).
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) == clipping-and-zindex-1.html clipping-and-zindex-1-ref.html
fuzzy-if(cocoaWidget,1,4) == intersecting-clipping-1-canvas.html intersecting-clipping-1-refc.html
@ -76,7 +76,7 @@ fails-if(Android) fuzzy-if(asyncPan&&!layersGPUAccelerated,12,12) fuzzy-if(brows
fails-if(Android) == scrollbar-clamping-2.html scrollbar-clamping-2-ref.html
# Test for bad corner joins.
fuzzy-if(true,1,1) == corner-joins-1.xhtml corner-joins-1-ref.xhtml
fuzzy-if(true,1,1) fuzzy-if(webrender,13-13,900-1000) == corner-joins-1.xhtml corner-joins-1-ref.xhtml
fuzzy(255,20) random-if(winWidget) fuzzy-if(skiaContent,255,610) HTTP(..) == corner-joins-2.xhtml corner-joins-2-ref.xhtml
fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu)||/^Windows\x20NT\x206\.2/.test(http.oscpu),1,20) fuzzy-if(d2d,64,157) fuzzy-if(Android,166,400) fuzzy-if(skiaContent,58,145) == scroll-1.html scroll-1-ref.html # see bug 732535 #Bug 959166

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

@ -18,9 +18,9 @@ fuzzy-if(skiaContent,13,28) == boxshadow-inner-basic.html boxshadow-inner-basic-
random-if(layersGPUAccelerated) == boxshadow-mixed.html boxshadow-mixed-ref.html
random-if(d2d) fuzzy-if(skiaContent,1,100) fuzzy-if(webrender,127,3528) == boxshadow-rounded-spread.html boxshadow-rounded-spread-ref.html
fuzzy-if(skiaContent,1,50) HTTP(..) == boxshadow-dynamic.xul boxshadow-dynamic-ref.xul
random-if(d2d) == boxshadow-onecorner.html boxshadow-onecorner-ref.html
random-if(d2d) == boxshadow-twocorners.html boxshadow-twocorners-ref.html
random-if(d2d) == boxshadow-threecorners.html boxshadow-threecorners-ref.html
random-if(d2d) fuzzy-if(webrender,1-1,10-20) == boxshadow-onecorner.html boxshadow-onecorner-ref.html
random-if(d2d) fuzzy-if(webrender,1-1,20-30) == boxshadow-twocorners.html boxshadow-twocorners-ref.html
random-if(d2d) fuzzy-if(webrender,1-1,40-50) == boxshadow-threecorners.html boxshadow-threecorners-ref.html
fuzzy(2,440) fuzzy-if(webrender,25,1300) == boxshadow-skiprect.html boxshadow-skiprect-ref.html
== boxshadow-opacity.html boxshadow-opacity-ref.html
== boxshadow-color-rounding.html boxshadow-color-rounding-ref.html

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

@ -732,9 +732,9 @@ HTTP(..) == 385569-1a.html 385569-1-ref.html
HTTP(..) == 385569-1b.html 385569-1-ref.html
== 385607-1.html 385607-1-ref.html
== 385823-1.html 385823-1-ref.html
== 385823-2a.html 385823-2-ref.html
fuzzy-if(webrender,0-1,0-600) == 385823-2a.html 385823-2-ref.html
fails-if(!styloVsGecko) == 385823-2b.html 385823-2-ref.html
== 385823-2c.html 385823-2-ref.html
fuzzy-if(webrender,0-1,0-600) == 385823-2c.html 385823-2-ref.html
fuzzy-if(skiaContent,2,11) fails-if(styloVsGecko) == 385870-1.html 385870-1-ref.html
fuzzy-if(skiaContent,2,3) == 385870-2.html 385870-2-ref.html
== 386014-1a.html 386014-1-ref.html
@ -971,7 +971,7 @@ fails-if(!styloVsGecko) == 413027-3.html 413027-3-ref.html
== 413286-5.html 413286-5-ref.html
== 413286-6.html 413286-6-ref.html
== 413292-1.html 413292-1-ref.html
fuzzy-if(Android,11,17) == 413361-1.html 413361-1-ref.html # bug 1128229
fuzzy-if(Android,11,17) fuzzy-if(webrender,0-1,0-10) == 413361-1.html 413361-1-ref.html # bug 1128229
== 413840-background-unchanged.html 413840-background-unchanged-ref.html
== 413840-ltr-offsets.html 413840-ltr-offsets-ref.html
== 413840-rtl-offsets.html 413840-rtl-offsets-ref.html
@ -1197,8 +1197,8 @@ test-pref(dom.use_xbl_scopes_for_remote_xul,true) fails-if(styloVsGecko) != 4491
== 455826-1.html 455826-1-ref.html
fails-if(cocoaWidget) fails-if(Android) == 456147.xul 456147-ref.html # bug 458047
fuzzy-if(Android,11,41) fuzzy-if(winWidget||gtkWidget,4,6) fuzzy-if(d2d,4,69) fuzzy-if(skiaContent,42,150) == 456219-1a.html 456219-1-ref.html # bug 1128229
fuzzy-if(Android,11,41) fuzzy-if(winWidget||gtkWidget,4,6) fuzzy-if(d2d,4,69) fuzzy-if(skiaContent,42,150) == 456219-1b.html 456219-1-ref.html # bug 1128229
fuzzy-if(Android,11,41) fuzzy-if(winWidget||gtkWidget,4,6) fuzzy-if(d2d,4,69) fuzzy-if(skiaContent,42,150) == 456219-1c.html 456219-1-ref.html # bug 1128229
fuzzy-if(Android,11,41) fuzzy-if(winWidget||gtkWidget,4,6) fuzzy-if(d2d,4,69) fuzzy-if(skiaContent,42,150) fuzzy-if(webrender,24-24,150-200) == 456219-1b.html 456219-1-ref.html # bug 1128229
fuzzy-if(Android,11,41) fuzzy-if(winWidget||gtkWidget,4,6) fuzzy-if(d2d,4,69) fuzzy-if(skiaContent,42,150) fuzzy-if(webrender,24-24,150-200) == 456219-1c.html 456219-1-ref.html # bug 1128229
fuzzy-if(skiaContent,1,45) == 456219-2.html 456219-2-ref.html
== 456330-1.gif 456330-1-ref.png
== 456484-1.html 456484-1-ref.html
@ -1958,7 +1958,7 @@ random-if(gtkWidget) != 1238243-1.html 1238243-1-notref.html # may fail on Linux
== 1238243-2.html 1238243-2-ref.html
fuzzy(100,2000) == 1239564.html 1239564-ref.html
== 1242172-1.html 1242172-1-ref.html
== 1242172-2.html 1242172-2-ref.html
fuzzy-if(webrender,0-1,0-2400) == 1242172-2.html 1242172-2-ref.html
== 1242781.html 1242781-ref.html
== 1263845.html 1263845-ref.html
== 1260543-1.html 1260543-1-ref.html

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

@ -5,7 +5,7 @@
== min-width-1a.html pref-width-1-ref.html
== min-width-1b.html min-width-1-ref.html
== min-width-1c.html min-width-1-ref.html
fuzzy-if(webrender,255,2) == min-width-2.html min-width-2-ref.html
fuzzy-if(webrender,255-255,30-40) == min-width-2.html min-width-2-ref.html
== column-balancing-overflow-000.html column-balancing-overflow-000.ref.html
== column-balancing-overflow-001.html column-balancing-overflow-000.ref.html
== column-balancing-overflow-002.html column-balancing-overflow-002.ref.html

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

@ -1,5 +1,5 @@
== input.html input-ref.html
== button.html button-ref.html
fuzzy-if(webrender,1-1,5-10) == button.html button-ref.html
fails-if(styloVsGecko) == textarea.html textarea-ref.html
== select.html select-ref.html
== fieldset.html fieldset-ref.html

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

@ -51,5 +51,5 @@
fails-if(styloVsGecko||stylo) == xbl-children-1.xhtml xbl-children-1-ref.xhtml
== xbl-children-2.xhtml about:blank
== xbl-children-3.xhtml xbl-children-3-ref.html
fuzzy-if(webrender,8-8,1000-1100) == xbl-children-3.xhtml xbl-children-3-ref.html
== xbl-children-4.xhtml about:blank

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

@ -160,8 +160,8 @@ fuzzy-if(skiaContent,255,10) == img-novb-width-slice-1.html img-novb-width-al
== svg-image-simple-3.svg lime100x100.svg
# tests for <svg> files that include themselves as an <image>
== svg-image-recursive-1a.svg svg-image-recursive-1-ref.svg
== svg-image-recursive-1b.svg svg-image-recursive-1-ref.svg
fuzzy-if(webrender,1-1,3-5) == svg-image-recursive-1a.svg svg-image-recursive-1-ref.svg
fuzzy-if(webrender,1-1,3-5) == svg-image-recursive-1b.svg svg-image-recursive-1-ref.svg
== svg-image-recursive-2a.svg svg-image-recursive-2-ref.svg
== svg-image-recursive-2b.html svg-image-recursive-2-ref.svg

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

@ -333,7 +333,7 @@ fuzzy-if(skiaContent,7,175) fuzzy-if(skiaContent&&webrender,1,225) == outline.ht
== paint-on-maskLayer-1b.html paint-on-maskLayer-1-ref.html
pref(layout.css.clip-path-shapes.enabled,true) == paint-on-maskLayer-1c.html paint-on-maskLayer-1-ref.html
pref(svg.paint-order.enabled,true) == paint-order-01.svg paint-order-01-ref.svg
pref(svg.paint-order.enabled,true) == paint-order-02.svg paint-order-02-ref.svg
pref(svg.paint-order.enabled,true) fuzzy-if(webrender,1-1,110-120) == paint-order-02.svg paint-order-02-ref.svg
pref(svg.paint-order.enabled,true) == paint-order-03.svg paint-order-03-ref.svg
#fuzzy(23,60) fails-if(d2d) == path-01.svg path-01-ref.svg

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

@ -9,7 +9,7 @@ fuzzy-if(skiaContent,7,90) == rotate-angle-2.svg rotate-angle-ref.svg
fuzzy-if(skiaContent,7,130) == rotate-angle-3.svg rotate-angle-ref.svg
fuzzy-if(skiaContent,7,90) == rotate-angle-4.svg rotate-angle-ref.svg
fuzzy-if(skiaContent,1,130) == rotate-angle-5.svg rotate-angle-ref.svg
fuzzy(12,27) fuzzy-if(skiaContent,1,180) fuzzy-if(Android,16,3) == scale-1.svg scale-1-ref.svg # bug 981004
fuzzy(12,27) fuzzy-if(skiaContent,1,180) fuzzy-if(Android,16,3) fuzzy-if(webrender,7-7,300-310) == scale-1.svg scale-1-ref.svg # bug 981004
== set-transform-1.svg lime.svg
fuzzy-if(winWidget||gtkWidget||OSX,1,27) fuzzy-if(skiaContent,7,1548) == skew-1.svg skew-1-ref.svg # bug 983671, Bug 1260629
== translate-clipPath-1.svg lime.svg

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

@ -18,12 +18,12 @@ default-preferences pref(layout.css.clip-path-shapes.enabled,true)
== clip-path-polygon-012.html clip-path-stripes-001-ref.html
fuzzy-if(skiaContent,1,20) == clip-path-polygon-013.html clip-path-stripes-003-ref.html
fuzzy-if(webrender,89,690) == clip-path-circle-001.html clip-path-circle-001-ref.html
fuzzy-if(webrender,89,690) == clip-path-circle-002.html clip-path-circle-001-ref.html
fuzzy-if(webrender,89,690) == clip-path-circle-003.html clip-path-circle-001-ref.html
fuzzy-if(webrender,89,690) == clip-path-circle-004.html clip-path-circle-001-ref.html
fuzzy-if(webrender,90-90,700-710) == clip-path-circle-001.html clip-path-circle-001-ref.html
fuzzy-if(webrender,90-90,700-710) == clip-path-circle-002.html clip-path-circle-001-ref.html
fuzzy-if(webrender,90-90,700-710) == clip-path-circle-003.html clip-path-circle-001-ref.html
fuzzy-if(webrender,90-90,700-710) == clip-path-circle-004.html clip-path-circle-001-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-005.html clip-path-circle-002-ref.html
fuzzy-if(webrender,89,690) == clip-path-circle-006.html clip-path-circle-001-ref.html
fuzzy-if(webrender,90-90,700-710) == clip-path-circle-006.html clip-path-circle-001-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-007.html clip-path-circle-002-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-008.html clip-path-circle-002-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-009.html clip-path-circle-003-ref.html
@ -31,9 +31,9 @@ fuzzy-if(webrender,64,714) == clip-path-circle-010.html clip-path-circle-004-ref
fuzzy-if(webrender,64,714) == clip-path-circle-011.html clip-path-circle-005-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-012.html clip-path-circle-006-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-013.html clip-path-circle-002-ref.html
fuzzy-if(webrender,89,698) == clip-path-circle-014.html clip-path-circle-007-ref.html
fuzzy-if(webrender,90-90,700-710) == clip-path-circle-014.html clip-path-circle-007-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-015.html clip-path-circle-008-ref.html
fuzzy-if(webrender,89,702) == clip-path-circle-016.html clip-path-circle-009-ref.html
fuzzy-if(webrender,90-90,700-710) == clip-path-circle-016.html clip-path-circle-009-ref.html
fuzzy-if(webrender,128,714) == clip-path-circle-017.html clip-path-circle-007-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-018.html clip-path-circle-010-ref.html
fuzzy-if(webrender,64,714) == clip-path-circle-019.html clip-path-circle-002-ref.html