Bug 1539265 - Add ::marker to the list of suggested pseudo selectors. r=jdescottes
authorIan Moody <moz-ian@perix.co.uk>
Tue, 02 Apr 2019 07:46:09 +0000
changeset 467546 98af58faaa11f32a300e37f59895f0f3df4b5ed4
parent 467545 0b3e62a777486501d1cacc894f3838260ad5d27b
child 467547 32d6fbf8449a5643516c47f551b0f8f15f99a4c4
push id112633
push usercbrindusan@mozilla.com
push dateTue, 02 Apr 2019 15:52:18 +0000
treeherdermozilla-inbound@a6c6359636f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes
bugs1539265
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1539265 - Add ::marker to the list of suggested pseudo selectors. r=jdescottes For autocompletion of : in selector contexts, like the Style Editor. Differential Revision: https://phabricator.services.mozilla.com/D25110
devtools/server/actors/inspector/walker.js
--- a/devtools/server/actors/inspector/walker.js
+++ b/devtools/server/actors/inspector/walker.js
@@ -83,16 +83,17 @@ const PSEUDO_SELECTORS = [
   [":last-child", 2],
   [":root", 0],
   [":empty", 0],
   [":target", 0],
   [":enabled", 0],
   [":disabled", 0],
   [":checked", 1],
   ["::selection", 0],
+  ["::marker", 0],
 ];
 
 const HELPER_SHEET = "data:text/css;charset=utf-8," + encodeURIComponent(`
   .__fx-devtools-hide-shortcut__ {
     visibility: hidden !important;
   }
 
   :-moz-devtools-highlighted {