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

Proposed changes for linking and tabindexing #21

Merged
merged 4 commits into from
Feb 27, 2020
Merged

Conversation

bkardell
Copy link
Collaborator

@bkardell bkardell commented Feb 11, 2020

Feel free to reject this, just trying to highlight what I think we need and where for discussion re https://github.com/mathml-refresh/mathml/issues/125 and to unblock answers for https://github.com/mathml-refresh/mathml/issues/152...

[CEReactions] attribute DOMString hreflang;
[CEReactions] attribute DOMString type;

[CEReactions] attribute DOMString text;
Copy link
Contributor

Choose a reason for hiding this comment

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

what is this? Alt text?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

from a in HTML..

a . text
Same as textContent.

@@ -0,0 +1,16 @@
[Exposed=Window]
interface MathMLLinkableElement : MathMLElement {
[CEReactions] attribute DOMString target;
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems like this should closely follow:
https://html.spec.whatwg.org/#the-link-element.
So then href may be better?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

[Exposed=Window]
interface MathMLLinkableElement : MathMLElement {
[CEReactions] attribute DOMString target;
[CEReactions] attribute DOMString download;
Copy link
Contributor

Choose a reason for hiding this comment

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

Where does this come from?

Copy link
Contributor

Choose a reason for hiding this comment

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

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.

The idl looks ok to me because it mirrors https://html.spec.whatwg.org/#htmlanchorelement.
The text property seems superflous because textContent would be similar? But I guess if it is good enough for it is good enough for MathML.
Only thing you may want to add is a constructor.

@bkardell
Copy link
Collaborator Author

Only thing you may want to add is a constructor.

Since there is no concrete element here, I think we don't want to add that. It is, effectively, an abstract base class, basically?

@bkardell bkardell merged commit 28c34c8 into w3c:master Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants