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

[selectors] Improve :focus-visible tests #27000

Closed
wants to merge 1 commit into from

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

  • Change "auto" outline-style by "solid".
    These tests were using "outline-style: auto" but then
    set an outline-color. Some browsers like Firefox ignore the
    outline-color when rendering the auto style, which is allowed
    according to the spec:
    https://drafts.csswg.org/css-ui/#typedef-outline-line-style
  • Now we have one test per element, so we have more detailed
    PASS/FAIL information. We also check that all test conditions
    (outline and background colors) are right.
  • focus-visible-004.html actually set "appearance: none".
    So elements that are hidden now and not focusable
    (radio button and checkbox) are removed.
  • focus-visible-007.html is not modified as it has more problems
    (see crbug.com/976438).

Change-Id: I616aa23ec623391b521d4d4eda90e914496bf074

Reviewed-on: https://chromium-review.googlesource.com/2596079
WPT-Export-Revision: 3ab57cd9169628df7d19a02155eb7d6b5a048ddf

* Change "auto" outline-style by "solid".
  These tests were using "outline-style: auto" but then
  set an outline-color. Some browsers like Firefox ignore the
  outline-color when rendering the auto style, which is allowed
  according to the spec:
  https://drafts.csswg.org/css-ui/#typedef-outline-line-style
* Now we have one test per element, so we have more detailed
  PASS/FAIL information. We also check that all test conditions
  (outline and background colors) are right.
* focus-visible-004.html actually set "appearance: none".
  So elements that are hidden now and not focusable
  (radio button and checkbox) are removed.
* focus-visible-007.html is not modified as it has more problems
  (see crbug.com/976438).

Change-Id: I616aa23ec623391b521d4d4eda90e914496bf074
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.

@mrego
Copy link
Member

mrego commented Jan 12, 2021

The Chromium CL has been abandoned as this was done in #27032

@mrego mrego closed this Jan 12, 2021
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

3 participants