Using user's OS theme in HTML documents

RESOLVED INVALID

Status

()

--
enhancement
RESOLVED INVALID
15 years ago
15 years ago

People

(Reporter: ingmars, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1

Hi mozilla developers,

wouldn't it be cool to have a css option that would get the value from the
Operating Systems theme that the user uses, like this:

<style>
TABLE {
  background: user-theme-background;
}
</style>

that would apply the default background of the OS that the user uses.

For example a mac-OSX user would see an aqua-background, a WinXP user would see 
the default background image of his current theme, a KDE user would... you know 
what I mean?

or like this:

<style>
A:hover {
  color: user-theme-activeTextColor;
}
</style>

That way one could create OS independant XHTML based applications that look 
absolutely same as real Mac/Linux/Windows applications.

cheers!

Reproducible: Always

Steps to Reproduce:
This is already possible to some extent using the '-moz-appearance' property and
CSS2 system colours.
In fact, it's possible to exactly the extent this bug is asking for....
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.