Comment 89 for bug 604635

Revision history for this message
In , Justin-lebar+bug (justin-lebar+bug) wrote :

> I think we'd still want the JS API, because locking wifi/3g/etc. on doesn't have a clear CSS
> interpretation to me.

This sounds like an excellent argument for implementing in only in JS. The benefit of CSS is tiny compared to the benefit of not having to define what happens when JS and CSS conflict, and when CSS and CSS conflict. And the CSS semantics are already muddled, because "screen saver on" has nothing to do with the style of an element on the page.