Commit a7f130f8 authored by eric@webkit.org's avatar eric@webkit.org

Reviewed by mjs.

        Add Acid3 test as an http test
        http://bugs.webkit.org/show_bug.cgi?id=18176

        * http/tests/misc/acid3-expected.checksum: Added.
        * http/tests/misc/acid3-expected.png: Added.
        * http/tests/misc/acid3-expected.txt: Added.
        * http/tests/misc/acid3.html: Added.
        * http/tests/misc/resources/acid3/.htaccess: Added.
        * http/tests/misc/resources/acid3/empty.css: Added.
        * http/tests/misc/resources/acid3/empty.html: Added.
        * http/tests/misc/resources/acid3/empty.png: Added.
        * http/tests/misc/resources/acid3/empty.txt: Added.
        * http/tests/misc/resources/acid3/empty.xml: Added.
        * http/tests/misc/resources/acid3/font.svg: Added.
        * http/tests/misc/resources/acid3/font.ttf: Added.
        * http/tests/misc/resources/acid3/instructions.inc: Added.
        * http/tests/misc/resources/acid3/reference.html: Added.
        * http/tests/misc/resources/acid3/reference.png: Added.
        * http/tests/misc/resources/acid3/support-a.png.404: Added.
        * http/tests/misc/resources/acid3/support-b.png: Added.
        * http/tests/misc/resources/acid3/support-c.png: Added.
        * http/tests/misc/resources/acid3/svg.xml: Added.
        * http/tests/misc/resources/acid3/xhtml.1: Added.
        * http/tests/misc/resources/acid3/xhtml.2: Added.
        * http/tests/misc/resources/acid3/xhtml.3: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2cef50d4
2008-03-28 Eric Seidel <eric@webkit.org>
Reviewed by mjs.
Add Acid3 test as an http test
http://bugs.webkit.org/show_bug.cgi?id=18176
* http/tests/misc/acid3-expected.checksum: Added.
* http/tests/misc/acid3-expected.png: Added.
* http/tests/misc/acid3-expected.txt: Added.
* http/tests/misc/acid3.html: Added.
* http/tests/misc/resources/acid3/.htaccess: Added.
* http/tests/misc/resources/acid3/empty.css: Added.
* http/tests/misc/resources/acid3/empty.html: Added.
* http/tests/misc/resources/acid3/empty.png: Added.
* http/tests/misc/resources/acid3/empty.txt: Added.
* http/tests/misc/resources/acid3/empty.xml: Added.
* http/tests/misc/resources/acid3/font.svg: Added.
* http/tests/misc/resources/acid3/font.ttf: Added.
* http/tests/misc/resources/acid3/instructions.inc: Added.
* http/tests/misc/resources/acid3/reference.html: Added.
* http/tests/misc/resources/acid3/reference.png: Added.
* http/tests/misc/resources/acid3/support-a.png.404: Added.
* http/tests/misc/resources/acid3/support-b.png: Added.
* http/tests/misc/resources/acid3/support-c.png: Added.
* http/tests/misc/resources/acid3/svg.xml: Added.
* http/tests/misc/resources/acid3/xhtml.1: Added.
* http/tests/misc/resources/acid3/xhtml.2: Added.
* http/tests/misc/resources/acid3/xhtml.3: Added.
2008-03-27 Mark Rowe <mrowe@apple.com>
Reviewed by Adam Roben.
fa70cfc8b3dd3fa8842b5850104502b6
\ No newline at end of file
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (20,20) size 644x457
RenderBlock {HTML} at (20,20) size 644x457 [bgcolor=#C0C0C0] [border: none (4px solid #808080) none]
RenderBody {BODY} at (-4,-4) size 644x457 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
RenderBlock {H1} at (41,41) size 562x120
RenderText {#text} at (0,4) size 273x112
text run at (0,4) width 273: "Acid3"
RenderBlock (anonymous) at (41,121) size 562x0
RenderBlock {DIV} at (41,121) size 562x312
RenderBlock {P} at (7,80) size 54x42 [bgcolor=#FF0000] [border: (1px solid #000000)]
RenderBlock {P} at (70,64) size 64x50 [bgcolor=#FFA500] [border: (1px solid #000000)]
RenderBlock {P} at (145,48) size 74x58 [bgcolor=#FFFF00] [border: (1px solid #000000)]
RenderBlock {P} at (231,32) size 86x66 [bgcolor=#00FF00] [border: (1px solid #000000)]
RenderBlock {P} at (330,16) size 96x74 [bgcolor=#0000FF] [border: (1px solid #000000)]
RenderBlock {P} at (441,0) size 106x82 [bgcolor=#800080] [border: (1px solid #000000)]
RenderText {#text} at (0,0) size 0x0
RenderBlock {P} at (41,214) size 568x120
RenderInline {SPAN} at (0,0) size 168x112
RenderText {#text} at (204,4) size 168x112
text run at (204,4) width 168: "100"
RenderInline {SPAN} at (0,0) size 28x112
RenderText {#text} at (372,4) size 28x112
text run at (372,4) width 28: "/"
RenderInline {SPAN} at (0,0) size 168x112
RenderText {#text} at (400,4) size 168x112
text run at (400,4) width 168: "100"
RenderBlock (anonymous) at (41,334) size 562x0
RenderInline {MAP} at (0,0) size 0x0
RenderPartObject {IFRAME} at (0,0) size 0x0
layer at (0,0) size 1x1
RenderView at (0,0) size 0x0
layer at (0,0) size 1x1
RenderBlock {HTML} at (0,0) size 0x1
RenderBody {BODY} at (0,0) size 0x1
RenderImage {IMG} at (0,0) size 1x1
RenderPartObject {IFRAME} at (0,0) size 0x0
layer at (0,0) size 8x2151
RenderView at (0,0) size 0x0
layer at (0,0) size 8x2151
RenderBlock {HTML} at (0,0) size 0x2151
RenderBody {BODY} at (8,8) size 0x2130
RenderBlock {PRE} at (0,0) size 0x2130
RenderText {#text} at (0,0) size 0x2130
text run at (0,0) width 0: "<"
text run at (0,15) width 0: "!"
text run at (0,30) width 0: "D"
text run at (0,45) width 0: "O"
text run at (0,60) width 0: "C"
text run at (0,75) width 0: "T"
text run at (0,90) width 0: "Y"
text run at (0,105) width 0: "P"
text run at (0,120) width 0: "E"
text run at (0,135) width 0: "h"
text run at (0,150) width 0: "t"
text run at (0,165) width 0: "m"
text run at (0,180) width 0: "l"
text run at (0,195) width 0: ">"
text run at (0,210) width 0: "<"
text run at (0,225) width 0: "h"
text run at (0,240) width 0: "t"
text run at (0,255) width 0: "m"
text run at (0,270) width 0: "l"
text run at (0,285) width 0: ">"
text run at (0,300) width 0: "<"
text run at (0,315) width 0: "h"
text run at (0,330) width 0: "e"
text run at (0,345) width 0: "a"
text run at (0,360) width 0: "d"
text run at (0,375) width 0: ">"
text run at (0,390) width 0: "<"
text run at (0,405) width 0: "t"
text run at (0,420) width 0: "i"
text run at (0,435) width 0: "t"
text run at (0,450) width 0: "l"
text run at (0,465) width 0: "e"
text run at (0,480) width 0: ">"
text run at (0,495) width 0: "F"
text run at (0,510) width 0: "A"
text run at (0,525) width 0: "I"
text run at (0,540) width 0: "L"
text run at (0,555) width 0: "<"
text run at (0,570) width 0: "/"
text run at (0,585) width 0: "t"
text run at (0,600) width 0: "i"
text run at (0,615) width 0: "t"
text run at (0,630) width 0: "l"
text run at (0,645) width 0: "e"
text run at (0,660) width 0: ">"
text run at (0,675) width 0: "<"
text run at (0,690) width 0: "/"
text run at (0,705) width 0: "h"
text run at (0,720) width 0: "e"
text run at (0,735) width 0: "a"
text run at (0,750) width 0: "d"
text run at (0,765) width 0: ">"
text run at (0,780) width 0: "<"
text run at (0,795) width 0: "b"
text run at (0,810) width 0: "o"
text run at (0,825) width 0: "d"
text run at (0,840) width 0: "y"
text run at (0,855) width 0: ">"
text run at (0,870) width 0: "<"
text run at (0,885) width 0: "p"
text run at (0,900) width 0: ">"
text run at (0,915) width 0: "F"
text run at (0,930) width 0: "A"
text run at (0,945) width 0: "I"
text run at (0,960) width 0: "L"
text run at (0,975) width 0: "<"
text run at (0,990) width 0: "/"
text run at (0,1005) width 0: "p"
text run at (0,1020) width 0: ">"
text run at (0,1035) width 0: "<"
text run at (0,1050) width 0: "s"
text run at (0,1065) width 0: "c"
text run at (0,1080) width 0: "r"
text run at (0,1095) width 0: "i"
text run at (0,1110) width 0: "p"
text run at (0,1125) width 0: "t"
text run at (0,1140) width 0: ">"
text run at (0,1155) width 0: "p"
text run at (0,1170) width 0: "a"
text run at (0,1185) width 0: "r"
text run at (0,1200) width 0: "e"
text run at (0,1215) width 0: "n"
text run at (0,1230) width 0: "t"
text run at (0,1245) width 0: "."
text run at (0,1260) width 0: "n"
text run at (0,1275) width 0: "o"
text run at (0,1290) width 0: "t"
text run at (0,1305) width 0: "i"
text run at (0,1320) width 0: "f"
text run at (0,1335) width 0: "y"
text run at (0,1350) width 0: "("
text run at (0,1365) width 0: "\""
text run at (0,1380) width 0: "r"
text run at (0,1395) width 0: "e"
text run at (0,1410) width 0: "s"
text run at (0,1425) width 0: "o"
text run at (0,1440) width 0: "u"
text run at (0,1455) width 0: "r"
text run at (0,1470) width 0: "c"
text run at (0,1485) width 0: "e"
text run at (0,1500) width 0: "s"
text run at (0,1515) width 0: "/"
text run at (0,1530) width 0: "a"
text run at (0,1545) width 0: "c"
text run at (0,1560) width 0: "i"
text run at (0,1575) width 0: "d"
text run at (0,1590) width 0: "3"
text run at (0,1605) width 0: "/"
text run at (0,1620) width 0: "e"
text run at (0,1635) width 0: "m"
text run at (0,1650) width 0: "p"
text run at (0,1665) width 0: "t"
text run at (0,1680) width 0: "y"
text run at (0,1695) width 0: "."
text run at (0,1710) width 0: "t"
text run at (0,1725) width 0: "x"
text run at (0,1740) width 0: "t"
text run at (0,1755) width 0: "\""
text run at (0,1770) width 0: ")"
text run at (0,1785) width 0: "<"
text run at (0,1800) width 0: "/"
text run at (0,1815) width 0: "s"
text run at (0,1830) width 0: "c"
text run at (0,1845) width 0: "r"
text run at (0,1860) width 0: "i"
text run at (0,1875) width 0: "p"
text run at (0,1890) width 0: "t"
text run at (0,1905) width 0: ">"
text run at (0,1920) width 0: "<"
text run at (0,1935) width 0: "/"
text run at (0,1950) width 0: "b"
text run at (0,1965) width 0: "o"
text run at (0,1980) width 0: "d"
text run at (0,1995) width 0: "y"
text run at (0,2010) width 0: ">"
text run at (0,2025) width 0: "<"
text run at (0,2040) width 0: "/"
text run at (0,2055) width 0: "h"
text run at (0,2070) width 0: "t"
text run at (0,2085) width 0: "m"
text run at (0,2100) width 0: "l"
text run at (0,2115) width 0: ">"
RenderPartObject {IFRAME} at (0,0) size 0x0
layer at (0,0) size 8x8
RenderView at (0,0) size 0x0
layer at (0,0) size 8x8
RenderBlock {HTML} at (0,0) size 0x8
RenderBody {BODY} at (8,8) size 0x0
RenderBlock (anonymous) at (41,334) size 562x0
RenderBlock {FORM} at (0,0) size 562x0
RenderBlock (anonymous) at (41,334) size 562x0
RenderInline {MAP} at (0,0) size 0x0
RenderBlock (anonymous) at (41,334) size 562x0
RenderTable {TABLE} at (0,0) size 1x0
RenderTableSection {TBODY} at (0,0) size 1x0
RenderTableRow {TR} at (0,0) size 1x0
RenderTableCell {TD} at (0,0) size 1x0 [r=0 c=0 rs=1 cs=1]
RenderBlock {P} at (0,0) size 1x0
RenderBlock (anonymous) at (41,334) size 562x0
RenderInline {MAP} at (0,0) size 0x0
RenderBlock (anonymous) at (41,334) size 562x24
RenderBlock {A} at (0,0) size 562x24 [color=#FF0000]
RenderText {#text} at (196,1) size 169x22
text run at (196,1) width 169: "LINKTEST FAILED"
RenderBlock (anonymous) at (41,358) size 562x0
RenderInline {MAP} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
RenderBlock {P} at (41,358) size 582x98 [color=#808080]
RenderText {#text} at (0,1) size 116x17
text run at (0,1) width 116: "To pass the test,"
RenderBlock (floating) {SPAN} at (562,0) size 20x20 [bgcolor=#FFFFFF]
RenderText {#text} at (116,1) size 562x55
text run at (116,1) width 446: " a browser must use its default settings, the animation has to be"
text run at (0,20) width 561: "smooth, the score has to end on 100/100, and the final page has to look exactly,"
text run at (0,39) width 131: "pixel for pixel, like "
RenderInline {A} at (0,0) size 168x17 [color=#0000FF]
RenderText {#text} at (131,39) size 168x17
text run at (131,39) width 168: "this reference rendering"
RenderText {#text} at (299,39) size 4x17
text run at (299,39) width 4: "."
layer at (639,17) size 20x20
RenderBlock (positioned) at (639,17) size 20x20 [color=#FFFFFF] [bgcolor=#FF00FF]
RenderText at (0,0) size 20x20
text run at (0,0) width 20: "X"
layer at (130,84) size 300x150
RenderPartObject {OBJECT} at (130,84) size 300x150
layer at (0,0) size 300x150
RenderView at (0,0) size 300x150
layer at (0,0) size 300x16
RenderBlock {HTML} at (0,0) size 300x16
RenderBody {BODY} at (8,16) size 284x0
RenderBlock {P} at (0,0) size 284x0
layer at (639,17) size 20x20
RenderBlock (positioned) at (639,17) size 20x20 [color=#FFFFFF] [bgcolor=#FF00FF]
RenderText at (0,0) size 20x20
text run at (0,0) width 20: "X"
layer at (10,10) size 84x45
RenderBlock (positioned) {DIV} at (10,10) size 84x45 [color=#00000000]
RenderText {#text} at (0,0) size 84x44
text run at (0,0) width 84: "FAIL"
This diff is collapsed.
<files empty.css>
ForceType text/html
</files>
<files empty.xml>
ForceType application/xml;charset=utf-8
</files>
<files font.ttf>
ForceType application/x-truetype-font
</files>
<files font.svg>
ForceType image/svg+xml
</files>
<files support-b.png>
ForceType text/html
</files>
<files svg.xml>
ForceType image/svg+xml
</files>
<files xhtml.1>
ForceType text/xml
</files>
<files xhtml.2>
ForceType text/xml
</files>
<files xhtml.3>
ForceType text/xml
</files>
<IfModule mod_include.c>
AddType text/html .html
AddOutputFilter INCLUDES .html
</IfModule>
ErrorDocument 404 /misc/resources/acid3/support-a.png.404
<!DOCTYPE HTML><html><head><title>FAIL</title><style>
<!-- this file is sent as text/html, not text/css, which is why it is
called "empty.css" despite the following lines -->
body { background: white; color: black; }
h1 { color: red; }
</style><body><h1>FAIL</h1></body></html>
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html><head><title></title></head><body></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><title>FAIL</title></head><body><p>FAIL</p><script>parent.notify("resources/acid3/empty.txt")</script></body></html>
\ No newline at end of file
<root>
<fail> This is an invalid byte in UTF-8: ¿ </fail>
<test/> <!-- shouldn't ever be parsed, as the parser should abort at the first sign of non-well-formedness -->
</root>
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><font horiz-adv-x="500" id="mini"><font-face font-family="ACID3svgfont" units-per-em="4000" ascent="800" descent="-200" alphabetic="0"/><missing-glyph horiz-adv-x="10000" d="M0 0 4000 0"/><glyph unicode="a" glyph-name="a" horiz-adv-x="42"/><glyph unicode="b" glyph-name="b" horiz-adv-x="23"/><glyph unicode="c" glyph-name="c" horiz-adv-x="4711"/></font></defs></svg>
\ No newline at end of file
To pass the test,<span></span> a browser must use its default settings, the animation has to be smooth, the score has to end on 100/100, and the final page has to look exactly, pixel for pixel, like <a href="resources/acid3/reference.html">this reference rendering</a>.
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<title>The Acid3 Test (Reference Rendering)</title>
<style type="text/css">
html { margin: 0; padding: 0; }
body { background: #c0c0c0 url(reference.png) top left no-repeat; margin: 0; padding: 0; }
#a { font: bold 100px/120px Arial, sans-serif; position: absolute; top: 57px; left: 57px; color: #000000; z-index: 1; }
#a0 { font: bold 100px/120px Arial, sans-serif; position: absolute; top: 60px; left: 60px; color: #C0C0C0; z-index: 0; }
#b { position: absolute; top: 230px; left: 625px; width: 0; white-space: pre; }
#b div { font: bold 100px/120px Arial, sans-serif; position: absolute; right: 0; text-align: right; color: #000000; }
#c { font: 16px/19.2px Arial, sans-serif; color: #808080; width: 562px; position: absolute; top: 350px; left: 57px; }
#c a { color: #0000FF; }
</style>
<body>
<div id="a">Acid3</div>
<div id="a0">Acid3</div>
<div id="b"><div>100/100</div></div>
<div id="c"><!--#include virtual="instructions.inc"--></div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html><html><head><title>FAIL</title><style> * { background: transparent; } </style></head><body><p><!-- this file is transparent --></p></body></html>
\ No newline at end of file
<?xml-stylesheet href="data:text/css,text%7Bfont-family%3AACID3svgfont%7D"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100"><defs><font-face font-family="ACID3svgfont"><font-face-src><font-face-uri xlink:href="font.svg#mini"/></font-face-src></font-face><path id="path" d="M0 0l0 42l16 16l4711 0"/></defs><text>X</text></svg>
\ No newline at end of file
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
</head>
<body>
<p> <strong> XHTML Test </strong> </p>
<script type="text/javascript">
parent.notify("xhtml.1")
</script>
</body>
</html>
\ No newline at end of file
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
</head>
<body>
<p> <strong/> Parsing Test </strong> </p>
<script type="text/javascript">
parent.notify("xhtml.2")
</script>
</body>
</html>
\ No newline at end of file
<html xmlns="http://www.w3.org/1999/xhtml#">
<head>
<title>Test</title>
</head>
<body>
<p> <strong> Namespace Test </strong> </p>
<script type="text/javascript">
parent.notify("xhtml.3")
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment