B2G/gecko/browser/devtools/styleinspector/CssLogic.jsm
/**
   * Retrieve the pseudo-elements that we support. This list should match the
   * elements specified in layout/style/nsCSSPseudoElementList.h
   */
Retrieve the pseudo-elements that we support. This list should match the
elements specified in layout/style/nsCSSPseudoElementList.h
Retrieve the pseudo - elements that we support . This list should match the elements specified in layout / style / nsCSSPseudoElementList . h
get pseudoElements()
  {
    if (!CssSelector._pseudoElements) {
      let pseudos = CssSelector._pseudoElements = new Set();
      pseudos.add("after");
      pseudos.add("before");
      pseudos.add("first-letter");
      pseudos.add("first-line");
      pseudos.add("selection");
      pseudos.add("-moz-focus-inner");
      pseudos.add("-moz-focus-outer");
      pseudos.add("-moz-list-bullet");
      pseudos.add("-moz-list-number");
      pseudos.add("-moz-math-anonymous");
      pseudos.add("-moz-math-stretchy");
      pseudos.add("-moz-progress-bar");
      pseudos.add("-moz-selection");
    }
    return CssSelector._pseudoElements;
  }
get pseudoElements ( ) { if ( ! CssSelector . _pseudoElements ) { let pseudos = CssSelector . _pseudoElements = new Set ( ) ; pseudos . add ( "after" ) ; pseudos . add ( "before" ) ; pseudos . add ( "first-letter" ) ; pseudos . add ( "first-line" ) ; pseudos . add ( "selection" ) ; pseudos . add ( "-moz-focus-inner" ) ; pseudos . add ( "-moz-focus-outer" ) ; pseudos . add ( "-moz-list-bullet" ) ; pseudos . add ( "-moz-list-number" ) ; pseudos . add ( "-moz-math-anonymous" ) ; pseudos . add ( "-moz-math-stretchy" ) ; pseudos . add ( "-moz-progress-bar" ) ; pseudos . add ( "-moz-selection" ) ; } return CssSelector . _pseudoElements ; }
Retrieve the pseudo-elements that we support.
Retrieve the pseudo - elements that we support .