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

Implicit values of boolean attributes #33

Closed
fred-wang opened this issue Feb 22, 2019 · 4 comments
Closed

Implicit values of boolean attributes #33

fred-wang opened this issue Feb 22, 2019 · 4 comments
Labels
css / html5 Issues related to CSS or HTML5 interoperability MathML Core Issues affecting the MathML Core specification MathML 4 Issues affecting the MathML 4 specification

Comments

@fred-wang
Copy link

The proposal was to consider supporting syntax <mo largeop stretchy> instead of <mo largeop="true" stretchy="true"> for compatibility with HTML5. However, MathML takes default value from the operator dictionary, so it's probably an invalid request.

"MathML boolean attributes take value "true" and "false". In HTML5,
the boolean value is given by the presence/absence of the attribute and
the only allowed value is the name of the attribute. This allows to get
more compact syntax like instead of . However, Web engines and authoring
tools will continue to support the true/false syntax anyway, so it's
probably not worth adding complexity here...

https://www.w3.org/TR/html5/infrastructure.html#boolean-attributes"

(original report: https://lists.w3.org/Archives/Public/www-math/2016Aug/0000.html)

@fred-wang fred-wang added MathML Core Issues affecting the MathML Core specification MathML 4 Issues affecting the MathML 4 specification css / html5 Issues related to CSS or HTML5 interoperability labels Feb 22, 2019
@dani31415
Copy link

Perhaps there are two specifications XML-MathML and HTML-MathML. People are using MathML as a XML format in some contexts DITA and others.

@physikerwelt
Copy link
Member

discussed in the telco on 2019-02-25:

  • seems to be impossible / incompatible with HTML

@fred-wang
Copy link
Author

closing

@fred-wang
Copy link
Author

Resolution:
#33 (comment)

Specification: N/A

Implementation: N/A

Polyfill: N/A

Tests: N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css / html5 Issues related to CSS or HTML5 interoperability MathML Core Issues affecting the MathML Core specification MathML 4 Issues affecting the MathML 4 specification
Projects
None yet
Development

No branches or pull requests

3 participants