Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

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

瀏覽次數:79 次
跳到第一則未讀訊息

Emilio Cobos Álvarez

未讀,
2019年1月30日 下午4:02:582019/1/30
收件者: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

未讀,
2019年1月30日 下午5:07:202019/1/30
收件者: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!
0 則新訊息