Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Can we remove nsIEntityConverter?

46 views
Skip to first unread message

Karl Tomlinson

unread,
May 1, 2016, 6:04:48 PM5/1/16
to
Cross-posting to mozilla.dev.tech.mathml so that this is seen by
people who are interested.

Please follow-up to mozilla.dev.platform.

Henri Sivonen writes:

> We ship data tables for converting from Unicode to HTML entities.
> These tables obviously take space. (They are not optimized for space
> usage, either.) As far as I can tell, these tables are not used at all
> in Fennec. In desktop Firefox, these data tables are used only for the
> MathML View Source feature.
>
> Additionally, a subset of the tables is used by some XPCOM-based
> extensions, but those extensions seem to be obsolete or abandoned or
> don't seem to be using the feature for a very good reason.
>
> These data tables are not exposed to the Web Platform.
>
> In https://bugzilla.mozilla.org/show_bug.cgi?id=1048191 I proposed
> removing this for mobile only, but how about we just remove this
> altogether in order to make both Fennec and desktop Firefox smaller?

Frédéric Wang

unread,
May 2, 2016, 2:46:18 AM5/2/16
to dev-pl...@lists.mozilla.org, Mozilla Math Developers
Le 01/05/2016 02:16, smaug a écrit :
> What would source view for mathml look like if we removed
> nsIEntityConverter?

AFAIK, the only point is to replace things like "∑" with "∑"
in order to make it more readable. However, with appropriate fonts
installed I think reading "∑" is also fine.

Le 30/04/2016 12:25, Henri Sivonen a écrit :
> In desktop Firefox, these data tables are used only for the
> MathML View Source feature.

Personally, I don't really use this feature, as I find the DOM inspector
or the "MathML Copy" add-on (*) more convenient to check or copy a
MathML formula.

I guess we can move this feature from the Desktop front-end to a
separate Add-on (that could potentially work on mobile too in the
future). However, I can't speak for the users. Maybe we should write to
the Math WG mailing list in order to get more feedback.

(*) https://addons.mozilla.org/en-US/firefox/addon/mathml-copy/

--
Frédéric Wang

David Carlisle

unread,
May 2, 2016, 6:06:10 AM5/2/16
to dev-tec...@lists.mozilla.org
On 02/05/2016 07:45, Frédéric Wang wrote:
> Le 01/05/2016 02:16, smaug a écrit :
>> What would source view for mathml look like if we removed
>> nsIEntityConverter?
>
> AFAIK, the only point is to replace things like "∑" with "∑"
> in order to make it more readable. However, with appropriate fonts
> installed I think reading "∑" is also fine.
>
> Le 30/04/2016 12:25, Henri Sivonen a écrit :
>> In desktop Firefox, these data tables are used only for the
>> MathML View Source feature.
>
> Personally, I don't really use this feature, as I find the DOM inspector
> or the "MathML Copy" add-on (*) more convenient to check or copy a
> MathML formula.
>
> I guess we can move this feature from the Desktop front-end to a
> separate Add-on (that could potentially work on mobile too in the
> future). However, I can't speak for the users. Maybe we should write to
> the Math WG mailing list in order to get more feedback.
>
> (*) https://addons.mozilla.org/en-US/firefox/addon/mathml-copy/
>

I would support not writing these things out using the named entities,
the fragments using ∑ etc are not well formed unless re-incorporated
into a document using a DTD which catches people out often as not.

David

________________________________


The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is:

Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.



This e-mail has been scanned for all viruses by Microsoft Office 365.

________________________________

ckrgrimwair...@gmail.com

unread,
May 11, 2017, 7:31:56 PM5/11/17
to
Karl,

When the email was written at Tandy Leather the email address was entered and never sent. It was erased and archived and the archive was erased. At the time I was being threatened I changed the "a" in the first word to "e"
I hope this helps you. There was also chatter on the web about a new Google Chrome but I think the guys were either messing with me cause I saw it or they were messing with each other. Neither implimented it.
0 new messages