What kind of bug in Firefox?

The question text can not be less than 30
The issue has been resolved, thank you
July 9th 19 at 13:00
2 answers
July 9th 19 at 13:02
Solution
::selection-header {
 color: #fff;
 background-color: #1e1e1e;
}


After ::selection Fox then sees styles!!!
Divide ::selection and header on
::selection {
 color: #fff;
 background-color: #1e1e1e;
}

header {
 color: #fff;
 background-color: #1e1e1e;
}


P. S:
Specified, that is specified using a comma means that the rules are given and selection, and header are the same
. It is not so. Styles are specified, first the selection, and then header. And if for the first, for some reason, the styles did not pass, then the second will not work already.
Yeah already knew looked, can not share since I already yuzayu plugin for gala and all that he does. In chrome and IE everything works nice EDGE, and firefox does not see, probably just tank browser - Jedediah99 commented on July 9th 19 at 13:05
in chrome works because ::selection, Mozilla this property is not understood, for it is written ::-moz-selection. And generally such a record ::selection, header - odd, who writes styles) - Else.Mohr32 commented on July 9th 19 at 13:08
In firefox even with the bug with the menu selection works fine without the-moz, the record is not weird, I wrote that I use and where is taken - Jedediah99 commented on July 9th 19 at 13:11
July 9th 19 at 13:04
huag this is not a bug)

1) the z-index works only with the indication of position like position: relative;
otherwise he cannot know how he should be between the layers. Specify position

2) you have not specified a background color and text for the menu, set only via ::selextion, header { }

have mogilevskogo prefix forgot to add*::-moz-selection, header
Let me tell you a secret Golden key
1) the z-index works not only relative, but also with fixed and absolute
2) Is that specified using a comma means that the rules are given and selection, and header are the same - Jedediah99 commented on July 9th 19 at 13:07
: of course it does, K question. See Yes in another place pointed out fixed.
Apparently not working comma, when there is an unused prefix.
And mogilevskogo prefix forgot to add *::-moz-selection, header - Else.Mohr32 commented on July 9th 19 at 13:10

Find more questions by tags HTML