Re: [MathML4] Removal of the menclose notation "radical"
Frédéric WANG <[email protected]> Tue, 26 Jul 2016 15:25:02 +0200
| Newsgroups | gmane.comp.web.mathematics |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pdAdg93TrdX0MLjQ2XPepbhDHrReqDmDJ Content-Type: multipart/mixed; boundary="tfx9RIGjRxOGT25I51gKV0G1DR60vkAWP" From: =?UTF-8?B?RnLDqWTDqXJpYyBXQU5H?= <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: Re: [MathML4] Removal of the menclose notation "radical" References: <[email protected]> <CALozgsiz9RS48-wZW+c0_d52_F+gGuv2DE+Dh2V_4xdqLnFwQA@mail.gmail.com> In-Reply-To: <CALozgsiz9RS48-wZW+c0_d52_F+gGuv2DE+Dh2V_4xdqLnFwQA@mail.gmail.com> --tfx9RIGjRxOGT25I51gKV0G1DR60vkAWP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 26/07/2016 =C3=A0 14:06, Stephen Watt a =C3=A9crit : > I don't see why there would be inconsistencies in implementation. A > reasonable developer would just have <msqrt> call the same code as > <menclose notation=3D"radical">. =20 It depends what you mean by "call the same code". Also note that mroot has similar layout but some differences (more parameters for the index, only two children and no inferred mrow). In WebKit, msqrt & mroot share the same C++ class. In the past, the code of msqrt was reused for menclose by creating anonymous nodes which caused complaints from Google at the time they review it and will make things even worse now that they are moving to stricter rules for their layout classes. Fortunately menclose@notation was removed so it's no longer an issue. In Gecko, msqrt & menclose share the same C++ class. At the moment it does not share code with mroot so there are duplicate logic which may lead to potential inconsistencies. Personally, I would say it's best to share msqrt / mroot implementations as they have clear and simple rules to perform the layout. menclose has many notations, must handle multiple notations at the same time and is more complex, so merging it into msqrt (as done is Gecko) makes the code less readable. Fr=C3=A9d=C3=A9ric PS: Some developers will be happy to know that they are "unreasonable": https://github.com/mathjax/MathJax/issues/101 --tfx9RIGjRxOGT25I51gKV0G1DR60vkAWP-- --pdAdg93TrdX0MLjQ2XPepbhDHrReqDmDJ 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 iQIcBAEBCAAGBQJXl2SuAAoJEL8nnpULUzQOPaYP/2ckFK0tVdNpDOLuvoYClFCx yez3dsA5Iq71T3Pa5+oiXzKDGablNqNtN0oCtJGsUlpkWoXTd1rvw0ftY/zAQEuU jNjNJyr24F9EGZumrYa8T3s723/ieV4/X8rZTMIEEzaUvIfC7fQyUQpx9cF3sCyZ +RhzW7haGWjXyOLJAAAbQfH1rAr2C4OkOP92BnQL+SAfw5bVHRi9ti/1Tp/HFFNo TDEiW8lxg24UWgHXp1tQVipJBLXh+N0g5yKv1E0D+FL4EVNcMG8Xt4jaaVU+m86L t8oxgvz8heTtGy2k+ACgmDOUdkYFUNzG4wK0NJqoFvmoaAWPqCt5XbC/lxHq6Y+f lKTL24z5KT+vMxc+YRcO+oYjR5MohXHA17nI465dJTvtfOAQUo4B/YE6zIWvUkRp 9s8+We6AQ9FaqaEKuJJWVLbLK9tfPfvlrQbMhoerRHA3NytgNGFcDx5BbKIAmLjK aDB31OHWDDpf1k2VZx/KYH25dDwoTdcu7yxAihNQQAJxhv2wFD2u4quCDk/80s1P G/aRoD0BxhaCHlxQoNQ75aG53lzBkCuBPTMkgfByi1MJlNrnao09QM9FihAT29iV FhJ6Hi5LSGd+wbG0IRlgJkUeLuE+uaf0JLzouXxP+p3ZVSowpqEyMiv5BvttH+No BXJSsBBJ+JpOg0qzY4Rw =caVf -----END PGP SIGNATURE----- --pdAdg93TrdX0MLjQ2XPepbhDHrReqDmDJ--