Re: [csswg-drafts] [css-ui] [css-color] Tangent on system colors and appearance being both deprecated

System colors were introduced from Java, which wanted to make native-looking dialogs matching the then-current windowing systems (Windows 95 and MacOS 7). It was unable to do even that, and the introduction of titlebar gradients in Windows 98 made it clear that chasing platform look would always be an elusive, moving target.
In addition, the security implications of being able to accurately fake native UI were becoming apparent.
`appearance` was an attempt to match native appearance without specifying exactly what that was like. The timeframe there was the appearance of brightly-colored iMacs whose UI theming reflected the case color (there was a `flavor` keyword for that, too). these proposals were too vaguely worded to really be implementable, saw little developer interest and thus were also dropped.

> How do we proceed with scenarios where we have to style elements to look as native as possible?

With great caution and a full understanding of the spoofing risks involved; by deciding exactly what UI on what platform at what point in time you want to emulate; and with the realization that your styling will be fragile and need re-doing every few years.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2302#issuecomment-365001793 using your GitHub account

Received on Monday, 12 February 2018 17:41:57 UTC