Re: Can we remove nsIEntityConverter?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Can we remove nsIEntityConverter?

Karl Tomlinson-4
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?
_______________________________________________
dev-tech-mathml mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-mathml
Reply | Threaded
Open this post in threaded view
|

Re: Can we remove nsIEntityConverter?

Frédéric WANG
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
_______________________________________________
dev-tech-mathml mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-mathml
Reply | Threaded
Open this post in threaded view
|

Re: Can we remove nsIEntityConverter?

David Carlisle
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.

________________________________
_______________________________________________
dev-tech-mathml mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-mathml
Reply | Threaded
Open this post in threaded view
|

Re: Can we remove nsIEntityConverter?

ckrgrimwaireseries2015
In reply to this post by Karl Tomlinson-4
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.
_______________________________________________
dev-tech-mathml mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-mathml