[orca] Regression tests: New test cases



commit 9a9f548d7a36a6f766cd9e398a77458a54a23085
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Aug 20 08:48:17 2014 -0400

    Regression tests: New test cases

 .../w3-data-uri-image-data-uri-description.html    |    9 +++++++++
 ...ta-uri-image-external-description-fragment.html |    9 +++++++++
 .../w3-data-uri-image-external-description.html    |    9 +++++++++
 test/html/w3-empty-image-data-uri-description.html |    9 +++++++++
 ...-empty-image-external-description-fragment.html |    9 +++++++++
 test/html/w3-empty-image-external-description.html |    9 +++++++++
 ...-image-data-uri-description-girt-by-spaces.html |    9 +++++++++
 .../w3-external-image-data-uri-description.html    |    9 +++++++++
 ...ternal-description-fragment-girt-by-spaces.html |    9 +++++++++
 ...ternal-image-external-description-fragment.html |    9 +++++++++
 ...-image-external-description-girt-by-spaces.html |    9 +++++++++
 .../w3-external-image-external-description.html    |    9 +++++++++
 ...ge-with-absolute-base-external-description.html |   12 ++++++++++++
 ...ge-with-relative-base-external-description.html |   11 +++++++++++
 test/html/w3-iframe-discoverability.html           |   12 ++++++++++++
 15 files changed, 143 insertions(+), 0 deletions(-)
---
diff --git a/test/html/w3-data-uri-image-data-uri-description.html 
b/test/html/w3-data-uri-image-data-uri-description.html
new file mode 100644
index 0000000..5166dfc
--- /dev/null
+++ b/test/html/w3-data-uri-image-data-uri-description.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: data: URI image, data: URI description</title>
+ </head>
+ <body>
+  <img 
src="data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%01%B2%00%00%01%07%04%03%00%00%01N%5D%EE%7F%00%00%00%04gAMA%00%00%AF%C87%05%8A%E9%00%00%00%1BPLTE%F8%FC%F8%00%00%00%F8%E8%B8%00%FC%F8%F8%00%00%00%FC%00%F8%90%40%00%00%F8%F8%00%F8d%FA%E4%E4%00%00%00%07tIME%07%CF%0B%01%07%1E%01E%0FIy%00%00%00%15tEXtSo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2%F4%AB%E4%08%B0%293%91%B6%B6%ADP%DF%E8%C2%5B%A7%AA%B2%1F1%05X%23G%D0%F6M%21%A8j%8D%BF7P%FCt%FAn%171%0C%7C%F93%BE%C5%B7%063%D6V%13%E9%7C%0B%EB%03%E556%D2%20%E6%26%E5%9F%8A%D8%E0b%93%2A%AD%88%B5%D5%B12%DB%28%60P_%3C%24v%A0w%F0C%BBEt%AD%D5%1D%A0%99%BD%F3%A3Se%0B%15%C9%8A%CD%E6%CA%12%D6w%01%AA%F9%28%FC%F8%F1%86%5E%A5%D5%ED%F0j%C4%E1%BFA2%C3%AAJE%D6%08%9A%0B%95%C04%D1%9E%196d%06%F6%B8%BCh.%7C%3CeUo%7Bg%2A%E3%E6%8EC%DD%FA%D4%D1%87F%CC%EA%DF%0B%1E%C1%D0%03%99%F0%F5%C8%D6%C9E%DC%F3%E8%F5%B3%B5%DA%BFi%09NqX%02%01%B3%F5%DB%8B%03%01%A7%DD%057q%B9%03%DA%873%B3%D3%A7%9CX%8AW%E0%D0%16%03%80%AE%C4%0Fg%E6%89%E2%E7e9%F6P%B4%0F%D9%AFEi%AD%8BYJV%3E%29~%C8C%1E%B2%A8%FC%1F%
 80U%F1%8F%E3%25%60p%00%00%00%00IEND%AEB%60%82" alt="the image" 
longdesc="data:text/html;charset=utf-8,%3C%21DOCTYPE%20html%3E%0D%0A%3Chtml%3E%0D%0A%20%3Chead%3E%0D%0A%20%20%3Ctitle%3ELongdesc%20test%20Pass%20page%3C%2Ftitle%3E%0D%0A%20%3C%2Fhead%3E%0D%0A%20%3Cbody%3E%0D%0A%20%20%3Ch1%3EPass%3C%2Fh1%3E%0D%0A%20%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-data-uri-image-external-description-fragment.html 
b/test/html/w3-data-uri-image-external-description-fragment.html
new file mode 100644
index 0000000..44b2ca3
--- /dev/null
+++ b/test/html/w3-data-uri-image-external-description-fragment.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: data: URI image, external description in a  fragment</title>
+ </head>
+ <body>
+  <img 
src="data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%01%B2%00%00%01%07%04%03%00%00%01N%5D%EE%7F%00%00%00%04gAMA%00%00%AF%C87%05%8A%E9%00%00%00%1BPLTE%F8%FC%F8%00%00%00%F8%E8%B8%00%FC%F8%F8%00%00%00%FC%00%F8%90%40%00%00%F8%F8%00%F8d%FA%E4%E4%00%00%00%07tIME%07%CF%0B%01%07%1E%01E%0FIy%00%00%00%15tEXtSoftware%00XPaint%202.4.9P%0E%BDz%00%00%10%AFIDATx%9C%ED%5DKs%E3%B8%11f%AB%A6%A6rlH%8Aj%8E%B2f%B6r%5D%8D%92%BB%9Dh%EF%BB%D9%F2%DDs%F19%95_%B0%B9%ED%CF%0E%F1~%10%20%1B%20%40S%2Auy%3C%B2%40%E0%C3%87G%A3%D1x%B0%EB%1A%09v%80%FD%AF9%02c%D1%FB0%18%8B%AB%9E%F1c%E8%7F%882%E8t%3Ay%C1n%E4%EE%EB%E5%BB%0Er%13%92%9F%9Fv%DF%9Dg%99%0F%FE%ED%97%7F%A7sm%93%8D%08c%2C%1D8K%BC%B2%D8%06%81nI%C2h%60X%25%5E%E0%15G%02_%9E%C7b%06%81%1D5%B0%7B~%19%09%3Cv%EFo%C9%40%D6%7DN%06%82%0C%8C%B70%86%5E%CCA%2B%FD%02%C9%A6%89%E8%85%8C%B5%E0%A6%82%A3%F8%0C%87%BD%21%F57%8E%84E%609%7F%88%3D%C7%12%1D%DA%A4%0F%FA%F7%E9t%F4b%99%E0%FEgw%F9Y%FE%A1%BA%AC%1B%7C9%FFl%13%0A%BA%D9%F5%F5%E7d%A6%2F%97t%18c%F3T%DC%B48%3
 
DN~r%0A%C9%E9%AA%C3%B0%91x%9F%AEea%FB%FDs%F8%95%13%EF9%F2%AD%0AK%86%F4%F2%04%EF%A92%ECq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%17%A8%D7%1C%1Cnw%40C%7D%A6%9
 
5%BF%D3%86%2F%C8%A0%F3%3A%05%D0%CC%D2%26%D6%BA%99q%E1%EB%D4b%05%CD%B9%3F%A7%1F%C0%0F%89%C6%08k%B6%A9%84%80%DD%A06%7CC%C3%18%B3Er7G%005%19%BF%0A%C4%A7%BE%16S%DD%EC%16%98%89%E1%8C%09%DD%C8%2F%1F%40%F7%3A%A7%D6%CC%EA%DE%3C%1B%08%8A%DDq%E2%1E%94%9E%25%13%B7%5E%E9%BBvz%15%A2%94%FE0O%F3%91y%8F%86%86w-"%9AK0%D4%BEPs%EB%04%9A%B1%3A%A2%F4%AB%E4%08%B0%293%91%B6%B6%ADP%DF%E8%C2%5B%A7%AA%B2%1F1%05X%23G%D0%F6M%21%A8j%8D%BF7P%FCt%FAn%171%0C%7C%F93%BE%C5%B7%063%D6V%13%E9%7C%0B%EB%03%E556%D2%20%E6%26%E5%9F%8A%D8%E0b%93%2A%AD%88%B5%D5%B12%DB%28%60P_%3C%24v%A0w%F0C%BBEt%AD%D5%1D%A0%99%BD%F3%A3Se%0B%15%C9%8A%CD%E6%CA%12%D6w%01%AA%F9%28%FC%F8%F1%86%5E%A5%D5%ED%F0j%C4%E1%BFA2%C3%AAJE%D6%08%9A%0B%95%C04%D1%9E%196d%06%F6%B8%BCh.%7C%3CeUo%7Bg%2A%E3%E6%8EC%DD%FA%D4%D1%87F%CC%EA%DF%0B%1E%C1%D0%03%99%F0%F5%C8%D6%C9E%DC%F3%E8%F5%B3%B5%DA%BFi%09NqX%02%01%B3%F5%DB%8B%03%01%A7%DD%057q%B9%03%DA%873%B3%D3%A7%9CX%8AW%E0%D0%16%03%80%AE%C4%0Fg%E6%89%E2%E7e9%F6P%B4%0F%D9%AFEi%AD%8BYJV%3E%29~%C8C%1E%B2%A8%FC%1F%
 80U%F1%8F%E3%25%60p%00%00%00%00IEND%AEB%60%82" alt="the image" longdesc="pass-fragment.html#fragment">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-data-uri-image-external-description.html 
b/test/html/w3-data-uri-image-external-description.html
new file mode 100644
index 0000000..56f9aa7
--- /dev/null
+++ b/test/html/w3-data-uri-image-external-description.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: data: URI image, external description</title>
+ </head>
+ <body>
+  <img 
src="data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%01%B2%00%00%01%07%04%03%00%00%01N%5D%EE%7F%00%00%00%04gAMA%00%00%AF%C87%05%8A%E9%00%00%00%1BPLTE%F8%FC%F8%00%00%00%F8%E8%B8%00%FC%F8%F8%00%00%00%FC%00%F8%90%40%00%00%F8%F8%00%F8d%FA%E4%E4%00%00%00%07tIME%07%CF%0B%01%07%1E%01E%0FIy%00%00%00%15tEXtSoftware%00XPaint%202.4.9P%0E%BDz%00%00%10%AFIDATx%9C%ED%5DKs%E3%B8%11f%AB%A6%A6rlH%8Aj%8E%B2f%B6r%5D%8D%92%BB%9Dh%EF%BB%D9%F2%DDs%F19%95_%B0%B9%ED%CF%0E%F1~%10%20%1B%20%40S%2Auy%3C%B2%40%E0%C3%87G%A3%D1x%B0%EB%1A%09v%80%FD%AF9%02c%D1%FB0%18%8B%AB%9E%F1c%E8%7F%882%E8t%3Ay%C1n%E4%EE%EB%E5%BB%0Er%13%92%9F%9Fv%DF%9Dg%99%0F%FE%ED%97%7F%A7sm%93%8D%08c%2C%1D8K%BC%B2%D8%06%81nI%C2h%60X%25%5E%E0%15G%02_%9E%C7b%06%81%1D5%B0%7B~%19%09%3Cv%EFo%C9%40%D6%7DN%06%82%0C%8C%B70%86%5E%CCA%2B%FD%02%C9%A6%89%E8%85%8C%B5%E0%A6%82%A3%F8%0C%87%BD%21%F57%8E%84E%609%7F%88%3D%C7%12%1D%DA%A4%0F%FA%F7%E9t%F4b%99%E0%FEgw%F9Y%FE%A1%BA%AC%1B%7C9%FFl%13%0A%BA%D9%F5%F5%E7d%A6%2F%97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%B2%A8%FC%1F%
 80U%F1%8F%E3%25%60p%00%00%00%00IEND%AEB%60%82" alt="the image" longdesc="pass.html">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-empty-image-data-uri-description.html 
b/test/html/w3-empty-image-data-uri-description.html
new file mode 100644
index 0000000..fc0ae76
--- /dev/null
+++ b/test/html/w3-empty-image-data-uri-description.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test:  Empty image, data: URI description</title>
+ </head>
+ <body>
+  <img src="" alt="the image" 
longdesc="data:text/html;charset=utf-8,%3C%21DOCTYPE%20html%3E%0D%0A%3Chtml%3E%0D%0A%20%3Chead%3E%0D%0A%20%20%3Ctitle%3ELongdesc%20test%20Pass%20page%3C%2Ftitle%3E%0D%0A%20%3C%2Fhead%3E%0D%0A%20%3Cbody%3E%0D%0A%20%20%3Ch1%3EPass%3C%2Fh1%3E%0D%0A%20%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-empty-image-external-description-fragment.html 
b/test/html/w3-empty-image-external-description-fragment.html
new file mode 100644
index 0000000..ae3f8d1
--- /dev/null
+++ b/test/html/w3-empty-image-external-description-fragment.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test:  Empty image, external description fragment</title>
+ </head>
+ <body>
+  <img src="" alt="the image" longdesc="pass-fragment.html#fragment">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-empty-image-external-description.html 
b/test/html/w3-empty-image-external-description.html
new file mode 100644
index 0000000..567eea5
--- /dev/null
+++ b/test/html/w3-empty-image-external-description.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test:  Empty image, external description</title>
+ </head>
+ <body>
+  <img src="" alt="the image" longdesc="pass.html">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-external-image-data-uri-description-girt-by-spaces.html 
b/test/html/w3-external-image-data-uri-description-girt-by-spaces.html
new file mode 100644
index 0000000..ce23fe5
--- /dev/null
+++ b/test/html/w3-external-image-data-uri-description-girt-by-spaces.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test:  External image, data: URI description surrounded by spaces</title>
+ </head>
+ <body>
+  <img src="picture.png" alt="the image" longdesc="  
data:text/html;charset=utf-8,%3C%21DOCTYPE%20html%3E%0D%0A%3Chtml%3E%0D%0A%20%3Chead%3E%0D%0A%20%20%3Ctitle%3ELongdesc%20test%20Pass%20page%3C%2Ftitle%3E%0D%0A%20%3C%2Fhead%3E%0D%0A%20%3Cbody%3E%0D%0A%20%20%3Ch1%3EPass%3C%2Fh1%3E%0D%0A%20%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E
  ">
+ </body>
+</html>
diff --git a/test/html/w3-external-image-data-uri-description.html 
b/test/html/w3-external-image-data-uri-description.html
new file mode 100644
index 0000000..f8f3d0a
--- /dev/null
+++ b/test/html/w3-external-image-data-uri-description.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test:  External image, data: URI description</title>
+ </head>
+ <body>
+  <img src="picture.png" alt="the image" 
longdesc="data:text/html;charset=utf-8,%3C%21DOCTYPE%20html%3E%0D%0A%3Chtml%3E%0D%0A%20%3Chead%3E%0D%0A%20%20%3Ctitle%3ELongdesc%20test%20Pass%20page%3C%2Ftitle%3E%0D%0A%20%3C%2Fhead%3E%0D%0A%20%3Cbody%3E%0D%0A%20%20%3Ch1%3EPass%3C%2Fh1%3E%0D%0A%20%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-external-image-external-description-fragment-girt-by-spaces.html 
b/test/html/w3-external-image-external-description-fragment-girt-by-spaces.html
new file mode 100644
index 0000000..d9cd73c
--- /dev/null
+++ b/test/html/w3-external-image-external-description-fragment-girt-by-spaces.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: External image, external description fragment surrounded by spaces</title>
+ </head>
+ <body>
+  <img src="picture.png" alt="the image" longdesc="  pass-fragment.html#fragment  ">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-external-image-external-description-fragment.html 
b/test/html/w3-external-image-external-description-fragment.html
new file mode 100644
index 0000000..605d0d0
--- /dev/null
+++ b/test/html/w3-external-image-external-description-fragment.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: External image, external description fragment</title>
+ </head>
+ <body>
+  <img src="picture.png" alt="the image" longdesc="pass-fragment.html#fragment">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-external-image-external-description-girt-by-spaces.html 
b/test/html/w3-external-image-external-description-girt-by-spaces.html
new file mode 100644
index 0000000..d44bc4e
--- /dev/null
+++ b/test/html/w3-external-image-external-description-girt-by-spaces.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: External image, external description surrounded by spaces</title>
+ </head>
+ <body>
+  <img src="picture.png" alt="the image" longdesc="  pass.html  ">
+ </body>
+</html>
diff --git a/test/html/w3-external-image-external-description.html 
b/test/html/w3-external-image-external-description.html
new file mode 100644
index 0000000..468a0db
--- /dev/null
+++ b/test/html/w3-external-image-external-description.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: External image, external description</title>
+ </head>
+ <body>
+  <img src="picture.png" alt="the image" longdesc="pass.html">
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-external-image-with-absolute-base-external-description.html 
b/test/html/w3-external-image-with-absolute-base-external-description.html
new file mode 100644
index 0000000..a861d35
--- /dev/null
+++ b/test/html/w3-external-image-with-absolute-base-external-description.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: External image, external description, absolute base</title>
+  <base href="https://rawgithub.com/chaals/longdesc-tests/master/rebased/";>
+ </head>
+ <body>
+  <p>Note that this test currently uses a target URL for the base that is not necessarily reliable 
long-term. It should be updated by anyone who wants to use the test "for real", pointing to some reliably 
stable repository</p>
+  <img src="picture2.png" alt="the image" longdesc="fail.html">
+  <p>If the image is broken, the base element has not been interpreted correctly so the test result is 
unknowable</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-external-image-with-relative-base-external-description.html 
b/test/html/w3-external-image-with-relative-base-external-description.html
new file mode 100644
index 0000000..edd6481
--- /dev/null
+++ b/test/html/w3-external-image-with-relative-base-external-description.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: External image, external description, relative base</title>
+  <base href="./rebased/">
+ </head>
+ <body>
+  <img src="picture2.png" alt="the image" longdesc="fail.html">
+  <p>If the image is broken, the base element has not been interpreted correctly so the test result is 
unknowable</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/w3-iframe-discoverability.html b/test/html/w3-iframe-discoverability.html
new file mode 100644
index 0000000..f07f66a
--- /dev/null
+++ b/test/html/w3-iframe-discoverability.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test: iframe discoverability</title>
+ </head>
+ <body>
+  <iframe src="external-image-external-description.html" width="480" height="320">
+  <p>If there is no document included here with an image, the result of the test is unknowable</p>
+  </iframe>
+  <p>In order to pass, it should be possible to discover that there is an image with a longdesc included in 
this document (inside an iframe).
+ </body>
+</html>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]