Reviewed by Adele Peterson.
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2006 21:40:48 +0000 (21:40 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2006 21:40:48 +0000 (21:40 +0000)
        - tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=7255
        label attribute in option elements is ignored

        * dom/html/level2/html/HTMLOptionElement_label01-expected.checksum: Added.
        * dom/html/level2/html/HTMLOptionElement_label01-expected.png: Added.
        * dom/html/level2/html/HTMLOptionElement_label01-expected.txt: Added.
        * dom/html/level2/html/HTMLOptionElement_label01.html: Added.
        * dom/html/level2/html/HTMLOptionElement_label02-expected.checksum: Added.
        * dom/html/level2/html/HTMLOptionElement_label02-expected.png: Added.
        * dom/html/level2/html/HTMLOptionElement_label02-expected.txt: Added.
        * dom/html/level2/html/HTMLOptionElement_label02.html: Added.
        * dom/html/level2/html/HTMLOptionElement_label03-expected.checksum: Added.
        * dom/html/level2/html/HTMLOptionElement_label03-expected.png: Added.
        * dom/html/level2/html/HTMLOptionElement_label03-expected.txt: Added.
        * dom/html/level2/html/HTMLOptionElement_label03.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12802 268f45cc-cd09-0410-ab3c-d52691b4dbfc

13 files changed:
LayoutTests/ChangeLog
LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.checksum [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.png [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.txt [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label01.html [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.checksum [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.png [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.txt [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label02.html [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.checksum [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.png [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.txt [new file with mode: 0644]
LayoutTests/dom/html/level2/html/HTMLOptionElement_label03.html [new file with mode: 0644]

index 2f764c69f6cdd6b2c36af98608d45c2bbd7755fb..f9418463b3491123758eb189a8cfe467ffa5d4b1 100644 (file)
@@ -1,3 +1,23 @@
+2006-02-14  John Sullivan  <sullivan@apple.com>
+
+        Reviewed by Adele Peterson.
+        
+        - tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=7255
+        label attribute in option elements is ignored
+
+        * dom/html/level2/html/HTMLOptionElement_label01-expected.checksum: Added.
+        * dom/html/level2/html/HTMLOptionElement_label01-expected.png: Added.
+        * dom/html/level2/html/HTMLOptionElement_label01-expected.txt: Added.
+        * dom/html/level2/html/HTMLOptionElement_label01.html: Added.
+        * dom/html/level2/html/HTMLOptionElement_label02-expected.checksum: Added.
+        * dom/html/level2/html/HTMLOptionElement_label02-expected.png: Added.
+        * dom/html/level2/html/HTMLOptionElement_label02-expected.txt: Added.
+        * dom/html/level2/html/HTMLOptionElement_label02.html: Added.
+        * dom/html/level2/html/HTMLOptionElement_label03-expected.checksum: Added.
+        * dom/html/level2/html/HTMLOptionElement_label03-expected.png: Added.
+        * dom/html/level2/html/HTMLOptionElement_label03-expected.txt: Added.
+        * dom/html/level2/html/HTMLOptionElement_label03.html: Added.
+
 2006-01-31  David Harrison  <harrison@apple.com>
 
         Updated test case after improving table deletion.
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.checksum b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.checksum
new file mode 100644 (file)
index 0000000..e122cf1
--- /dev/null
@@ -0,0 +1 @@
+c4db168b6f4415193e01342751cc6fc7
\ No newline at end of file
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.png b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.png
new file mode 100644 (file)
index 0000000..d651ef5
Binary files /dev/null and b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.png differ
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.txt b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01-expected.txt
new file mode 100644 (file)
index 0000000..68b71a3
--- /dev/null
@@ -0,0 +1,7 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderSelect {SELECT} at (2,2) size 38x18
+      RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01.html b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label01.html
new file mode 100644 (file)
index 0000000..59aa97a
--- /dev/null
@@ -0,0 +1 @@
+<select>\r<option label="1">the label for this element is "1"</option>\r</select>\r
\ No newline at end of file
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.checksum b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.checksum
new file mode 100644 (file)
index 0000000..6822bc6
--- /dev/null
@@ -0,0 +1 @@
+95bcccb5bc36dd19b9e5001d681c6a2e
\ No newline at end of file
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.png b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.png
new file mode 100644 (file)
index 0000000..0a5d1a2
Binary files /dev/null and b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.png differ
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.txt b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02-expected.txt
new file mode 100644 (file)
index 0000000..b5d5d78
--- /dev/null
@@ -0,0 +1,7 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderSelect {SELECT} at (2,2) size 36x18
+      RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02.html b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label02.html
new file mode 100644 (file)
index 0000000..ae6279d
--- /dev/null
@@ -0,0 +1 @@
+<select>\r<option label="">empty label should display empty string to match IE</option>\r</select>\r
\ No newline at end of file
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.checksum b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.checksum
new file mode 100644 (file)
index 0000000..6822bc6
--- /dev/null
@@ -0,0 +1 @@
+95bcccb5bc36dd19b9e5001d681c6a2e
\ No newline at end of file
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.png b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.png
new file mode 100644 (file)
index 0000000..0a5d1a2
Binary files /dev/null and b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.png differ
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.txt b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03-expected.txt
new file mode 100644 (file)
index 0000000..b5d5d78
--- /dev/null
@@ -0,0 +1,7 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderSelect {SELECT} at (2,2) size 36x18
+      RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03.html b/LayoutTests/dom/html/level2/html/HTMLOptionElement_label03.html
new file mode 100644 (file)
index 0000000..922a700
--- /dev/null
@@ -0,0 +1 @@
+<select>\r<option label=" ">white space label should display empty string to match IE</option>\r</select>\r
\ No newline at end of file