Skip to content

Commit 172078b

Browse files
committed
2 parents 13a38db + ab70b0f commit 172078b

File tree

276 files changed

+4708
-972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+4708
-972
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Reference target does not support aria-owns, i.e.,the ownership is not forwarded to the referenced element.
2+
3+
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4+
5+
6+
PASS: group.isAttributeSupported('AXOwns') === true
7+
PASS: group.childrenCount === 2
8+
PASS: group.ariaOwnsElementAtIndex(0).domIdentifier === 'shadow-host'
9+
PASS: group.childAtIndex(1).domIdentifier === 'shadow-host'
10+
11+
PASS successfullyParsed is true
12+
13+
TEST COMPLETE
14+
Item 1
15+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE HTML><!-- webkit-test-runner [ ShadowRootReferenceTargetEnabledForAriaOwns=false ] -->
2+
<html>
3+
<head>
4+
<script src="../../../../resources/accessibility-helper.js"></script>
5+
<script src="../../../../resources/js-test.js"></script>
6+
</head>
7+
<body>
8+
<div id="group" role="group" aria-owns="shadow-host">
9+
<span id="light-span" role="button">Item 1</span>
10+
</div>
11+
12+
<!-- The role is present to ensure this element is not ignored for accessibility. -->
13+
<fancy-span id="shadow-host" role="button">
14+
<template shadowrootmode="closed" shadowrootreferencetarget="inner-span">
15+
<span id="inner-span" role="button">Inner span</span>
16+
</template>
17+
</fancy-span>
18+
19+
<script>
20+
description("Reference target does not support aria-owns, i.e.,the ownership is not forwarded to the referenced element.");
21+
22+
var group = accessibilityController.accessibleElementById("group");
23+
24+
let output = expect("group.isAttributeSupported('AXOwns')", "true");
25+
output += expect("group.childrenCount", "2");
26+
27+
output += expect("group.ariaOwnsElementAtIndex(0).domIdentifier", "'shadow-host'");
28+
output += expect("group.childAtIndex(1).domIdentifier", "'shadow-host'");
29+
30+
debug(output);
31+
</script>
32+
</body>
33+
</html>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Reference target does not support aria-owns, i.e.,the ownership is not forwarded to the referenced element.
2+
3+
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4+
5+
6+
PASS: group.isAttributeSupported('AXOwns') === true
7+
PASS: group.childrenCount === 2
8+
PASS: group.ariaOwnsElementAtIndex(0).domIdentifier === 'inner-span'
9+
PASS: group.childAtIndex(1).domIdentifier === 'inner-span'
10+
11+
PASS successfullyParsed is true
12+
13+
TEST COMPLETE
14+
Item 1
15+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<script src="../../../../resources/accessibility-helper.js"></script>
5+
<script src="../../../../resources/js-test.js"></script>
6+
</head>
7+
<body>
8+
<div id="group" role="group" aria-owns="shadow-host">
9+
<span id="light-span" role="button">Item 1</span>
10+
</div>
11+
12+
<!-- The role is present to ensure this element is not ignored for accessibility. -->
13+
<fancy-span id="shadow-host" role="button">
14+
<template shadowrootmode="closed" shadowrootreferencetarget="inner-span">
15+
<span id="inner-span" role="button">Inner span</span>
16+
</template>
17+
</fancy-span>
18+
19+
<script>
20+
description("Reference target does not support aria-owns, i.e.,the ownership is not forwarded to the referenced element.");
21+
22+
var group = accessibilityController.accessibleElementById("group");
23+
24+
let output = expect("group.isAttributeSupported('AXOwns')", "true");
25+
output += expect("group.childrenCount", "2");
26+
27+
output += expect("group.ariaOwnsElementAtIndex(0).domIdentifier", "'inner-span'");
28+
output += expect("group.childAtIndex(1).domIdentifier", "'inner-span'");
29+
30+
debug(output);
31+
</script>
32+
</body>
33+
</html>

LayoutTests/fast/page-color-sampling/color-sampling-fixed-container-under-subscroller.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<!DOCTYPE html> <!-- webkit-test-runner [ ContentInsetBackgroundFillEnabled=true useFlexibleViewport=true ] -->
1+
<!DOCTYPE html> <!-- webkit-test-runner [ ContentInsetBackgroundFillEnabled=true useFlexibleViewport=true AsyncOverflowScrollingEnabled=true ] -->
22
<html>
3-
<meta name="viewport" content="width=device-width, initial-scale=1">
43
<head>
54
<meta charset="utf-8">
65
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -47,6 +46,7 @@
4746
shouldBeNull("colors.left");
4847
shouldBeNull("colors.right");
4948
shouldBeNull("colors.bottom");
49+
await UIHelper.setObscuredInsets(0, 0, 0, 0);
5050
finishJSTest();
5151
});
5252
</script>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Pass

0 commit comments

Comments
 (0)