The only reasonable solution is 1, IMO. Dao, Gijs, here's a proposal:
> The `prefers-color-scheme` of a page (and all its subframes) loaded in a `<browser>` element depends on the used `color-scheme` property value of that `<browser>` element.
That should do the right thing by default, and for the tabs the front-end would have:
```css
#tabbrowser-tabpanels {
color-scheme: light;
}
@media (-moz-content-prefers-color-scheme: dark) {
#tabbrowser-tabpanels {
color-scheme: light;
}
}
```
Or something of that sort. That way the front-end is effectively in control of the prefers-color-scheme values of everything. That means popups and sidebars get consistent prefers-color-scheme values, too. What do you think?
Bug 1762298 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The only reasonable solution is 1, IMO. Dao, Gijs, here's a proposal:
> The `prefers-color-scheme` of a page (and all its subframes) loaded in a `<browser>` element depends on the used `color-scheme` property value of that `<browser>` element.
That should do the right thing by default, and for the tabs the front-end would have:
```css
#tabbrowser-tabpanels {
color-scheme: light;
}
@media (-moz-content-prefers-color-scheme: dark) {
#tabbrowser-tabpanels {
color-scheme: dark;
}
}
```
Or something of that sort. That way the front-end is effectively in control of the prefers-color-scheme values of everything. That means popups and sidebars get consistent prefers-color-scheme values, too. What do you think?
The only reasonable solution is 1, IMO. Dao, Gijs, here's a proposal:
> The `prefers-color-scheme` of a page (and all its subframes) loaded in a `<browser>` element depends on the used `color-scheme` property value of that `<browser>` element.
That should do the right thing by default, and for the tabs the front-end would have:
```css
#tabbrowser-tabpanels {
color-scheme: light;
}
@media (-moz-content-prefers-color-scheme: dark) {
#tabbrowser-tabpanels {
color-scheme: dark;
}
}
```
Or something of that sort. That way the front-end is effectively in control of the prefers-color-scheme values of ~everything. That means popups and sidebars get consistent prefers-color-scheme values, too. What do you think?