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

Miscellaneous improvements to MathML DOM tests #19534

Merged
merged 2 commits into from
Oct 7, 2019
Merged

Conversation

fred-wang
Copy link
Contributor

- Don't use asynchronous test to check MathMLElement onevent attributes.
  closes #19500
- Only test tab-navigation of MathML links when HTML links are tab-navigable.
  https://github.com/mathml-refresh/mathml/issues/152
  https://github.com/Igalia/chromium-dev/issues/50
  https://bugzilla.mozilla.org/show_bug.cgi?id=1571487#c30
@fred-wang fred-wang requested review from bkardell and rwlbuis October 5, 2019 05:39
@wpt-pr-bot
Copy link
Collaborator

There are no reviewers for this pull request besides its author. Please reach out on W3C's irc server (irc.w3.org, port 6665) on channel #testing (web client) to get help with this. Thank you!

@fred-wang
Copy link
Contributor Author

cc @bzbarsky @emilio

@@ -10,6 +10,7 @@
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<div id="log"></div>
<a tabindex="1" href="#link">tabindex(1)-html</a>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the tabindex="1" here? The mtext that's a link doesn't have that...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was to make the HTML link focused before all the other focusable MathML elements in this test. This explicit tabindex="1" does not make the link tab-navigable on macOS.

However, it's true that we actually only need that HTML link to be focused before the mtext link and removing the tabindex attribute make them more similar. So I'll to remove it.

@fred-wang fred-wang requested a review from bzbarsky October 5, 2019 08:29
Copy link
Contributor

@rwlbuis rwlbuis left a comment

Choose a reason for hiding this comment

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

LGTM.

@fred-wang fred-wang merged commit c0a3f7e into master Oct 7, 2019
@fred-wang fred-wang deleted the mathml-dom-fixes branch October 7, 2019 08:05
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.

Don't use asynchronous test to check MathMLElement onevent attributes
5 participants