forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify/enforce rules around child trees
* All child tree owning elements need a contentframe, whereas embed/object elements do not. * Child tree elements cannot have children until later when trees are merged in the browser process. Enforcing this showed a flaw in our shadowdom-based <fencedframe> support, where an extra nested iframe was exposed in the AX tree. The fix is that for shadowdom-based <fencedframe>s, only the child <iframe> is exposed as an iframe. The parent <fencedframe> is exposed as a group. I've altered object/embed/etc. so that if the content is not supported, then the object is marked disabled. It seems to make sense as a semantic and also enables the rest of the code cleanup -- the dump tree tests can use that as a signal to not wait for any child content. Possible follow up: - Merge kEmbedObject and kPluginObject roles. Bug: 1311759 Cq-Include-Trybots: luci.chromium.try:linux-blink-web-tests-force-accessibility-rel Change-Id: Idd66ace04e165e95b5f8593f92eb228b48380170 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3727378 Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Auto-Submit: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Nektarios Paisios <nektar@chromium.org> Reviewed-by: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/main@{#1021364}
- Loading branch information
1 parent
4918f87
commit 76dfaaa
Showing
17 changed files
with
61 additions
and
52 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
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/embed-expected-android-external.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
WebView focusable focused scrollable actions:[CLEAR_FOCUS, AX_FOCUS] bundle:[chromeRole="rootWebArea"] | ||
++View actions:[AX_FOCUS] bundle:[chromeRole="genericContainer"] | ||
++++View actions:[AX_FOCUS] bundle:[chromeRole="embeddedObject", roleDescription="object"] | ||
++++View disabled actions:[AX_FOCUS] bundle:[chromeRole="embeddedObject", roleDescription="object"] |
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/embed-expected-android.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
android.webkit.WebView focusable focused scrollable | ||
++android.view.View | ||
++++android.view.View role_description='object' | ||
++++android.view.View role_description='object' disabled |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rootWebArea | ||
++genericContainer ignored | ||
++++genericContainer | ||
++++++embeddedObject | ||
++++++embeddedObject restriction=disabled |
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/embed-expected-uia-win.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Document | ||
++Group IsControlElement=false | ||
++++Pane IsControlElement=false | ||
++++Pane IsEnabled=false IsControlElement=false |
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/fencedframe-scrollable-shadowdom-expected-blink.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
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/object-expected-android-external.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
WebView focusable focused scrollable actions:[CLEAR_FOCUS, AX_FOCUS] bundle:[chromeRole="rootWebArea"] | ||
++View actions:[AX_FOCUS] bundle:[chromeRole="genericContainer"] | ||
++++View actions:[AX_FOCUS] bundle:[chromeRole="pluginObject", roleDescription="object"] | ||
++++View disabled actions:[AX_FOCUS] bundle:[chromeRole="pluginObject", roleDescription="object"] |
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/object-expected-android.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
android.webkit.WebView focusable focused scrollable | ||
++android.view.View | ||
++++android.view.View role_description='object' | ||
++++android.view.View role_description='object' disabled |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rootWebArea | ||
++genericContainer ignored | ||
++++genericContainer | ||
++++++pluginObject | ||
++++++pluginObject restriction=disabled |
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/object-expected-uia-win.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Document | ||
++Group IsControlElement=false | ||
++++Document IsControlElement=false | ||
++++Document IsEnabled=false IsControlElement=false |
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
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/param-expected-android-external.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
WebView focusable focused scrollable actions:[CLEAR_FOCUS, AX_FOCUS] bundle:[chromeRole="rootWebArea"] | ||
++View actions:[AX_FOCUS] bundle:[chromeRole="genericContainer"] | ||
++++View actions:[AX_FOCUS] bundle:[chromeRole="pluginObject", roleDescription="object"] | ||
++++View disabled actions:[AX_FOCUS] bundle:[chromeRole="pluginObject", roleDescription="object"] |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rootWebArea | ||
++genericContainer ignored | ||
++++genericContainer | ||
++++++pluginObject | ||
++++++pluginObject restriction=disabled |
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
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