From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/html-longdesc/META.yml | 4 + .../web-platform/tests/html-longdesc/README.html | 109 +++++++++++++++++++++ ...data-uri-image-data-uri-description-manual.html | 9 ++ ...image-external-description-fragment-manual.html | 9 ++ ...data-uri-image-external-description-manual.html | 9 ++ ...data-uri-image-internal-description-manual.html | 14 +++ .../empty-image-data-uri-description-manual.html | 9 ++ ...image-external-description-fragment-manual.html | 9 ++ .../empty-image-external-description-manual.html | 9 ++ .../empty-image-internal-description-manual.html | 14 +++ .../tests/html-longdesc/empty-longdesc-manual.html | 11 +++ ...data-uri-description-girt-by-spaces-manual.html | 9 ++ ...external-image-data-uri-description-manual.html | 9 ++ ...description-fragment-girt-by-spaces-manual.html | 9 ++ ...image-external-description-fragment-manual.html | 9 ++ ...external-description-girt-by-spaces-manual.html | 9 ++ ...external-image-external-description-manual.html | 9 ++ ...internal-description-girt-by-spaces-manual.html | 14 +++ ...external-image-internal-description-manual.html | 14 +++ ...-absolute-base-external-description-manual.html | 12 +++ ...-relative-base-external-description-manual.html | 11 +++ .../fail-fragment-pointer-manual.html | 9 ++ .../tests/html-longdesc/fail-fragment.html | 20 ++++ testing/web-platform/tests/html-longdesc/fail.html | 10 ++ .../iframe-discoverability-manual.html | 12 +++ .../html-longdesc/invalid-longdesc-manual.html | 9 ++ .../tests/html-longdesc/pass-fragment.html | 20 ++++ testing/web-platform/tests/html-longdesc/pass.html | 12 +++ .../web-platform/tests/html-longdesc/picture.png | Bin 0 -> 4435 bytes .../tests/html-longdesc/rebased/fail.html | 12 +++ .../tests/html-longdesc/rebased/picture2.png | Bin 0 -> 6416 bytes .../reflected-changing-longdesc-manual.html | 16 +++ 32 files changed, 431 insertions(+) create mode 100644 testing/web-platform/tests/html-longdesc/META.yml create mode 100644 testing/web-platform/tests/html-longdesc/README.html create mode 100644 testing/web-platform/tests/html-longdesc/data-uri-image-data-uri-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/data-uri-image-external-description-fragment-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/data-uri-image-external-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/data-uri-image-internal-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/empty-image-data-uri-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/empty-image-external-description-fragment-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/empty-image-external-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/empty-image-internal-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/empty-longdesc-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-data-uri-description-girt-by-spaces-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-data-uri-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-external-description-fragment-girt-by-spaces-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-external-description-fragment-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-external-description-girt-by-spaces-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-external-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-internal-description-girt-by-spaces-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-internal-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-with-absolute-base-external-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/external-image-with-relative-base-external-description-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/fail-fragment-pointer-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/fail-fragment.html create mode 100644 testing/web-platform/tests/html-longdesc/fail.html create mode 100644 testing/web-platform/tests/html-longdesc/iframe-discoverability-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/invalid-longdesc-manual.html create mode 100644 testing/web-platform/tests/html-longdesc/pass-fragment.html create mode 100644 testing/web-platform/tests/html-longdesc/pass.html create mode 100644 testing/web-platform/tests/html-longdesc/picture.png create mode 100644 testing/web-platform/tests/html-longdesc/rebased/fail.html create mode 100644 testing/web-platform/tests/html-longdesc/rebased/picture2.png create mode 100644 testing/web-platform/tests/html-longdesc/reflected-changing-longdesc-manual.html (limited to 'testing/web-platform/tests/html-longdesc') diff --git a/testing/web-platform/tests/html-longdesc/META.yml b/testing/web-platform/tests/html-longdesc/META.yml new file mode 100644 index 0000000000..e6fbaa9d91 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/META.yml @@ -0,0 +1,4 @@ +spec: https://www.w3.org/TR/html-longdesc/ +suggested_reviewers: + - chaals + - cptvitamin diff --git a/testing/web-platform/tests/html-longdesc/README.html b/testing/web-platform/tests/html-longdesc/README.html new file mode 100644 index 0000000000..c4779a229b --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/README.html @@ -0,0 +1,109 @@ + + + + + + +Multifunction tests + + + +

longdesc-tests

+ +

Proposed tests for the HTML Image Description Extension specification. These tests are © chaals, and available under the W3C Software license

+ +

Multifunction tests

+ +

These 15 tests include descriptions under different combinations of circumstances - images included "normally", as data: URIs, or missing, with the descriptions internal or external to the page, as a data: URI, or in a location only reachable by taking into account the base element.

+ +

The same tests are used to provide 3 results: +1 Can the user discover there is an image that has a long description available? +2 Can the user access the description? To pass, the user should arrive at the "pass page" which has a heading "Pass" followed by a description, or the focus must be on the text "Pass, if the focus is here" which is followed by a description of the image. +3 Is the long description available to system accessibility APIs

+ +

Longdesc value as data:URI

+ + + + +

Longdesc value as external URI

+ + + + +

Longdesc value as internal URI (same page link)

+ + + + +

Longdesc value as a fragment in an external resource

+ + + + +

Longdesc value as external URI in presence of <base> element

+ + + + +

Longdesc for an image within an iframe

+ + + + +

Automated tests

+ +

Longdesc value updated by javascript tests that the HTML attribute reflects changes made by javascript. To pass, the browser must redirect to the "Longdesc test Pass Page" which has the word "Pass" as a heading, followed by a description of the image. Displaying the "Longdesc test Fail Page" would indicate a failure of this test.

+ +

Validation / Repair tool tests

+ +

Invalid long description (plain text) contains an invalid long description (plain text) and can be used to test User Agent and validation tool handling. NOTE: Handling of invalid longdescs by user agents is currently undefined. +Invalid long description (empty attribute) contains an invalid long description (plain text) and can be used to test User Agent and validation tool handling. NOTE: Handling of invalid longdescs by user agents is currently undefined. +Pointer to an invalid long description (not contained in a well-formed fragment) points to a long description in a page fragment whose target is an empty element. Validation tools should at least generate a warning, since an empty element is almost certainly not an adequate description, and is likely instead to reflect not passing the relevant authoring requirement.

+ +

Test results

+ +

Preliminary test results are available for some platforms. More results are welcome.

+ +

Supporting files

+ +

The following files are required to make one or more of the tests work:

+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/data-uri-image-data-uri-description-manual.html b/testing/web-platform/tests/html-longdesc/data-uri-image-data-uri-description-manual.html new file mode 100644 index 0000000000..5166dfc292 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/data-uri-image-data-uri-description-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: data: URI image, data: URI description + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/data-uri-image-external-description-fragment-manual.html b/testing/web-platform/tests/html-longdesc/data-uri-image-external-description-fragment-manual.html new file mode 100644 index 0000000000..44b2ca3b09 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/data-uri-image-external-description-fragment-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: data: URI image, external description in a fragment + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/data-uri-image-external-description-manual.html b/testing/web-platform/tests/html-longdesc/data-uri-image-external-description-manual.html new file mode 100644 index 0000000000..56f9aa79e4 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/data-uri-image-external-description-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: data: URI image, external description + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/data-uri-image-internal-description-manual.html b/testing/web-platform/tests/html-longdesc/data-uri-image-internal-description-manual.html new file mode 100644 index 0000000000..b6a8270b60 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/data-uri-image-internal-description-manual.html @@ -0,0 +1,14 @@ + + + + Longdesc test: data: URI image, internal description + + + the image +
+

Pass, if the focus is here

+

The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a green button

+

The image is signed in the space under the floor that is at the top of the stairs with an "R" rune flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/empty-image-data-uri-description-manual.html b/testing/web-platform/tests/html-longdesc/empty-image-data-uri-description-manual.html new file mode 100644 index 0000000000..fc0ae768a4 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/empty-image-data-uri-description-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: Empty image, data: URI description + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/empty-image-external-description-fragment-manual.html b/testing/web-platform/tests/html-longdesc/empty-image-external-description-fragment-manual.html new file mode 100644 index 0000000000..ae3f8d1c4b --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/empty-image-external-description-fragment-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: Empty image, external description fragment + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/empty-image-external-description-manual.html b/testing/web-platform/tests/html-longdesc/empty-image-external-description-manual.html new file mode 100644 index 0000000000..567eea5026 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/empty-image-external-description-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: Empty image, external description + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/empty-image-internal-description-manual.html b/testing/web-platform/tests/html-longdesc/empty-image-internal-description-manual.html new file mode 100644 index 0000000000..aeb81104c6 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/empty-image-internal-description-manual.html @@ -0,0 +1,14 @@ + + + + Longdesc test: Empty image, internal description + + + the image +
+

Pass, if the focus is here

+

The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a green button

+

The image is signed in the space under the floor that is at the top of the stairs with an "R" rune flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/empty-longdesc-manual.html b/testing/web-platform/tests/html-longdesc/empty-longdesc-manual.html new file mode 100644 index 0000000000..9c582590ec --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/empty-longdesc-manual.html @@ -0,0 +1,11 @@ + + + + Longdesc test: empty longdesc + + +

Longdesc test: empty longdesc value

+

the image

+

The longdesc attribute value is null, and therefore the longdesc is not valid.

+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/external-image-data-uri-description-girt-by-spaces-manual.html b/testing/web-platform/tests/html-longdesc/external-image-data-uri-description-girt-by-spaces-manual.html new file mode 100644 index 0000000000..ce23fe55e7 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-data-uri-description-girt-by-spaces-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: External image, data: URI description surrounded by spaces + + + the image + + diff --git a/testing/web-platform/tests/html-longdesc/external-image-data-uri-description-manual.html b/testing/web-platform/tests/html-longdesc/external-image-data-uri-description-manual.html new file mode 100644 index 0000000000..f8f3d0a616 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-data-uri-description-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: External image, data: URI description + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/external-image-external-description-fragment-girt-by-spaces-manual.html b/testing/web-platform/tests/html-longdesc/external-image-external-description-fragment-girt-by-spaces-manual.html new file mode 100644 index 0000000000..d9cd73cd4b --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-external-description-fragment-girt-by-spaces-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: External image, external description fragment surrounded by spaces + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/external-image-external-description-fragment-manual.html b/testing/web-platform/tests/html-longdesc/external-image-external-description-fragment-manual.html new file mode 100644 index 0000000000..605d0d0f24 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-external-description-fragment-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: External image, external description fragment + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/external-image-external-description-girt-by-spaces-manual.html b/testing/web-platform/tests/html-longdesc/external-image-external-description-girt-by-spaces-manual.html new file mode 100644 index 0000000000..d44bc4ed9a --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-external-description-girt-by-spaces-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: External image, external description surrounded by spaces + + + the image + + diff --git a/testing/web-platform/tests/html-longdesc/external-image-external-description-manual.html b/testing/web-platform/tests/html-longdesc/external-image-external-description-manual.html new file mode 100644 index 0000000000..468a0db8fb --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-external-description-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: External image, external description + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/external-image-internal-description-girt-by-spaces-manual.html b/testing/web-platform/tests/html-longdesc/external-image-internal-description-girt-by-spaces-manual.html new file mode 100644 index 0000000000..693079085d --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-internal-description-girt-by-spaces-manual.html @@ -0,0 +1,14 @@ + + + + Longdesc test: External image, internal description surrounded by spaces + + + the image +
+

Pass, if the focus is here

+

The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a green button

+

The image is signed in the space under the floor that is at the top of the stairs with an "R" rune flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.

+
+ + diff --git a/testing/web-platform/tests/html-longdesc/external-image-internal-description-manual.html b/testing/web-platform/tests/html-longdesc/external-image-internal-description-manual.html new file mode 100644 index 0000000000..2e984bad23 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-internal-description-manual.html @@ -0,0 +1,14 @@ + + + + Longdesc test: External image, internal description + + + the image +
+

Pass, if the focus is here

+

The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a green button

+

The image is signed in the space under the floor that is at the top of the stairs with an "R" rune flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/external-image-with-absolute-base-external-description-manual.html b/testing/web-platform/tests/html-longdesc/external-image-with-absolute-base-external-description-manual.html new file mode 100644 index 0000000000..a861d351a3 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-with-absolute-base-external-description-manual.html @@ -0,0 +1,12 @@ + + + + Longdesc test: External image, external description, absolute base + + + +

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

+ the image +

If the image is broken, the base element has not been interpreted correctly so the test result is unknowable

+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/external-image-with-relative-base-external-description-manual.html b/testing/web-platform/tests/html-longdesc/external-image-with-relative-base-external-description-manual.html new file mode 100644 index 0000000000..edd64812a8 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/external-image-with-relative-base-external-description-manual.html @@ -0,0 +1,11 @@ + + + + Longdesc test: External image, external description, relative base + + + + the image +

If the image is broken, the base element has not been interpreted correctly so the test result is unknowable

+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/fail-fragment-pointer-manual.html b/testing/web-platform/tests/html-longdesc/fail-fragment-pointer-manual.html new file mode 100644 index 0000000000..50b710b09c --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/fail-fragment-pointer-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: External image, external description fragment + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/fail-fragment.html b/testing/web-platform/tests/html-longdesc/fail-fragment.html new file mode 100644 index 0000000000..ddfc92a84a --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/fail-fragment.html @@ -0,0 +1,20 @@ + + + + + Invalid longdesc test page + + +

Fail if you land here

+
+

Testing tools such as validators should give a warning that this page is probably violating the SHOULD-level requirement that external descriptions which are a fragment of a document should be a well-formed fragment. Using an empty element as a description is almost certainly an inadequate description

+
+
+

The description

+

The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a green button

+

The image is signed in the space under the floor that is at the top of the stairs with an "R" rune flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.

+
+

This paragraph is not part of the description. As of September 2013 there is no conformance requirement making it a failure to read this paragraph, but best practice would be to present only the description, and not this part.

+

The description is encapsulated in a well-formed fragment, but since the target of a link is an empty element it is not possible to positively identify it.

+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/fail.html b/testing/web-platform/tests/html-longdesc/fail.html new file mode 100644 index 0000000000..37893ef50f --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/fail.html @@ -0,0 +1,10 @@ + + + + Longdesc test Fail page + + +

Fail

+

Apparently, something went wrong and the test has been failed.

+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/iframe-discoverability-manual.html b/testing/web-platform/tests/html-longdesc/iframe-discoverability-manual.html new file mode 100644 index 0000000000..5cea9f6174 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/iframe-discoverability-manual.html @@ -0,0 +1,12 @@ + + + + Longdesc test: iframe discoverability + + + +

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). + + diff --git a/testing/web-platform/tests/html-longdesc/invalid-longdesc-manual.html b/testing/web-platform/tests/html-longdesc/invalid-longdesc-manual.html new file mode 100644 index 0000000000..3cef0a5f31 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/invalid-longdesc-manual.html @@ -0,0 +1,9 @@ + + + + Longdesc test: invalid longdesc + + + the image + + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/pass-fragment.html b/testing/web-platform/tests/html-longdesc/pass-fragment.html new file mode 100644 index 0000000000..ce87936c58 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/pass-fragment.html @@ -0,0 +1,20 @@ + + + + + Longdesc test Pass page + + +

Fail if you land here

+
+

This is a landing page for tests of the longdesc attribute. To pass, when opening a longdesc that points to this page, the focus should be on a heading with the text "pass" followed by a description of an image

+
+
+

Pass

+

The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a green button

+

The image is signed in the space under the floor that is at the top of the stairs with an "R" rune flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.

+
+

This paragraph is not part of the description. As of September 2013 there is no conformance requirement making it a failure to read this paragraph, best practice would be to present only the description, and not this part.

+

The description is encapsulated in a well-formed div element, so it is possible to identify it.

+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/pass.html b/testing/web-platform/tests/html-longdesc/pass.html new file mode 100644 index 0000000000..b5fee3b2ab --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/pass.html @@ -0,0 +1,12 @@ + + + + + Longdesc test Pass page + + +

Pass

+

The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a green button

+

The image is signed in the space under the floor that is at the top of the stairs with an "R" rune flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.

+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/picture.png b/testing/web-platform/tests/html-longdesc/picture.png new file mode 100644 index 0000000000..e4ebb708c7 Binary files /dev/null and b/testing/web-platform/tests/html-longdesc/picture.png differ diff --git a/testing/web-platform/tests/html-longdesc/rebased/fail.html b/testing/web-platform/tests/html-longdesc/rebased/fail.html new file mode 100644 index 0000000000..ccbbaa6cf6 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/rebased/fail.html @@ -0,0 +1,12 @@ + + + + + Longdesc test Pass page + + +

Pass

+

(The image is a drawn cartoon, on the right is a parson a wheelchair in profile, facing toward the centre of the image, under a banner with the text "e-democracy?" on it. In front of the person are some stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a green button)

+

The image is signed (in the space under the floor that is at the top of the stairs) with an "R" rune flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to right, and is marked ©1999. It was actually drawn by Charles McCathie Nevile.

+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html-longdesc/rebased/picture2.png b/testing/web-platform/tests/html-longdesc/rebased/picture2.png new file mode 100644 index 0000000000..3697d0c8b1 Binary files /dev/null and b/testing/web-platform/tests/html-longdesc/rebased/picture2.png differ diff --git a/testing/web-platform/tests/html-longdesc/reflected-changing-longdesc-manual.html b/testing/web-platform/tests/html-longdesc/reflected-changing-longdesc-manual.html new file mode 100644 index 0000000000..5e3ac13757 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/reflected-changing-longdesc-manual.html @@ -0,0 +1,16 @@ + + + + Longdesc test: Reflection when longdesc changes + + + the image + + + \ No newline at end of file -- cgit v1.2.3