gecko-dev/browser/components/customizableui/content/jar.mn
Brian Grinstead 9a1ef58567 Bug 1507875 - Remove the customizable ui toolbarpaletteitem binding;r=Gijs
This removes the wrapping box inside the anonymous content, and replaces
the anonymous label with an ::after CSS rule that sets text based on
the [title] attribute.

Because it doesn't replicate the anonymous wrapping box with light DOM:
- Calling JS don't need to be updated (the child added via appendChild
  is still a direct descendant of the element).
- Many CSS selectors don't need to be updated (if they were targeting the
  slotted children as direct descendants. However, CSS selectors that were
  targeting the anonymous content directly do need to be updated, since those
  nodes are removed.

Differential Revision: https://phabricator.services.mozilla.com/D12172

--HG--
extra : moz-landing-system : lando
2018-11-20 17:01:48 +00:00

6 lines
257 B
Text

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
browser.jar:
content/browser/customizableui/panelUI.js