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

Intent to unship: ::-moz-math-anonymous.

62 views
Skip to first unread message

Emilio Cobos Álvarez

unread,
Feb 21, 2018, 7:31:19 AM2/21/18
to dev-pl...@lists.mozilla.org
Hi,

In bug 1439837 I intend to remove access to the ::-moz-math-anonymous
pseudo-element.

This is a Gecko-only pseudo-element that is there since the initial
Gecko export, and is only used to get a style inheriting from another
one for some MathML characters, so it has no good reason to be exposed
to the web at all.

I'm not aware of anything or anyone using it apart from us.

-- Emilio

Tantek Çelik

unread,
Feb 21, 2018, 1:03:24 PM2/21/18
to Emilio Cobos Álvarez, dev-pl...@lists.mozilla.org
SGTM. I did not find any references on MDN, so nothing to update there AFAIK.

However with a broader web search I found https://gist.github.com/yields/6648240

Is ::-moz-math-anonymous special? (last of its kind?) Or would the
same reasoning apply to removing access to ::-moz-math-stretchy or any
of the others in that list? Or is that just an out-of-date list that
we can ignore?

Thanks,

Tantek

P.S. I also found moz-math-anonymous on
http://mdn.beonex.com/en/CSS_Reference/Mozilla_Extensions.html#Pseudo-elements_and_pseudo-classes
but that seems to just be an out-of-date copy of
https://developer.mozilla.org/en-US/docs/Web/CSS/Mozilla_Extensions#Pseudo-elements_and_pseudo-classes
which already removed the -moz-math- pseudos.
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

Emilio Cobos Álvarez

unread,
Feb 21, 2018, 1:08:15 PM2/21/18
to dev-pl...@lists.mozilla.org

On 02/21/2018 07:02 PM, Tantek Çelik wrote:
> SGTM. I did not find any references on MDN, so nothing to update there AFAIK.
>
> However with a broader web search I found https://gist.github.com/yields/6648240
>
> Is ::-moz-math-anonymous special? (last of its kind?) Or would the
> same reasoning apply to removing access to ::-moz-math-stretchy or any
> of the others in that list? Or is that just an out-of-date list that
> we can ignore?

Looks out of date to me. ::-moz-math-stretchy was removed four years ago
in https://bugzilla.mozilla.org/show_bug.cgi?id=1000879.

Frédéric Wang

unread,
Feb 21, 2018, 3:13:26 PM2/21/18
to Emilio Cobos Álvarez, dev-pl...@lists.mozilla.org
On 21/02/2018 19:07, Emilio Cobos Álvarez wrote:
>
> On 02/21/2018 07:02 PM, Tantek Çelik wrote:
>> SGTM. I did not find any references on MDN, so nothing to update there
>> AFAIK.
>>
>> However with a broader web search I found
>> https://gist.github.com/yields/6648240
>>
>> Is ::-moz-math-anonymous special? (last of its kind?) Or would the
>> same reasoning apply to removing access to ::-moz-math-stretchy or any
>> of the others in that list? Or is that just an out-of-date list that
>> we can ignore?
>
> Looks out of date to me. ::-moz-math-stretchy was removed four years ago
> in https://bugzilla.mozilla.org/show_bug.cgi?id=1000879.

Hi Emilio,

IIRC, ::-moz-math-stretchy was the only MathML pseudo element that was
publicly documented but it's no longer needed now that people can just
use font-family and/or the font preference menu to select a math font.
It should be safe to stop exposing -moz-math-anonymous and
-moz-mathml-anonymous-block, if we do.

--
Frédéric Wang - frederic-wang.fr

Frédéric Wang

unread,
Feb 21, 2018, 3:14:02 PM2/21/18
to Emilio Cobos Álvarez, dev-pl...@lists.mozilla.org
On 21/02/2018 19:07, Emilio Cobos Álvarez wrote:
>
> On 02/21/2018 07:02 PM, Tantek Çelik wrote:
>> SGTM. I did not find any references on MDN, so nothing to update there
>> AFAIK.
>>
>> However with a broader web search I found
>> https://gist.github.com/yields/6648240
>>
>> Is ::-moz-math-anonymous special? (last of its kind?) Or would the
>> same reasoning apply to removing access to ::-moz-math-stretchy or any
>> of the others in that list? Or is that just an out-of-date list that
>> we can ignore?
>
> Looks out of date to me. ::-moz-math-stretchy was removed four years ago
> in https://bugzilla.mozilla.org/show_bug.cgi?id=1000879.

Emilio Cobos Álvarez

unread,
Feb 21, 2018, 3:20:19 PM2/21/18
to Frédéric Wang, dev-pl...@lists.mozilla.org
Thanks for confirming that Fred!

Just for the record, ::-moz-mathml-anonymous-block is already not
exposed, since it's an anonymous box. This looks to be the case since
https://bugzilla.mozilla.org/show_bug.cgi?id=377824.

-- Emilio
0 new messages