Grupy dyskusyjne Google nie obsługują już nowych postów ani subskrypcji z Usenetu. Treści historyczne nadal będą dostępne.

Intent to unship: -moz-binding CSS property from content.

79 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Emilio Cobos Álvarez

nieprzeczytany,
30 sty 2019, 16:02:5830.01.2019
do dev-pl...@lists.mozilla.org
Hi,

In bug 1523712 I intend to unship the `-moz-binding` CSS property from
content pages.

This property is used to attach an XBL binding to an element, and it's
pretty much useless already in content because we don't allow to attach
XBL bindings to most elements already if not coming from a chrome
stylesheet:


https://searchfox.org/mozilla-central/rev/78cd247b5d7a08832f87d786541d3e2204842e8e/dom/xbl/nsXBLService.cpp#855

This effectively removes the property from the OM and makes @supports
(-moz-binding: url(foo)) start evaluating to false / not parsing.

Let me know if there's any concern with this, but with privileged
in-content XBL already gone, it seems worth trying to do this sooner
rather than later.

It is behind a pref (layout.css.moz-binding.content.enabled) just in
case, and because we still need it for tests.

Let me know if there's any concern with this.

-- Emilio

Cameron McCormack

nieprzeczytany,
30 sty 2019, 17:07:2030.01.2019
do dev-pl...@lists.mozilla.org
On Thu, Jan 31, 2019, at 8:03 AM, Emilio Cobos Álvarez wrote:
> In bug 1523712 I intend to unship the `-moz-binding` CSS property from
> content pages.

Sounds good to me, thanks!
Nowe wiadomości: 0