mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1763667 part 2: Use :root instead of html/body, on selectors in TopLevelImageDocument.css and TopLevelVideoDocument.css. r=emilio,jaws
This patch shouldn't change behavior. It just gets us a bit more consistency between these two stylesheets, and it makes these rules more explicit about the fact that they're intending to style the root. Depends on D143395 Differential Revision: https://phabricator.services.mozilla.com/D143429
This commit is contained in:
parent
6c1743090b
commit
9504e42bc7
@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
@media not print {
|
||||
body {
|
||||
:root {
|
||||
/* The colors here were chosen to be readable over the corresponding
|
||||
backgrounds. This is important in case this ImageDocument is for an
|
||||
image that happens to be corrupt, in which case we'll display a textual
|
||||
|
@ -8,7 +8,7 @@
|
||||
are top level (e.g. not iframes).
|
||||
*/
|
||||
|
||||
html {
|
||||
:root {
|
||||
background-color: black;
|
||||
/* Fill the viewport height, so that our '-moz-user-focus' styling will
|
||||
disregard clicks in the whole background area (so the video element
|
||||
|
Loading…
Reference in New Issue
Block a user