forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream'
- Loading branch information
Showing
1,907 changed files
with
29,093 additions
and
17,803 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
LayoutTests/accessibility/display-none-descendant-of-relation-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
This test ensures we do not expose display:none descendants in the accessibility tree, even if they are a target of a relationship. | ||
|
||
|
||
{#div AXRole: AXGroup} | ||
|
||
{AXRole: AXGroup} | ||
|
||
{AXRole: AXStaticText AXValue: Text} | ||
|
||
{AXRole: AXButton} | ||
|
||
PASS successfullyParsed is true | ||
|
||
TEST COMPLETE | ||
Text | ||
|
||
foo |
27 changes: 27 additions & 0 deletions
27
LayoutTests/accessibility/display-none-descendant-of-relation.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | ||
<html> | ||
<head> | ||
<script src="../resources/accessibility-helper.js"></script> | ||
<script src="../resources/js-test.js"></script> | ||
</head> | ||
<body> | ||
|
||
<div style="display:contents" id="div"> | ||
<p>Text</p> | ||
<script> | ||
// Should not be announced | ||
</script> | ||
</div> | ||
<button aria-labelledby="div">foo</button> | ||
|
||
<script> | ||
var output = "This test ensures we do not expose display:none descendants in the accessibility tree, even if they are a target of a relationship.\n\n"; | ||
|
||
if (window.accessibilityController) { | ||
output += dumpAXSearchTraversal(accessibilityController.rootElement.childAtIndex(0)); | ||
debug(output); | ||
} | ||
</script> | ||
</body> | ||
</html> | ||
|
24 changes: 18 additions & 6 deletions
24
...ests/accessibility/mac/attributed-string-for-text-marker-range-using-webarea-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.