11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: ui.src,v 2.17 1998-05-12 12:50:13 bbos Exp $ -->
3+ <!-- $Id: ui.src,v 2.18 1998-05-12 15:39:25 clilley Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>User interface</TITLE>
@@ -91,67 +91,69 @@ to a default color.</p>
9191attributes and their general meaning. Any color property (e.g., <span
9292class="propinst-color">'color'</span> or <span
9393class="propinst-background-color">'background-color'</span>) can take
94- one of the following names:</p>
94+ one of the following names. Although these are case-insensitive, it is
95+ recommended that the mixed capitalization shown below be used, to
96+ make the names more legible.</p>
9597
9698<dl>
97- <dt><strong>active-border </strong>
99+ <dt><strong>ActiveBorder </strong>
98100<dd>Active window border.
99- <dt><strong>active-caption </strong>
101+ <dt><strong>ActiveCaption </strong>
100102<dd>Active window caption.
101- <dt><strong>app-workspace </strong>
103+ <dt><strong>AppWorkspace </strong>
102104<dd>Background color of multiple document interface.
103- <dt><strong>background </strong>
105+ <dt><strong>Background </strong>
104106<dd>Desktop background.
105- <dt><strong>button-face </strong>
107+ <dt><strong>ButtonFace </strong>
106108<dd>Face color for three-dimensional display elements.
107- <dt><strong>button-highlight </strong>
109+ <dt><strong>ButtonHighlight </strong>
108110<dd>Dark shadow for three-dimensional display elements (for
109111 edges facing away from the light source).
110- <dt><strong>button-shadow </strong>
112+ <dt><strong>ButtonShadow </strong>
111113<dd>Shadow color for three-dimensional display elements.
112- <dt><strong>button-text </strong>
114+ <dt><strong>ButtonText </strong>
113115<dd>Text on push buttons.
114- <dt><strong>caption-text </strong>
116+ <dt><strong>CaptionText </strong>
115117<dd>Text in caption, size box, and scrollbar arrow box.
116- <dt><strong>gray-text </strong>
118+ <dt><strong>GrayText </strong>
117119<dd>Grayed (disabled) text. This color is set to #000 if
118120the current display driver does not support a solid gray color.
119- <dt><strong>highlight </strong>
121+ <dt><strong>Highlight </strong>
120122<dd>Item(s) selected in a control.
121- <dt><strong>highlight-text </strong>
123+ <dt><strong>HighlightText </strong>
122124<dd>Text of item(s) selected in a control.
123- <dt><strong>inactive-border </strong>
125+ <dt><strong>InactiveBorder </strong>
124126<dd>Inactive window border.
125- <dt><strong>inactive-caption </strong>
127+ <dt><strong>InactiveCaption </strong>
126128<dd>Inactive window caption.
127- <dt><strong>inactive-caption-text </strong>
129+ <dt><strong>InactiveCaptionText </strong>
128130<dd>Color of text in an inactive caption.
129- <dt><strong>info-background </strong>
131+ <dt><strong>InfoBackground </strong>
130132<dd>Background color for tooltip controls.
131- <dt><strong>info-text </strong>
133+ <dt><strong>InfoText </strong>
132134<dd>Text color for tooltip controls.
133- <dt><strong>menu </strong>
135+ <dt><strong>Menu </strong>
134136<dd>Menu background.
135- <dt><strong>menu-text </strong>
137+ <dt><strong>MenuText </strong>
136138<dd>Text in menus.
137- <dt><strong>scrollbar </strong>
139+ <dt><strong>Scrollbar </strong>
138140<dd>Scroll bar gray area.
139- <dt><strong>three-d-dark-shadow </strong>
141+ <dt><strong>ThreeDDarkShadow </strong>
140142<dd>Dark shadow for three-dimensional display elements.
141- <dt><strong>three-d-face </strong>
143+ <dt><strong>ThreeDFace </strong>
142144<dd>Face color for three-dimensional display elements.
143- <dt><strong>three-d-highlight </strong>
145+ <dt><strong>ThreeDHighlight </strong>
144146<dd>Highlight color for three-dimensional display elements.
145- <dt><strong>three-d-light-shadow </strong>
147+ <dt><strong>ThreeDLightShadow </strong>
146148<dd>Light color for three-dimensional display elements
147149(for edges facing the light source).
148- <dt><strong>three-d-shadow </strong>
150+ <dt><strong>ThreeDShadow </strong>
149151<dd>Dark shadow for three-dimensional display elements.
150- <dt><strong>window </strong>
152+ <dt><strong>Window </strong>
151153<dd>Window background.
152- <dt><strong>window-frame </strong>
154+ <dt><strong>WindowFrame </strong>
153155<dd>Window frame.
154- <dt><strong>window-text </strong>
156+ <dt><strong>WindowText </strong>
155157<dd>Text in windows.
156158</dl>
157159
@@ -161,7 +163,7 @@ to the same foreground and background colors of the user's window,
161163write the following:
162164
163165<PRE>
164- P { color: window-text ; background-color: window }
166+ P { color: WindowText ; background-color: Window }
165167</PRE>
166168</div>
167169
@@ -259,15 +261,17 @@ of the outline, without provoking reflow.
259261
260262<H3>Outlines and the focus</h3>
261263
262- <P>Graphical user interfaces may use outlines to tell the user which
263- element on the page has the <span class="index-def"
264- title="focus"><dfn>focus</dfn></span>. The focus is the subject of user
265- interaction in a document (e.g., for entering text, selecting a
266- button, etc.). User agents supporting the <a
264+ <P>Graphical user interfaces may use outlines around elements to tell
265+ the user which element on the page has the <span class="index-def"
266+ title="focus"><dfn>focus</dfn></span>. These outlines are in adition
267+ to any borders, and switching oyutlines on and off should not cause
268+ the document to reflow. The focus is the subject of user interaction
269+ in a document (e.g., for entering text, selecting a button,
270+ etc.). User agents supporting the <a
267271href="media.html#interactive-media-group">interactive media group</a>
268272must keep track of where the focus lies and must also represent the
269- focus. This may be done by using dynamic outlines in conjunction
270- with the :focus pseudo-class.
273+ focus. This may be done by using dynamic outlines in conjunction with
274+ the :focus pseudo-class.
271275
272276<div class="example">
273277<p>For example, to draw a thick black line around an element when it
0 commit comments