Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avm2: Properly implement Stage.tabChildren #16608

Merged
merged 6 commits into from
Jun 7, 2024

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented Jun 5, 2024

Related to #5443. Fixes #16589.

Turns out that Stage.tabChildren's behavior is a bit strange, because it always returns true, but when its value is set, it's propagated to the root movie.

Covered by avm2/tab_ordering_stage_tab_children.

Additionally added "Tab children enabled" to debug UI.

@kjarosh kjarosh added A-avm2 Area: AVM2 (ActionScript 3) waiting-on-review Waiting on review from a Ruffle team member labels Jun 5, 2024
@kjarosh kjarosh force-pushed the stage-tab-children branch 3 times, most recently from 72c9042 to 1265c22 Compare June 5, 2024 23:13
kjarosh added 6 commits June 7, 2024 23:53
Stage.tabChildren does not modify the value of tabChildren of the stage,
but rather sets the tabChildren of the root movie.
This test verifies the behavior of Stage.tabChildren.
This test verifies how Stage.tabChildren behaves
when the root movie is removed.
@Dinnerbone Dinnerbone force-pushed the stage-tab-children branch from 1265c22 to 36fe419 Compare June 7, 2024 21:53
@Dinnerbone Dinnerbone merged commit 7e0f2de into ruffle-rs:master Jun 7, 2024
17 checks passed
@kjarosh kjarosh removed the waiting-on-review Waiting on review from a Ruffle team member label Jun 12, 2024
@kjarosh kjarosh deleted the stage-tab-children branch June 12, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3)
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

HitBox: Tab key should not highlight items on the stage
2 participants