Bug 336736: Improved reftest. (Using an exact-pixel-width div instead of a character, to avoid a pixel-rounding issue that made the old reftest fail on Mac)

This commit is contained in:
dholbert@cs.stanford.edu 2007-10-23 20:50:14 -07:00
Родитель 305addae61
Коммит 70a3eefee8
4 изменённых файлов: 19 добавлений и 13 удалений

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

@ -1,13 +1,5 @@
<html>
<body>
<!-- The "alternate" behavior is necessary for the
marquee text to start out on the screen. -->
<MARQUEE
direction="right"
scrollamount="0"
behavior="alternate"
>
a
</MARQUEE>
<div style="background: green; width: 50px">&nbsp;</div>
</body>
</html>

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

@ -2,12 +2,12 @@
<body dir="rtl">
<!-- The "alternate" behavior is necessary for the
marquee text to start out on the screen. -->
<MARQUEE
<marquee
direction="right"
scrollamount="0"
behavior="alternate"
>
a
</MARQUEE>
<div style="background: green; width: 50px">&nbsp;</div>
</marquee>
</body>
</html>

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

@ -0,0 +1,13 @@
<html>
<body>
<!-- The "alternate" behavior is necessary for the
marquee text to start out on the screen. -->
<marquee
direction="right"
scrollamount="0"
behavior="alternate"
>
<div style="background: green; width: 50px">&nbsp;</div>
</marquee>
</body>
</html>

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

@ -152,7 +152,8 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 333970-1.html 333970-1-ref.html # bug 3
== 335628-1.html 335628-1-ref.html
!= 335628-2.xul 335628-2-ref.xul
== 336147-1.html 336147-1-ref.html
fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 336736-1.html 336736-1-ref.html # something wrong with subpixel horizontal alignment (tracked in bug 336736)
== 336736-1a.html 336736-1-ref.html
== 336736-1b.html 336736-1-ref.html
== 339289-1.html 339289-1-ref.html
== 341043-1a.html 341043-1-ref.html
!= 341043-1b.html 341043-1-ref.html