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

75 views
Skip to first unread message

Emilio Cobos Álvarez

unread,
Jan 30, 2019, 4:02:58 PM1/30/19
to 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

unread,
Jan 30, 2019, 5:07:20 PM1/30/19
to 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!
Reply all
Reply to author
Forward
0 new messages