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

Fix WPT CSS Counters style containment tests #41820

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Sep 5, 2023

As per:
https://drafts.csswg.org/css-contain/#example-6932a400
and
w3c/csswg-drafts#9116
counter() and counters() can cross the style containment boundary
and the first counter-increment will create a counter, that will be
inherited by its siblings, so class="contain" element will have a
counter from its previous sibling, and counters() inside
the style containment scopes will have access to this counter.

Bug: 990657
Reviewed-on: https://chromium-review.googlesource.com/4839207
WPT-Export-Revision: 4ead277cddb50a1adb53cb4b5d76046d1d7bcde9

As per:
https://drafts.csswg.org/css-contain/#example-6932a400
and
w3c/csswg-drafts#9116
counter() and counters() can cross the style containment boundary
and the first counter-increment will create a counter, that will be
inherited by its siblings, so class="contain" element will have a
counter from its previous sibling, and counters() inside
the style containment scopes will have access to this counter.

Bug: 990657
Change-Id: I9ff784577d37b7a936e96a21548006b8b0d7848d
Copy link
Collaborator

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

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.

@tabatkins tabatkins merged commit c3a09eb into master Sep 29, 2023
21 checks passed
@tabatkins tabatkins deleted the chromium-export-cl-4839207 branch September 29, 2023 22:06
jonathan-j-lee added a commit to jonathan-j-lee/wpt that referenced this pull request Oct 2, 2023
This is a dummy PR for the Chromium WPT importer to recognize web-platform-tests#41820 as
an exported Chromium commit. The importer doesn't see `Change-Id` in the
upstream WPT commit message, so it tries to apply the patch again, even
though it's already merged.

Change-Id: I9ff784577d37b7a936e96a21548006b8b0d7848d
Lightning00Blade pushed a commit to Lightning00Blade/wpt that referenced this pull request Dec 11, 2023
Co-authored-by: Daniil Sakhapov <sakhapov@chromium.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants