Bug 1097464 - Part 3 - Fix and add reftests. r=roc

--HG--
extra : rebase_source : cd4a906c120d96e6c8d37ce2e301f7ab3837e3bc
This commit is contained in:
Thinker K.F. Li 2015-09-17 08:30:00 +02:00
Родитель 568e7ca86e
Коммит e9a8758d19
6 изменённых файлов: 105 добавлений и 14 удалений

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

@ -10,5 +10,5 @@ chaos-mode skip-if(!asyncPan) == async-scrollbar-1-vh-rtl.html async-scrollbar-1
# Different async zoom levels. Since the scrollthumb gets async-scaled in the
# compositor, the border-radius ends of the scrollthumb are going to be a little
# off, hence the fuzzy-if clauses.
chaos-mode skip-if(!asyncZoom) fuzzy-if(B2G,77,82) == async-scrollbar-zoom-1.html async-scrollbar-zoom-1-ref.html
chaos-mode skip-if(!asyncZoom) fuzzy-if(B2G,98,82) == async-scrollbar-zoom-1.html async-scrollbar-zoom-1-ref.html
chaos-mode skip-if(!asyncZoom) fuzzy-if(B2G,94,146) == async-scrollbar-zoom-2.html async-scrollbar-zoom-2-ref.html

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

@ -1659,7 +1659,7 @@ skip-if(Android||B2G||Mulet) random-if(winWidget) == 632781-verybig.html 632781-
fuzzy-if(d2d&&/^Windows\x20NT\x206\.2/.test(http.oscpu),1,559) == 633344-1.html 633344-1-ref.html # bug 1103623
== 634232-1.html 634232-1-ref.html
fails-if(Android&&AndroidVersion<17&&AndroidVersion!=10) == 635302-1.html 635302-1-ref.html
fuzzy(1,68) skip-if(B2G||Mulet) fails-if(Android) == 635373-1.html 635373-1-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
fuzzy(1,68) fuzzy-if(gtkWidget,1,70) skip-if(B2G||Mulet) fails-if(Android) == 635373-1.html 635373-1-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
skip-if(B2G||Mulet) random-if(d2d) fails-if(Android) fuzzy-if(winWidget&&!d2d,1,61) == 635373-2.html 635373-2-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
skip-if(B2G||Mulet) random-if(d2d) fails-if(Android) fuzzy-if(winWidget&&!d2d,1,60) == 635373-3.html 635373-3-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
HTTP(..) == 635639-1.html 635639-1-ref.html
@ -1885,7 +1885,7 @@ skip-if(!B2G) == 1133905-2-v.html 1133905-ref-v.html
skip-if(!B2G) == 1133905-3-v.html 1133905-ref-v.html
skip-if(!B2G) == 1133905-4-v.html 1133905-ref-v.html
skip-if(!B2G) fuzzy-if(B2G,61,336) == 1133905-5-v.html 1133905-ref-v.html
skip-if(!B2G) fuzzy-if(B2G,61,480) == 1133905-6-v.html 1133905-ref-v.html
skip-if(!B2G) fuzzy-if(B2G,77,287) == 1133905-6-v.html 1133905-ref-v.html
skip-if(!B2G) == 1133905-1-h.html 1133905-ref-h.html
skip-if(!B2G) == 1133905-2-h.html 1133905-ref-h.html
skip-if(!B2G) == 1133905-3-h.html 1133905-ref-h.html
@ -1897,31 +1897,31 @@ skip-if(!B2G) == 1133905-2-vh.html 1133905-ref-vh.html
skip-if(!B2G) == 1133905-3-vh.html 1133905-ref-vh.html
skip-if(!B2G) == 1133905-4-vh.html 1133905-ref-vh.html
skip-if(!B2G) fuzzy-if(B2G,102,720) == 1133905-5-vh.html 1133905-ref-vh.html
skip-if(!B2G) fuzzy-if(B2G,101,1138) == 1133905-6-vh.html 1133905-ref-vh.html
skip-if(!B2G) fuzzy-if(B2G,102,945) == 1133905-6-vh.html 1133905-ref-vh.html
skip-if(!B2G) == 1133905-1-rtl.html 1133905-ref-rtl.html
skip-if(!B2G) == 1133905-2-rtl.html 1133905-ref-rtl.html
skip-if(!B2G) == 1133905-3-rtl.html 1133905-ref-rtl.html
skip-if(!B2G) == 1133905-4-rtl.html 1133905-ref-rtl.html
skip-if(!B2G) == 1133905-5-rtl.html 1133905-ref-rtl.html
skip-if(!B2G) == 1133905-6-rtl.html 1133905-ref-rtl.html
skip-if(!B2G) fuzzy-if(B2G,23,175) == 1133905-1-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) fuzzy-if(B2G,18,175) == 1133905-2-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) fuzzy-if(B2G,20,177) == 1133905-1-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) fuzzy-if(B2G,20,174) == 1133905-2-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) fuzzy-if(B2G,64,181) == 1133905-3-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) == 1133905-4-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) fuzzy-if(B2G,33,180) == 1133905-5-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) fuzzy-if(B2G,62,222) == 1133905-6-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) fuzzy-if(B2G,77,219) == 1133905-6-v-rtl.html 1133905-ref-v-rtl.html
skip-if(!B2G) == 1133905-1-h-rtl.html 1133905-ref-h-rtl.html
skip-if(!B2G) == 1133905-2-h-rtl.html 1133905-ref-h-rtl.html
skip-if(!B2G) == 1133905-3-h-rtl.html 1133905-ref-h-rtl.html
skip-if(!B2G) == 1133905-4-h-rtl.html 1133905-ref-h-rtl.html
skip-if(!B2G) == 1133905-5-h-rtl.html 1133905-ref-h-rtl.html
skip-if(!B2G) == 1133905-6-h-rtl.html 1133905-ref-h-rtl.html
skip-if(!B2G) fuzzy-if(B2G,23,175) == 1133905-1-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(!B2G) fuzzy-if(B2G,62,175) == 1133905-2-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(!B2G) fuzzy-if(B2G,20,177) == 1133905-1-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(!B2G) fuzzy-if(B2G,62,176) == 1133905-2-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(!B2G) fuzzy-if(B2G,23,176) == 1133905-3-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(!B2G) == 1133905-4-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(!B2G) fuzzy-if(B2G,102,577) == 1133905-5-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(!B2G) fuzzy-if(B2G,101,887) == 1133905-6-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(!B2G) fuzzy-if(B2G,102,877) == 1133905-6-vh-rtl.html 1133905-ref-vh-rtl.html
skip-if(B2G||Mulet) == 1150021-1.xul 1150021-1-ref.xul
== 1151145-1.html 1151145-1-ref.html
== 1151306-1.html 1151306-1-ref.html

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

@ -1,7 +1,7 @@
== outline-and-box-shadow.html outline-and-box-shadow-ref.html
== outline-and-3d-transform-1a.html outline-and-3d-transform-1-ref.html
== outline-and-3d-transform-1b.html outline-and-3d-transform-1-ref.html
fuzzy-if(d2d,16,96) == outline-and-3d-transform-2.html outline-and-3d-transform-2-ref.html
fuzzy-if(Android,255,356) fuzzy-if(d2d,16,96) fuzzy-if(cocoaWidget,255,120) fuzzy-if(B2G,128,60) fuzzy-if(gtkWidget,128,120) fuzzy-if(winWidget,255,120) == outline-and-3d-transform-2.html outline-and-3d-transform-2-ref.html
== outline-overflow-block-abspos.html outline-overflow-block-ref.html
== outline-overflow-block-float.html outline-overflow-block-ref.html
== outline-overflow-inlineblock-abspos.html outline-overflow-inlineblock-ref.html

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

@ -0,0 +1,44 @@
<!DOCTYPE HTML>
<title>preserve-3d consequence nested context</title>
<style>
.rect {
width: 100px;
height: 100px;
}
#outeri {
transform-style: preserve-3d;
transform: rotateX(45deg);
}
#rect1 {
background-color: green;
}
#rect2 {
transform: translate(50px, 50px);
background-color: pink;
}
#inneri {
transform: rotateX(45deg);
}
#rect3 {
background-color: red;
}
</style>
<body>
<div id="outer">
<div id="outeri">
<div id="rect1" class="rect"></div>
<div id="rect2" class="rect"></div>
<div id="inner">
<div id="inneri">
<div id="rect3" class="rect"></div>
</div>
</div>
</div>
</div>
</body>

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

@ -0,0 +1,46 @@
<!DOCTYPE HTML>
<title>preserve-3d consequence nested context</title>
<style>
.rect {
width: 100px;
height: 100px;
background-color: green;
}
#outeri {
transform-style: preserve-3d;
transform: rotateX(45deg);
}
#inner {
transform: rotateX(0deg);
}
#inneri {
transform-style: preserve-3d;
transform: rotateX(45deg);
}
#rect2 {
transform: translate(50px, 50px);
background-color: pink;
}
#rect3 {
background-color: red;
}
</style>
<body>
<div id="outer">
<div id="outeri">
<div id="rect1" class="rect"></div>
<div id="rect2" class="rect"></div>
<div id="inner">
<div id="inneri">
<div id="rect3" class="rect"></div>
</div>
</div>
</div>
</div>
</body>

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

@ -11,16 +11,16 @@
== rotatex-perspective-1c.html rotatex-1-ref.html
== rotatex-perspective-3a.html rotatex-perspective-3-ref.html
== scalez-1a.html scalez-1-ref.html
fuzzy-if(cocoaWidget,17,4) == preserve3d-1a.html preserve3d-1-ref.html
fuzzy-if(gtkWidget||winWidget,8,376) fuzzy-if(Android,8,441) fuzzy-if(cocoaWidget,17,4) == preserve3d-1a.html preserve3d-1-ref.html
== preserve3d-1b.html about:blank
== preserve3d-clipped.html about:blank
== preserve3d-2a.html preserve3d-2-ref.html
== preserve3d-2b.html preserve3d-2-ref.html
== preserve3d-2c.html preserve3d-2-ref.html
== preserve3d-2d.html preserve3d-2-ref.html
== preserve3d-3a.html preserve3d-3-ref.html
fuzzy(4,100) == preserve3d-3a.html preserve3d-3-ref.html
skip-if(B2G||Mulet) == preserve3d-4a.html green-rect.html # Initial mulet triage: parity with B2G/B2G Desktop
fuzzy-if(Android&&AndroidVersion>=15,4,300) == preserve3d-5a.html preserve3d-5-ref.html
fuzzy-if(gtkWidget,4,200) fuzzy-if(Android&&AndroidVersion>=15,4,300) == preserve3d-5a.html preserve3d-5-ref.html
== scale3d-z.html scalez-1-ref.html
fuzzy-if(winWidget,102,580) fuzzy-if(d2d,143,681) fuzzy-if(OSX>=1008,224,924) == scale3d-all.html scale3d-1-ref.html # subpixel AA
fuzzy-if(winWidget,102,580) fuzzy-if(d2d,143,681) fuzzy-if(OSX>=1008,224,924) == scale3d-all-separate.html scale3d-1-ref.html # subpixel AA
@ -64,6 +64,7 @@ fuzzy(3,99) fuzzy-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)&&!layersGPUAccele
fuzzy(3,99) == animate-cube-degrees.html animate-cube-degrees-ref.html # subpixel AA
== animate-cube-degrees-zoom.html animate-cube-degrees-zoom-ref.html
!= animate-cube-degrees-ref.html animate-cube-degrees-zoom-ref.html
fuzzy-if(B2G,15,100) fuzzy-if(Android,100,100) fuzzy-if(winWidget,90,200) fuzzy-if(B2G,88,100) fuzzy-if(cocoaWidget,90,100) fuzzy-if(gtkWidget,80,200) == preserves3d-nested.html preserves3d-nested-ref.html
fuzzy-if(cocoaWidget,128,9) == animate-preserve3d-parent.html animate-preserve3d-ref.html # intermittently fuzzy on Mac
fuzzy-if(cocoaWidget,128,9) == animate-preserve3d-child.html animate-preserve3d-ref.html # intermittently fuzzy on Mac
== animate-backface-hidden.html about:blank