You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cover the mapping of these attributes to CSS on the <a> element. Probably, we can add more specific tests to check observable behaviors though when <a> is used though.
relations/css-styling/attribute-mapping-*.html iterate MathMLFragments, which includes a. So any tests using it are already testing it. Then, link behaviour and IDL is already covered by the anchor-*, a-* and href-* tests in relations/html5-tree that fred, luke and tannal made.
We were missing some observable behaviour reftests for the MathML attributes of a. I made PR web-platform-tests/wpt#63056 that covers mathcolor, mathbackground, mathsize and displaystyle.
In the meeting we didn’t fully understand what would happen if a MathML generator would replace all mrow elements with a elements regardless if they contained the href attribute.
As a software developer it would be more effective to use only a as this would make the source code shorter and the output (regarded as string) shorter.
Activity
fred-wang commentedon Aug 31, 2026
About the tests, @tannal mentioned this to me this morning and
https://wpt.fyi/results/mathml/relations/css-styling/attribute-mapping-001.html
https://wpt.fyi/results/mathml/relations/css-styling/attribute-mapping-002.html
cover the mapping of these attributes to CSS on the
<a>element. Probably, we can add more specific tests to check observable behaviors though when<a>is used though.eerii commentedon Sep 29, 2026
relations/css-styling/attribute-mapping-*.htmliterate MathMLFragments, which includesa. So any tests using it are already testing it. Then, link behaviour and IDL is already covered by theanchor-*,a-*andhref-*tests inrelations/html5-treethat fred, luke and tannal made.We were missing some observable behaviour reftests for the MathML attributes of
a. I made PR web-platform-tests/wpt#63056 that coversmathcolor,mathbackground,mathsizeanddisplaystyle.mathml: Add tests for MathML style attributes on the <a> element
mathml: Add tests for MathML style attributes on the <a> element
physikerwelt commentedon Sep 30, 2026
In the meeting we didn’t fully understand what would happen if a MathML generator would replace all mrow elements with a elements regardless if they contained the href attribute.
As a software developer it would be more effective to use only a as this would make the source code shorter and the output (regarded as string) shorter.
Bug 2076506 [wpt PR 63056] - mathml: Add tests for MathML style attri…
Bug 2076506 [wpt PR 63056] - mathml: Add tests for MathML style attri…