Skip to content

[focusgroup] Align ParseFocusgroup with latest spec draft - #60231

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-f4cf4b0587
May 28, 2026
Merged

[focusgroup] Align ParseFocusgroup with latest spec draft#60231
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-f4cf4b0587

Conversation

@chromium-wpt-export-bot

Copy link
Copy Markdown
Collaborator

Align the focusgroup attribute parsing with the formal "determine the
focusgroup state" algorithm defined in the HTML spec PR:
whatwg/html#11723.

With this change, "none" and the behavior token can appear at any
position. Before, the these were required to be the first token or
parsing would fire an error.

Bug: 4021071
Change-Id: Ic258d4fc39f9850c5cabac2b4afa0dbcf6c32d95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7871960
Commit-Queue: Jacques Newman <janewman@microsoft.com>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1637192}

Align the focusgroup attribute parsing with the formal "determine the
focusgroup state" algorithm defined in the HTML spec PR:
whatwg/html#11723.

With this change, "none" and the behavior token can appear at any
position. Before, the these were required to be the first token or
parsing would fire an error.

Bug: 4021071
Change-Id: Ic258d4fc39f9850c5cabac2b4afa0dbcf6c32d95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7871960
Commit-Queue: Jacques Newman <janewman@microsoft.com>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1637192}
@chromium-wpt-export-bot
chromium-wpt-export-bot marked this pull request as ready for review May 28, 2026 03:53

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot
chromium-wpt-export-bot merged commit ea921fe into master May 28, 2026
24 checks passed
@chromium-wpt-export-bot
chromium-wpt-export-bot deleted the chromium-export-f4cf4b0587 branch May 28, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants