Bug 1637298 - Use better selectors in videocontrols.css. r=Gijs

These used to be `[anonid]` back when we used anonymous content. But now
that this is in a shadow tree we can use regular id selectors, which are
faster.

Differential Revision: https://phabricator.services.mozilla.com/D74872
This commit is contained in:
Emilio Cobos Álvarez 2020-05-12 16:16:44 +00:00
Родитель afd4cf321d
Коммит b7b89624f9
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -599,13 +599,13 @@
display: none;
}
[status="errorAborted"] > [id="errorAborted"],
[status="errorNetwork"] > [id="errorNetwork"],
[status="errorDecode"] > [id="errorDecode"],
[status="errorSrcNotSupported"] > [id="errorSrcNotSupported"],
[status="errorNoSource"] > [id="errorNoSource"],
[status="errorGeneric"] > [id="errorGeneric"],
[status="pictureInPicture"] > [id="pictureInPicture"] {
[status="errorAborted"] > #errorAborted,
[status="errorNetwork"] > #errorNetwork,
[status="errorDecode"] > #errorDecode,
[status="errorSrcNotSupported"] > #errorSrcNotSupported,
[status="errorNoSource"] > #errorNoSource,
[status="errorGeneric"] > #errorGeneric,
[status="pictureInPicture"] > #pictureInPicture {
display: inline;
}