[MathML4] Removal of the menclose notation "radical"

Frédéric WANG <[email protected]> Tue, 26 Jul 2016 09:29:16 +0200
Newsgroups gmane.comp.web.mathematics
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--4mnilcEbmKKfsPI6Dvwgwitf4Gft6BSWt
Content-Type: multipart/mixed; boundary="bMIobApKa12exKWooCevGQE6UK3tlhhl2"
From: =?UTF-8?B?RnLDqWTDqXJpYyBXQU5H?= <[email protected]>
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Subject: [MathML4] Removal of the menclose notation "radical"

--bMIobApKa12exKWooCevGQE6UK3tlhhl2
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi everybody,

Continuing on proposal for MathML4, there are two equivalent notations
for square roots:

* <msqrt> child1 child2 ... child3 </msqrt>
* <menclose notation=3D"radical"> child1 child2 ... child3 </menclose>

The latter does not bring anything new but duplicate code or
inconsistencies in implementation. In WebKit, the msqrt and mroot
elements share implementation and menclose@radical was implemented by
creating anonymous nodes. In the past, this kind of implementation has
led to rendering, performance and design/security issues. During phase 1
of our refactoring [1], we thus removed support for menclose@radical. In
Gecko, the msqrt and menclose elements share implementation but then
mroot has duplicate logic, which is bad and Gecko should probably be
aligned on WebKit here.

So we would like menclose@radical to be removed in future versions of
MathML (it is optional in MathML3 anyway). We expect this removal to be
safe for the users given that (except in examples and tests) msqrt is
always preferred over menclose@radical in math documents. The only
rationale for menclose@radical would be to write overlapping notations
(e.g. <menclose notation=3D"radical circle horizontalstrike">) but again
we are not aware of any concrete use cases for that and it's always
possible to nest <msqrt> and <menclose> to get similar rendering without
overlapping notations.

Fr=C3=A9d=C3=A9ric, for the Igalia Web Platform team

[1] https://trac.webkit.org/wiki/MathML/Early_2016_Refactoring




--bMIobApKa12exKWooCevGQE6UK3tlhhl2--

--4mnilcEbmKKfsPI6Dvwgwitf4Gft6BSWt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIbBAEBCAAGBQJXlxFNAAoJEL8nnpULUzQORs0P+NbJgv4v9Diw1e6w6sdYynZu
pQ4Cju8KN2TGKQgGZdPx0jSiLwLLaKVmqVA2HTpXKl9htRHmnMv6t3UROQ8WiB28
OQxvs/H0ZjG4JCH4kaCrrSfjGOpzpfPTvYoetVIHdbBThvWR6OEJURgbGzI5yHY0
VooQ6u9RtwQabkTvTMZAptAiZMSNBFcaMosKbJv9FtYb3yPSo6BaC1t/uHBCG/vJ
a6zZo1BJB9pEBZDP3xL9GJUj5h3GSXfjPIHFIea32RYsM5kTrV4Q4ZFHV2/LppMY
TRaE4UQMtGI/zhvWieZ9yZl+kJ3lrTHsMUizbGT1KTHGiAlWntMWQeoMkz6fFjTV
80J2jox7aluvBIEFAgYtz2no5dufDvM672LMISX7FP2EPfZy9MaIUbszsTb2mAc2
rfi9ktxOc8Za7mh5hkkz7FUxoNnOPpuRWL2N5oDL0eX0N8PSzSR+/8vIP20kPkjR
TllPL/dQTuno2WjaaJRcg0zWjQJEkZnzDYfGbE2Taq/mzq7i+d86RSdDUBZ4gQID
BC1xbvX+C7XH5xBIjJOV073HIg1MbvTDye/stLSSaMGhJcbgfAQiy5/6VOokALpW
puEFw83+GEUmF7OI/WgvEyge6aAkGo7yVLck9R65/9JLUOdfbTRcixHwzNURcY9T
RfpgoJmn0dCQOC2tNEU=
=o7za
-----END PGP SIGNATURE-----

--4mnilcEbmKKfsPI6Dvwgwitf4Gft6BSWt--