From e546ac5822c3932502d666ed3aa52a3220bc5fa2 Mon Sep 17 00:00:00 2001 From: xiaojunwu Date: Wed, 12 Mar 2014 17:06:59 +0800 Subject: [PATCH] Add tests for the object element --- .../the-object-element/blue.html | 6 ++ .../the-object-element/green.html | 6 ++ .../the-object-element/object-attributes.html | 56 ++++++++++++++++++ .../the-object-element/object-events.html | 51 ++++++++++++++++ .../object-fallback-manual.html | 10 ++++ .../the-object-element/object-handler.html | 39 ++++++++++++ .../the-object-element/object-usemap.html | 30 ++++++++++ .../the-object-element/red.html | 6 ++ .../the-object-element/sample-usemap.png | Bin 0 -> 6825 bytes .../the-object-element/test0.html | 11 ++++ .../the-object-element/test1.html | 9 +++ .../the-object-element/test2.html | 21 +++++++ .../the-object-element/white.html | 6 ++ .../the-object-element/yellow.html | 6 ++ 14 files changed, 257 insertions(+) create mode 100644 html/semantics/embedded-content/the-object-element/blue.html create mode 100644 html/semantics/embedded-content/the-object-element/green.html create mode 100644 html/semantics/embedded-content/the-object-element/object-attributes.html create mode 100644 html/semantics/embedded-content/the-object-element/object-events.html create mode 100644 html/semantics/embedded-content/the-object-element/object-fallback-manual.html create mode 100644 html/semantics/embedded-content/the-object-element/object-handler.html create mode 100644 html/semantics/embedded-content/the-object-element/object-usemap.html create mode 100644 html/semantics/embedded-content/the-object-element/red.html create mode 100644 html/semantics/embedded-content/the-object-element/sample-usemap.png create mode 100644 html/semantics/embedded-content/the-object-element/test0.html create mode 100644 html/semantics/embedded-content/the-object-element/test1.html create mode 100644 html/semantics/embedded-content/the-object-element/test2.html create mode 100644 html/semantics/embedded-content/the-object-element/white.html create mode 100644 html/semantics/embedded-content/the-object-element/yellow.html diff --git a/html/semantics/embedded-content/the-object-element/blue.html b/html/semantics/embedded-content/the-object-element/blue.html new file mode 100644 index 00000000000000..98b6d96c71399f --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/blue.html @@ -0,0 +1,6 @@ + + +Blue Page + + + diff --git a/html/semantics/embedded-content/the-object-element/green.html b/html/semantics/embedded-content/the-object-element/green.html new file mode 100644 index 00000000000000..8f080cbf42247c --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/green.html @@ -0,0 +1,6 @@ + + +Green Page + + + diff --git a/html/semantics/embedded-content/the-object-element/object-attributes.html b/html/semantics/embedded-content/the-object-element/object-attributes.html new file mode 100644 index 00000000000000..284177203b9733 --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/object-attributes.html @@ -0,0 +1,56 @@ + + +HTML Test: object - attributes + + + + +
+
+ + +
+ + + diff --git a/html/semantics/embedded-content/the-object-element/object-events.html b/html/semantics/embedded-content/the-object-element/object-events.html new file mode 100644 index 00000000000000..0719b78cb13c2d --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/object-events.html @@ -0,0 +1,51 @@ + + +HTML Test: object-events + + + +
+ diff --git a/html/semantics/embedded-content/the-object-element/object-fallback-manual.html b/html/semantics/embedded-content/the-object-element/object-fallback-manual.html new file mode 100644 index 00000000000000..cecc7f2cb17566 --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/object-fallback-manual.html @@ -0,0 +1,10 @@ + + +HTML Test: display fallback content + + + +

Test passes if there is no blue, and 'PASS' is displayed.

+ +

PASS

+
diff --git a/html/semantics/embedded-content/the-object-element/object-handler.html b/html/semantics/embedded-content/the-object-element/object-handler.html new file mode 100644 index 00000000000000..dae3f3a8fe525a --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/object-handler.html @@ -0,0 +1,39 @@ + + +HTML Test: object - handler + + + +
+ + + diff --git a/html/semantics/embedded-content/the-object-element/object-usemap.html b/html/semantics/embedded-content/the-object-element/object-usemap.html new file mode 100644 index 00000000000000..f9703ebba9b243 --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/object-usemap.html @@ -0,0 +1,30 @@ + + +HTML Test: object-usemap-effect + + + + + +
+ + + + + + + diff --git a/html/semantics/embedded-content/the-object-element/red.html b/html/semantics/embedded-content/the-object-element/red.html new file mode 100644 index 00000000000000..7064230663a393 --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/red.html @@ -0,0 +1,6 @@ + + +Red Page + + + diff --git a/html/semantics/embedded-content/the-object-element/sample-usemap.png b/html/semantics/embedded-content/the-object-element/sample-usemap.png new file mode 100644 index 0000000000000000000000000000000000000000..b9a626e90b11fae3e86f6febf54fa7e6a0e35cba GIT binary patch literal 6825 zcmch6`8$+v^#3r7vP+0jN|Y^?Wk}(zOk$`E#@Lr3+YFL5O}4TxNd{TU5@9g5v1cre z$dZI%EK_93HoXaD`#gGI-|PDqd_K<)E^}SyKKJXK^E$8R-1if6_qHAnrx+&)1me-Z zrHcfCSkb`$gd-5(FDrEOG6*E*t*@(N8kn^*iI2DO%kKKQ#f_`%!qxw?gTIXwEI6q#DsMCQ6zD~XSd1tF%Q+a;s%KUDB$9(F(f+-5n)(gmJr zu8?5i1qX+zg^h;VP^KT0n^dVnXv>qW{OWTg;ch)X61_>AeIWoHXWE+%IDs*1w_bH|^1Iy^-wOa#`gto!VYfKLYoH1!^E~lsf?oXI#r8``Bo;1MH zlDy*~J|g*<@SXD7^J(*iq)CrqC82uJK<-R_XU%es=B>uDU@zIIV%i{Ai1udwp1Ge5 z1=fy#m$2NVfjny=(Z*@`{^6x>{fZ2sQTXhPDWjV5OUmMoGOq_`&XFuoeAheW#PxUk ziX#ddY|Rlyxtop&9k~xfj+fL|ruxNudTdW8zL6hcnnzk)vA&{k+AdP`$8Wit@>K`A#z$_PLY4`0TmAX$G8RlH&5D9w0C|Lu?3SGMx<} zb=HPbOIe|{&)%G*WKaz4A>KZ*YuDO>SCr2Vw6HIO$l!}$aGN>Rv6WcSA&i`6zZSlg zX`PjEWI|ADWWjB6d)}0&XXTd#j>igr2oN?SE1EQH0ggCOK}XNWGcuGzFFNWy?YUIx4r3|Zi(``yz2@TZ zs&-iP_VdJIm03z3)kou{QQqS9;~$M-sIflqJ(i8lb{@4ScJ*H&!Triy>6s63$jdM7 z^^>!oWV_WJJE&6a!kixn5s0&tY3ioASVZGt%Dg+hN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J_5b8=0zI|4RNTCGnHUJ_1?!XCuXul{Y8*jkO=r9YlTjFg5R5u zu|BhUFzYLyw)LLniAt$97?J!P^zL?M+mv&Cm{Oiv`Fjnna*;8~w>#MMo63?BDp+Z! zJX5*Gtv$DBL);5IvUBwSB+U6x%GhYYv0<6-Sc}txN?;tPK;{puhb1#!K2d86zXbjG z>wEgYRk68(J(Afi@=C<-Gy%wDY=G6NrqL2-Id5fh{~~BCX^Ca6#j`Lg?QBLgyI%eN zL2+g#z4Qw(xN%uYFNSQEIkjSMy6axJUfgIN8r(v^Pw67P*PRdAa&hP?*SHV*_%TRe zTa*0uJA66a+yXBc*t#UynX!dA;2_j1N^wNc1mq8@bb!t^b=I_cWi(`V^UWn#kXqOl z>k#Sv%_4hz%1q_l8MHF<(#VNNf=k8Atou0+vMqx7m=X(O>V8{_OdLa^oU2>szwZ{= ynlivgm*=rUQ%1VLgH)Pqii!T;er{##X@hagXP>B>%>tjGK>G08y5-mH!~X{y2nNpp literal 0 HcmV?d00001 diff --git a/html/semantics/embedded-content/the-object-element/test0.html b/html/semantics/embedded-content/the-object-element/test0.html new file mode 100644 index 00000000000000..b846248a15ae22 --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/test0.html @@ -0,0 +1,11 @@ + + +HTML Test + + diff --git a/html/semantics/embedded-content/the-object-element/test1.html b/html/semantics/embedded-content/the-object-element/test1.html new file mode 100644 index 00000000000000..8109885330cf1c --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/test1.html @@ -0,0 +1,9 @@ + + +HTML Test + + diff --git a/html/semantics/embedded-content/the-object-element/test2.html b/html/semantics/embedded-content/the-object-element/test2.html new file mode 100644 index 00000000000000..4f3febb3b3d43f --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/test2.html @@ -0,0 +1,21 @@ + + +HTML Test + + + + White box + Red box + Green circle + Blue triangle + Yellow star + + \ No newline at end of file diff --git a/html/semantics/embedded-content/the-object-element/white.html b/html/semantics/embedded-content/the-object-element/white.html new file mode 100644 index 00000000000000..a0fea079da4c3b --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/white.html @@ -0,0 +1,6 @@ + + +White Page + + + diff --git a/html/semantics/embedded-content/the-object-element/yellow.html b/html/semantics/embedded-content/the-object-element/yellow.html new file mode 100644 index 00000000000000..7f8078cf980fa6 --- /dev/null +++ b/html/semantics/embedded-content/the-object-element/yellow.html @@ -0,0 +1,6 @@ + + +Yellow Page + + +