mirror of
https://github.com/servo/servo.git
synced 2025-08-22 05:45:33 +01:00
Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317
This commit is contained in:
parent
aa199307c8
commit
2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions
|
@ -4,9 +4,9 @@
|
|||
<title>ARIA Tree Example</title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" href="./css/treesimple.css" type="text/css">
|
||||
<script type="text/javascript" src="./js/prototype.js"></script>
|
||||
<script type="text/javascript" src="./js/aria.js"></script>
|
||||
<script type="text/javascript" src="./js/init.js"></script>
|
||||
<script src="./js/prototype.js"></script>
|
||||
<script src="./js/aria.js"></script>
|
||||
<script src="./js/init.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
<title>ARIA Tree Example</title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" href="./css/treebox.css" type="text/css">
|
||||
<script type="text/javascript" src="./js/prototype.js"></script>
|
||||
<script type="text/javascript" src="./js/aria.js"></script>
|
||||
<script type="text/javascript" src="./js/init.js"></script>
|
||||
<script src="./js/prototype.js"></script>
|
||||
<script src="./js/aria.js"></script>
|
||||
<script src="./js/init.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
After the onload event completes a child DOM text node is added to the element with
|
||||
the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addTextNode() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
After the onload event completes a child DOM text node is added to the element
|
||||
with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addTextNode() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
value 'assertive' is added to the element and a child DOM text
|
||||
node is added to the element.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addLiveRegion() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
value 'assertive' is added to the document and a child element and text
|
||||
node is added to the element with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addElement() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
After the onload event completes a child DOM element node with text content has the
|
||||
CSS dsiplay property changed to display="block".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
a child DOM element node with text content has the CSS dsiplay property
|
||||
changed to display="block".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
After the onload event completes a child DOM element node with text content has the
|
||||
CSS dsiplay property changed to visibility="visible".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
After the onload event completes a child DOM element node with text content has the CSS dsiplay
|
||||
property changed to visibility="visible".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
event with the value="polite". After the onload event completes a child DOM text node is added
|
||||
to the element with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addChildTextNode() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
event with the value="assertive". After the onload event completes a child DOM text node is
|
||||
added to the element with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addChildTextNode() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
event with the value="polite". After the onload event completes a child DOM element node is
|
||||
added to the element with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addChildElementNode() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
the onload event with the value="assertive". After the onload event completes a
|
||||
child DOM element node is added to the element with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addChildElementNode() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
that is hidden using CSS display="none". After the onload event completes a child DOM element
|
||||
node with text content has the CSS display property changed to display="block".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID_3');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
that is hidden using CSS display="none". After the onload event completes a child DOM element
|
||||
node with text content has the CSS display property changed to display="block".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID_3');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
event completes a child DOM element node with text content has the CSS display property
|
||||
changed to visibility="visible".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID_3');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
After the onload event completes a child DOM element node with text content
|
||||
has the CSS display property changed to visibility="visible".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID_3');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
onload event completes with the value="polite". After the aria-live attribute is added,
|
||||
a child DOM text node is added to the element with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addChildTextNode() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
the onload event completes with the value="assertive". After the aria-live attribute
|
||||
is added, a child DOM text node is added to the element with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addChildTextNode() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
attribute is added, a child DOM element node is added to the element with
|
||||
the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addChildElementNode() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
the onload event completes with the value="assertive". After the aria-live attribute
|
||||
is added, a child DOM element node is added to the element with the aria-live attribute.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function addChildElementNode() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
aria-live attribute is added, the child DOM element node with text content has the
|
||||
CSS display property changed to display="block".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
the aria-live attribute is added, the child DOM element node with text content has
|
||||
the CSS display property changed to display="block".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID_3');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
visibility="hidden". After the aria-live attribute is added, the child DOM
|
||||
element node with text content has the CSS display property changed to visibility="visible".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID_3');
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
the aria-live attribute is added, the child DOM element node with text content has
|
||||
the CSS display property changed to visibility="visible".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function showElement() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
has a child DOM text node with content. After the onload event completes the child
|
||||
DOM text node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
has a child DOM text node with content. After the onload event completes the child DOM
|
||||
text node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
has a child DOM element node that contains text content. After the onload event completes
|
||||
the child DOM element node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
value="assertive" has a child DOM element node that contains text content.
|
||||
After the onload event completes the child DOM element node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
content. After the onload event completes the CSS 'display' property
|
||||
of the child DOM element node is changed to display="none".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function hideElement() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
has a child DOM element node that contains text content. After the onload event completes
|
||||
the CSS 'display' property of the child DOM element node is changed to display="none".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function hideElement() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
completes the CSS 'visibility' property of the child DOM element node is changed
|
||||
to visibility="hidden".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function hideElement() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
has a child DOM element node that contains text content. After the onload event completes
|
||||
the CSS 'visibility' property of the child DOM element node is changed to visibility="hidden".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function hideElement() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
text node with content. After the onload event completes the child DOM text
|
||||
node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
event with the value="assertive" and the element has a child DOM text node with content. After
|
||||
the onload event completes the child DOM text node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
DOM element node that contains text content. After the onload event completes
|
||||
the child DOM element node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
node that contains text content. After the onload event completes the child DOM
|
||||
element node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
|
||||
function deleteChildNodes() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
that contains text content. After the onload event completes the CSS 'display'
|
||||
property of the child DOM element node is changed to display="none".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
|
||||
function hideElement() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
node that contains text content. After the onload event completes the CSS 'display'
|
||||
property of the child DOM element node is changed to display="none".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
|
||||
function hideElement() {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
the CSS 'visibility' property of the child DOM element node is changed
|
||||
to visibility="hidden".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
|
||||
function hideElement() {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
event completes the CSS 'visibility' property of the child DOM element
|
||||
node is changed to visibility="hidden".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
|
||||
function hideElement() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
the element has a child DOM text node with content. After the
|
||||
aria-live attribute is added, the child DOM text node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
|
||||
function deleteChildNodes() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
and the element has a child DOM text node with content. After the
|
||||
aria-live attribute is added, the child DOM text node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
a child DOM element node that contains text content. After the aria-live
|
||||
attribute is added, the child DOM element node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
a child DOM element node that contains text content. After the aria-live
|
||||
attribute is added, the child DOM element node is deleted.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function deleteChildNodes() {
|
||||
var node = document.getElementById('TEST_ID_1');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
attribute is added, the CSS 'display' property of the child DOM element
|
||||
node is changed to display="none".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function hideElement() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
attribute is added, the CSS 'display' property of the child DOM element
|
||||
node is changed to display="none".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function hideElement() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
After the aria-live attribute is added, the CSS 'visibility' property
|
||||
of the child DOM element node is changed to visibility="hidden".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function hideElement() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
After the aria-live attribute is added, the CSS 'visibility' property
|
||||
of the child DOM element node is changed to visibility="hidden".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function hideElement() {
|
||||
var node = document.getElementById('TEST_ID_2');
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>A <div> with role "button" followed by a modification to the value of "checkbox".</title>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function changeRole (/* Element */ element, /* String */ newRole) {
|
||||
element.setAttribute ('role', newRole);
|
||||
element.innerHTML = "This <div> has role '" + newRole + "'";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>A <div> with role "button" followed by removal of the element and its children and an insertion of a new div having role="checkbox"</title>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function changeRoleByRemoval (/* Element */ element, /* String */ newRole) {
|
||||
var parent = element.parentNode;
|
||||
if (parent) {
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>In a <div> element with role="combobox" and aria-autocomplete="none", change values of the combobox by typing.</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
.hasFocus { border: 2px solid red; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var DEL = 8;
|
||||
var BACK_SPACE = 72;
|
||||
var comboInfo = {};
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>In a <div> element with role="combobox" and aria-autocomplete="inline", change values of the combobox by adjusting the up and down arrow keys with focus on the textfield in the combobox.</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
.hasFocus { border: 2px solid red; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var UP = 38;
|
||||
var DOWN = 40;
|
||||
comboInfo = {};
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>In a <div> element with role="combobox" and aria-autocomplete="both", change values of the combobox by adjusting the up and down arrow keys with focus on the textfield in the combobox.</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
.hasFocus { border: 2px solid red; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var UP = 38;
|
||||
var DOWN = 40;
|
||||
comboInfo = {};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>A div element with style="display:none" has aria-hidden="true", and then script sets style to "display: block".</title>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function replaceStyle (/* Element */ element, /* String */ selector, /* String */ newValue) {
|
||||
element.setAttribute ('style', selector + ':' + newValue);
|
||||
if (newValue == 'block')
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>ARIA 1.0 Live Region Event Test Case: Add text content</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
<style>
|
||||
div#TEST_ID {
|
||||
margin: 0.5em;
|
||||
padding: 0.25em;
|
||||
|
@ -42,7 +42,7 @@
|
|||
</dl>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function tryAgain() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>ARIA 1.0 Live Region Event Test Case: Delete text content</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
<style>
|
||||
div#TEST_ID {
|
||||
margin: 0.5em;
|
||||
padding: 0.25em;
|
||||
|
@ -44,7 +44,7 @@
|
|||
</dl>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function tryAgain() {
|
||||
addText()
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>ARIA 1.0 Live Region Event Test Case: Change text content</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
<style>
|
||||
div#TEST_ID {
|
||||
margin: 0.5em;
|
||||
padding: 0.25em;
|
||||
|
@ -44,7 +44,7 @@
|
|||
</dl>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function tryAgain() {
|
||||
changeText('TEST TEXT 1')
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>ARIA 1.0 Live Region Event Test Case: Add text content (ALERT role)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
<style>
|
||||
div#TEST_ID {
|
||||
margin: 0.5em;
|
||||
padding: 0.25em;
|
||||
|
@ -42,7 +42,7 @@
|
|||
</dl>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function tryAgain() {
|
||||
var node = document.getElementById('TEST_ID');
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>ARIA 1.0 Live Region Event Test Case: Change text content (LOG role)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
<style>
|
||||
div#TEST_ID {
|
||||
margin: 0.5em;
|
||||
padding: 0.25em;
|
||||
|
@ -44,7 +44,7 @@
|
|||
</dl>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function tryAgain() {
|
||||
changeText('LOG ROLE TEST TEXT 1')
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>ARIA 1.0 Live Region Event Test Case: Delete text content (STATUS role)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
<style>
|
||||
div#TEST_ID {
|
||||
margin: 0.5em;
|
||||
padding: 0.25em;
|
||||
|
@ -44,7 +44,7 @@
|
|||
</dl>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function tryAgain() {
|
||||
addText()
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
label:before { content: "foo"; }
|
||||
label:after { content: "baz"; }
|
||||
</style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
label:before { content: "foo "; }
|
||||
label:after { content: " baz"; }
|
||||
</style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
label:before { content: "foo"; }
|
||||
label:after { content: "baz"; }
|
||||
</style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
label:before { content: "foo"; }
|
||||
label:after { content: "baz"; }
|
||||
</style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
label:before { content: "foo "; }
|
||||
label:after { content: " baz"; }
|
||||
</style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>An element with id=test and role=listbox, which is owned by a combobox</title>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
ul#test {
|
||||
list-style-type: none;
|
||||
width: 5em;
|
||||
|
@ -12,9 +12,9 @@
|
|||
margin-top: 0;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
|
||||
ul#test > li {
|
||||
margin-left -10em;
|
||||
margin-left: -10em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
role "listbox", and the value of the "aria-selected" attribute is equal
|
||||
to "true".</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function setFocus() {
|
||||
var node = document.getElementById('ID_OPTION');
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
to "true" or the attribute is undefined.</p>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function setFocus() {
|
||||
var test_node = document.getElementById('ID_OPTION');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<p>For an element with role "option" which is a child of an element with role "listbox",
|
||||
and the value of the "aria-selected" attribute changes (from "true", or to "true").</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function changeSelectedState() {
|
||||
var test_node = document.getElementById('TEST_ID');
|
||||
var state = test_node.getAttribute('aria-selected');
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
</ul>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function setFocus() {
|
||||
var node = document.getElementById('ID_TARGET');
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
and aria-activedescendant set to the id of the first option for which an
|
||||
assistive technology or API test tool requests to move focus to option 2.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function setFocus() {
|
||||
var node = document.getElementById('ID_LISTBOX');
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<h3>AXAPI</h3>
|
||||
<p>AXSelected:Yes on option 2 and 3 and AXSelected:No on option 1 and 4</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function setFocus() {
|
||||
var node = document.getElementById('ID_TARGET');
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<h3>AXAPI</h3>
|
||||
<p>AXSelected:Yes on option 2 and 3 and AXSelected:No on option 1 and 4</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function clearSelection() {
|
||||
myVar=setTimeout(function(){var node = document.getElementById('ID_TARGET');node.setAttribute("aria-selected","false");} ,3000)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html><head>
|
||||
<title>ARIA 1.0 Test Case: Listbox role with multiseclect</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
<style>
|
||||
[aria-selected="true"] { font-weight: bold; }
|
||||
</style>
|
||||
</head>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<h3>AXAPI</h3>
|
||||
<p>AXSelected:Yes on option 2 and 3 and AXSelected:No on option 1 and 4</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
/*
|
||||
function setSelection() {
|
||||
var node = document.getElementById('ID_TARGET');
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html><head>
|
||||
<title>ARIA 1.0 Test Case: Listbox role with multiseclect</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
<style>
|
||||
div[aria-selected="true"] {color:white;background-color:black;}
|
||||
</style>
|
||||
</head>
|
||||
|
@ -15,7 +15,7 @@
|
|||
<div role="option" aria-selected="false" id="ID3" onmousedown="handle2(event)">Option 3 (test for shift click selected)</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function handle1(e) {
|
||||
var node=document.getElementById('ID1');
|
||||
node.focus();
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
|
||||
function setFocus() {
|
||||
var node = document.getElementById('ID_TARGET');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue