Checking in Sources/Docs of DOM Level 2 from :

http://www.w3.org/DOM/DOMTM


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225913 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dims committed 2001-06-01 11:15:37 +00:00
1 parent 7d5c881d20
commit 82b88df622
231 files changed
+66110

No files matched your search

+100
View File
@@ -0,0 +1,100 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>W3C IPR SOFTWARE NOTICE</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<h1>
W3C IPR SOFTWARE NOTICE
</h1>
<h3>
Copyright &copy; 2000 <loc href="http://www.w3.org/">World Wide Web
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut
National de Recherche en Informatique et en Automatique</loc>, <loc
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
Reserved.
</h3>
<p>
The DOM bindings are published under the W3C Software Copyright Notice
and License. The software license requires "Notice of any changes or
modifications to the W3C files, including the date changes were made."
Consequently, modified versions of the DOM bindings must document that
they do not conform to the W3C standard; in the case of the IDL binding,
the pragma prefix can no longer be 'w3c.org'; in the case of the Java
binding, the package names can no longer be in the 'org.w3c' package.
</p>
<p>
<b>Note:</b> The original version of the W3C Software Copyright Notice
and License could be found at <a
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
</p>
<h3>
Copyright &copy; 1994-2000 <a href="http://www.w3.org/">World Wide Web
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
National de Recherche en Informatique et en Automatique</a>, <a
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/
</h3>
<p>
This W3C work (including software, documents, or other related items) is
being provided by the copyright holders under the following license. By
obtaining, using and/or copying this work, you (the licensee) agree that
you have read, understood, and will comply with the following terms and
conditions:
</p>
<p>
Permission to use, copy, and modify this software and its documentation,
with or without modification,&nbsp; for any purpose and without fee or
royalty is hereby granted, provided that you include the following on ALL
copies of the software and documentation or portions thereof, including
modifications, that you make:
</p>
<ol>
<li>
The full text of this NOTICE in a location viewable to users of the
redistributed or derivative work.
</li>
<li>
Any pre-existing intellectual property disclaimers, notices, or terms
and conditions. If none exist, a short notice of the following form
(hypertext is preferred, text is permitted) should be used within the
body of any redistributed or derivative code: "Copyright &copy;
[$date-of-software] <a href="http://www.w3.org/">World Wide Web
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
National de Recherche en Informatique et en Automatique</a>, <a
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/"
</li>
<li>
Notice of any changes or modifications to the W3C files, including the
date changes were made. (We recommend you provide URIs to the location
from which the code is derived.)
</li>
</ol>
<p>
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
TRADEMARKS OR OTHER RIGHTS.
</p>
<p>
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
DOCUMENTATION.
</p>
<p>
The name and trademarks of copyright holders may NOT be used in
advertising or publicity pertaining to the software without specific,
written prior permission. Title to copyright in this software and any
associated documentation will at all times remain with copyright
holders.
</p>
</body>
</html>
+202
View File
@@ -0,0 +1,202 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:44:49 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Document Object Model (DOM) Level 2 Style
Specification</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='expanded-toc.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='n'
href='expanded-toc.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='head'>
<p><a href='http://www.w3.org/'><img height='48' width='72'
alt='W3C' src='./images/w3c_home.gif' /></a></p>
<h1 id='title'>Document Object Model (DOM) Level 2 Style
Specification</h1>
<h2 id='version'>Version 1.0</h2>
<!-- REC-DOM-Level-2-Style-20001113
-->
<h2 id='W3C-doctype'>W3C Recommendation <i>13 November,
2000</i></h2>
<dl>
<dt>This version:</dt>
<dd><a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113</a><br />
(<a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/DOM2-Style.ps'>
PostScript file</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/DOM2-Style.pdf'>
PDF file</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/DOM2-Style.txt'>
plain text</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/DOM2-Style.zip'>
ZIP file</a>)</dd>
<dt>Latest version:</dt>
<dd><a
href='http://www.w3.org/TR/DOM-Level-2-Style'>http://www.w3.org/TR/DOM-Level-2-Style</a></dd>
<dt>Previous version:</dt>
<dd><a
href='http://www.w3.org/TR/2000/PR-DOM-Level-2-Style-20000927'>http://www.w3.org/TR/2000/PR-DOM-Level-2-Style-20000927</a></dd>
</dl>
<dl>
<dt>Editors:</dt>
<dd>Chris Wilson, <i>Microsoft Corp.</i></dd>
<dd>Philippe Le H&eacute;garet, <i>W3C, team contact (from November
1999)</i></dd>
<dd>Vidur Apparao, <i>Netscape Communications Corp.</i></dd>
</dl>
<p class='copyright'>Copyright &copy; 2000 <a
href='http://www.w3.org/'><abbr
title='World Wide Web Consortium'>W3C</abbr></a><sup>&reg;</sup>
(<a href='http://www.lcs.mit.edu/'><abbr
title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a
href='http://www.inria.fr/'><abbr lang='fr'
title='Institut National de Recherche en Informatique et Automatique'>
INRIA</abbr></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All
Rights Reserved. W3C <a
href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>
liability</a>, <a
href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>
trademark</a>, <a
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
document use</a> and <a
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
software licensing</a> rules apply.</p>
</div>
<hr title='separator from header' />
<h2 id='abstract'>Abstract</h2>
<div class='abstract'>
<p>This specification defines the Document Object Model Level 2
Style Sheets and Cascading Style Sheets (CSS), a platform- and
language-neutral interface that allows programs and scripts to
dynamically access and update the content and of style sheets
documents. The Document Object Model Level 2 Style builds on the
Document Object Model Level 2 Core [<a class='noxref'
href='references.html#DOMCore'>DOM Level 2 Core</a>] and on the
Document Object Model Level 2 Views [<a class='noxref'
href='references.html#DOMViews'>DOM Level 2 Views</a>].</p>
</div>
<h2 id='status'>Status of this document</h2>
<div class='status'>
<p><em>This section describes the status of this document at the
time of its publication. Other documents may supersede this
document. The latest status of this document series is maintained
at the W3C.</em></p>
<p>This document has been reviewed by W3C Members and other
interested parties and has been endorsed by the Director as a <a
href='http://www.w3.org/Consortium/Process/Process-19991111/tr.html#RecsW3C'>
W3C Recommendation</a>. It is a stable document and may be used as
reference material or cited as a normative reference from another
document. W3C's role in making the Recommendation is to draw
attention to the specification and to promote its widespread
deployment. This enhances the functionality and interoperability of
the Web.</p>
<p>This document has been produced as part of the <a
href='http://www.w3.org/DOM/Activity.html'>W3C DOM Activity</a>.
The authors of this document are the DOM Working Group members.
Different modules of the Document Object Model have different
editors.</p>
<p>Please send general comments about this document to the public
mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>. An
<a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>
is available at http://lists.w3.org/Archives/Public/www-dom/.</p>
<p>The English version of this specification is the only normative
version. Information about <a
href='http://www.w3.org/2000/11/DOM-Level-2-translations'>translations</a>
of this document is available at
http://www.w3.org/2000/11/DOM-Level-2-translations.</p>
<p>The <a href='http://www.w3.org/2000/11/DOM-Level-2-errata'>list
of known errors</a> in this document is available at
http://www.w3.org/2000/11/DOM-Level-2-errata</p>
<p>A list of <a href='http://www.w3.org/TR/'>current W3C
Recommendations and other technical documents</a> can be found at
http://www.w3.org/TR.</p>
</div>
<h2 id='table-of-contents'><a id="contents" name='contents'>Table
of contents</a></h2>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='expanded-toc.html'>Expanded Table of Contents</a></li>
<li class='tocline2'><a class='tocxref'
href='copyright-notice.html'>Copyright Notice</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='stylesheets.html'>Chapter 1: Document Object Model Style
Sheets</a></li>
<li class='tocline2'><a class='tocxref' href='css.html'>Chapter 2:
Document Object Model CSS</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
<li class='tocline2'><a class='tocxref'
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
<li class='tocline2'><a class='tocxref'
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
Binding</a></li>
<li class='tocline2'><a class='tocxref'
href='acknowledgements.html'>Appendix D: Acknowledgements</a></li>
<li class='tocline2'><a class='tocxref'
href='references.html'>References</a></li>
<li class='tocline2'><a class='tocxref'
href='def-index.html'>Index</a></li>
</ul>
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='n' href='expanded-toc.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+94
View File
@@ -0,0 +1,94 @@
/* This is an SSI script. Policy:
(1) Use CVS
(2) send e-mail to w3t-comm@w3.org if you edit this
*/
/* Style for a "Recommendation" */
/*
This is an SSI script. Policy:
(1) Use CVS
(2) send e-mail to w3t-comm@w3.org if you edit this
Acknowledgments:
- 'background-color' doesn't work on Mac IE 3, but 'background'
does (Susan Lesch <lesch@macvirus.com>)
- 'smaller' leads to illegible text in both Mac IE and Mac NS,
'small' is better: works in Mac NS, but is always 12pt in Mac IE
3 (Susan Lesch <lesch@macvirus.com>)
$Id$
*/
body {
margin: 2em 1em 2em 70px;
font-family: sans-serif;
color: black;
background: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
th, td { /* ns 4 */
font-family: sans-serif;
}
h1, h2, h3, h4, h5, h6 { text-align: left }
h1, h2, h3 { color: #005A9C }
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }
.hide { display: none }
div.head { margin-bottom: 1em }
div.head h1 { margin-top: 2em; clear: both }
div.head table { margin-left: 2em; margin-top: 2em }
div.head img { color: white; border: none } /* remove border from top image */
p.copyright { font-size: small }
p.copyright small { font-size: small }
@media screen { /* hide from IE3 */
a:hover { background: #ffa }
}
pre { margin-left: 2em }
/*
p {
margin-top: 0.6em;
margin-bottom: 0.6em;
}
*/
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
dt { font-weight: bold }
pre, code { font-family: monospace } /* navigator 4 requires this */
ul.toc {
list-style: disc; /* Mac NS has problem with 'none' */
list-style: none;
}
@media aural {
h1, h2, h3 { stress: 20; richness: 90 }
.hide { speak: none }
p.copyright { volume: x-soft; speech-rate: x-fast }
dt { pause-before: 20% }
pre { speak-punctuation: code }
}
/* Things (icons) that should only show up in projection mode */
.projection { display: none }
@media projection { .projection { display: inline } }
body {
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC);
}
+101
View File
@@ -0,0 +1,101 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:45:33 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Acknowledgements</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='references.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='ecma-script-binding.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='ecma-script-binding.html'>previous</a> &nbsp; <a
accesskey='n' href='references.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="contributors" name='contributors'></a>
<h1 id='contributors-h1' class='adiv1'>Appendix D:
Acknowledgements</h1>
<p>Many people contributed to this specification, including members
of the DOM Working Group and the DOM Interest Group. We especially
thank the following:</p>
<p>Lauren Wood (SoftQuad Software Inc., <em>chair</em>), Andrew
Watson (Object Management Group), Andy Heninger (IBM), Arnaud Le
Hors (W3C and IBM), Ben Chang (Oracle), Bill Smith (Sun), Bill Shea
(Merrill Lynch), Bob Sutor (IBM), Chris Lovett (Microsoft), Chris
Wilson (Microsoft), David Brownell (Sun), David Singer (IBM), Don
Park (invited), Eric Vasilik (Microsoft), Gavin Nicol (INSO), Ian
Jacobs (W3C), James Clark (invited), James Davidson (Sun), Jared
Sorensen (Novell), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe
Marini (Macromedia), Johnny Stenback (Netscape), Jonathan Marsh
(Microsoft), Jonathan Robie (Texcel Research and Software AG), Kim
Adamson-Sharpe (SoftQuad Software Inc.), Laurence Cable (Sun), Mark
Davis (IBM), Mark Scardina (Oracle), Martin D&uuml;rst (W3C), Mick
Goulish (Software AG), Mike Champion (Arbortext and Software AG),
Miles Sabin (Cromwell Media), Patti Lutsky (Arbortext), Paul Grosso
(Arbortext), Peter Sharpe (SoftQuad Software Inc.), Phil Karlton
(Netscape), Philippe Le H&eacute;garet (W3C, <em>W3C team
contact</em>), Ramesh Lekshmynarayanan (Merrill Lynch), Ray Whitmer
(iMall, Excite@Home and Netscape), Rich Rollman (Microsoft), Rick
Gessner (Netscape), Scott Isaacs (Microsoft), Sharon Adler (INSO),
Steve Byrne (JavaSoft), Tim Bray (invited), Tom Pixley (Netscape),
Vidur Apparao (Netscape), Vinod Anupam (Lucent).</p>
<p>Thanks to all those who have helped to improve this
specification by sending suggestions and corrections.</p>
<div class='div2'><a id="Productions" name='Productions'></a>
<h2 id='Productions-h2' class='adiv2'>D.1: Production Systems</h2>
<p>This specification was written in XML. The HTML, OMG IDL, Java
and ECMA Script bindings were all produced automatically.</p>
<p>Thanks to Joe English, author of <a
href='http://www.flightlab.com/cost'>cost</a>, which was used as
the basis for producing DOM Level 1. Thanks also to Gavin Nicol,
who wrote the scripts which run on top of cost. Arnaud Le Hors and
Philippe Le H&eacute;garet maintained the scripts.</p>
<p>For DOM Level 2, we used <a
href='http://xml.apache.org/xerces-j'>Xerces</a> as the basis DOM
implementation and wish to thank the authors. Philippe Le
H&eacute;garet and Arnaud Le Hors wrote the <a
href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>
Java programs</a> which are the DOM application.</p>
<p>Thanks also to Jan K&auml;rrman, author of <a
href='http://www.tdb.uu.se/~jan/html2ps.html'>html2ps</a>, which we
use in creating the PostScript version of the specification.</p>
</div>
<!-- div2 Productions --></div>
<!-- div1 contributors -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='ecma-script-binding.html'>previous</a>
&nbsp; <a accesskey='n' href='references.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+229
View File
@@ -0,0 +1,229 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:44:50 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Copyright Notice</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='stylesheets.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='expanded-toc.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='expanded-toc.html'>previous</a> &nbsp; <a accesskey='n'
href='stylesheets.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="Copyright-Notice"
name='Copyright-Notice'></a>
<h1 id='Copyright-Notice-h1' class='div1'>Copyright Notice</h1>
<p><b>Copyright &copy; 2000 <a href='http://www.w3.org/'>World Wide
Web Consortium</a>, (<a
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
Recherche en Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.</b></p>
<p>This document is published under the <a
href='copyright-notice.html#Copyright-notice-document'>W3C Document
Copyright Notice and License</a>. The bindings within this document
are published under the <a
href='copyright-notice.html#Copyright-notice-software'>W3C Software
Copyright Notice and License</a>. The software license requires
"Notice of any changes or modifications to the W3C files, including
the date changes were made." Consequently, modified versions of the
DOM bindings must document that they do not conform to the W3C
standard; in the case of the IDL definitions, the pragma prefix can
no longer be 'w3c.org'; in the case of the Java Language binding,
the package names can no longer be in the 'org.w3c' package.</p>
<div class='div2'><a id="Copyright-notice-document"
name='Copyright-notice-document'></a>
<hr width='50' align='center' title='Area separator' />
<h2 id='Copyright-notice-document-h2' class='div2'>W3C Document
Copyright Notice and License</h2>
<p><b>Note:</b> This section is a copy of the W3C Document Notice
and License and could be found at <a
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
http://www.w3.org/Consortium/Legal/copyright-documents-19990405</a>.</p>
<p><b>Copyright &copy; 1994-2000 <a href='http://www.w3.org/'>World
Wide Web Consortium</a>, (<a
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
Recherche en Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.</b></p>
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
<p>Public documents on the W3C site are provided by the copyright
holders under the following license. The software or Document Type
Definitions (DTDs) associated with W3C specifications are governed
by the <a
href='http://www.w3.org/Consortium/Legal/copyright-software.html'>Software
Notice</a>. By using and/or copying this document, or the W3C
document from which this statement is linked, you (the licensee)
agree that you have read, understood, and will comply with the
following terms and conditions:</p>
<p>Permission to use, copy, and distribute the contents of this
document, or the W3C document from which this statement is linked,
in any medium for any purpose and without fee or royalty is hereby
granted, provided that you include the following on <em>ALL</em>
copies of the document, or portions thereof, that you use:</p>
<ol>
<li>A link or URL to the original W3C document.</li>
<li>The pre-existing copyright notice of the original author, or if
it doesn't exist, a notice of the form: "Copyright &copy;
[$date-of-document] <a href='http://www.w3.org/'>World Wide Web
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
Institute of Technology</a>, <a
href='http://www.inria.fr/'>Institut National de Recherche en
Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/" (Hypertext is
preferred, but a textual representation is permitted.)</li>
<li><em>If it exists</em>, the STATUS of the W3C document.</li>
</ol>
<p>When space permits, inclusion of the full text of this
<b>NOTICE</b> should be provided. We request that authorship
attribution be provided in any software, documents, or other items
or products that you create pursuant to the implementation of the
contents of this document, or any portion thereof.</p>
<p>No right to create modifications or derivatives of W3C documents
is granted pursuant to this license. However, if additional
requirements (documented in the <a
href='http://www.w3.org/Consortium/Legal/IPR-FAQ.html'>Copyright
FAQ</a>) are satisfied, the right to create modifications or
derivatives is sometimes granted by the W3C to individuals
complying with those requirements.</p>
<p>THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS
OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS
THEREOF.</p>
<p>The name and trademarks of copyright holders may NOT be used in
advertising or publicity pertaining to this document or its
contents without specific, written prior permission. Title to
copyright in this document will at all times remain with copyright
holders.</p>
</div>
<!-- div2 Copyright-notice-document -->
<div class='div2'><a id="Copyright-notice-software"
name='Copyright-notice-software'></a>
<hr width='50' align='center' title='Area separator' />
<h2 id='Copyright-notice-software-h2' class='div2'>W3C Software
Copyright Notice and License</h2>
<p><b>Note:</b> This section is a copy of the W3C Software
Copyright Notice and License and could be found at <a
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
http://www.w3.org/Consortium/Legal/copyright-software-19980720</a></p>
<p><b>Copyright &copy; 1994-2000 <a href='http://www.w3.org/'>World
Wide Web Consortium</a>, (<a
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
Recherche en Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.</b></p>
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
<p>This W3C work (including software, documents, or other related
items) is being provided by the copyright holders under the
following license. By obtaining, using and/or copying this work,
you (the licensee) agree that you have read, understood, and will
comply with the following terms and conditions:</p>
<p>Permission to use, copy, and modify this software and its
documentation, with or without modification, for any purpose and
without fee or royalty is hereby granted, provided that you include
the following on ALL copies of the software and documentation or
portions thereof, including modifications, that you make:</p>
<ol>
<li>The full text of this NOTICE in a location viewable to users of
the redistributed or derivative work.</li>
<li>Any pre-existing intellectual property disclaimers. If none
exist, then a notice of the following form: "Copyright &copy;
[$date-of-software] <a href='http://www.w3.org/'>World Wide Web
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
Institute of Technology</a>, <a
href='http://www.inria.fr/'>Institut National de Recherche en
Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/."</li>
<li>Notice of any changes or modifications to the W3C files,
including the date changes were made. (We recommend you provide
URIs to the location from which the code is derived.)</li>
</ol>
<p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
SOFTWARE OR DOCUMENTATION.</p>
<p>The name and trademarks of copyright holders may NOT be used in
advertising or publicity pertaining to the software without
specific, written prior permission. Title to copyright in this
software and any associated documentation will at all times remain
with copyright holders.</p>
</div>
<!-- div2 Copyright-notice-software --></div>
<!-- div1 Copyright-Notice -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='expanded-toc.html'>previous</a> &nbsp; <a
accesskey='n' href='stylesheets.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
File diff suppressed because it is too large. Load diff
+967
View File
@@ -0,0 +1,967 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:45:34 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Index</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='contents' href='Overview.html#contents' />
<link rel='previous' href='references.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='references.html'>previous</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="Index" name='Index'></a>
<h1 id='role-index' class='index'>Index</h1>
<table
summary='the table contains all keywords used in this document'>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-MediaList-appendMedium'>appendMedium</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-azimuth'>azimuth</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-background'>background</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-backgroundAttachment'>backgroundAttachment</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-backgroundColor'>backgroundColor</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-backgroundImage'>backgroundImage</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-backgroundPosition'>backgroundPosition</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-backgroundRepeat'>backgroundRepeat</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-RGBColor-blue'>blue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-border'>border</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderBottom'>borderBottom</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderBottomColor'>borderBottomColor</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderBottomStyle'>borderBottomStyle</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderBottomWidth'>borderBottomWidth</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderCollapse'>borderCollapse</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderColor'>borderColor</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderLeft'>borderLeft</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderLeftColor'>borderLeftColor</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderLeftStyle'>borderLeftStyle</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderLeftWidth'>borderLeftWidth</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderRight'>borderRight</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderRightColor'>borderRightColor</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderRightStyle'>borderRightStyle</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderRightWidth'>borderRightWidth</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderSpacing'>borderSpacing</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderStyle'>borderStyle</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderTop'>borderTop</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderTopColor'>borderTopColor</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderTopStyle'>borderTopStyle</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderTopWidth'>borderTopWidth</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-borderWidth'>borderWidth</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-Rect-bottom'>bottom</a> <a class='index-inst'
href='css.html#CSS-Rect-bottom'>1</a>, <a class='index-inst'
href='css.html#CSS-CSS2Properties-bottom'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-captionSide'>captionSide</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-ruleType'>CHARSET_RULE</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-clear'>clear</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-clip'>clip</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-color'>color</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-content'>content</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-Counter'>Counter</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-counterIncrement'>counterIncrement</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-counterReset'>counterReset</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-DOMImplementationCSS-createCSSStyleSheet'>createCSSStyleSheet</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-overview'>CSS2</a> <a class='index-inst'
href='css.html#CSS-overview'>1</a>, <a class='index-inst'
href='css.html#CSS-CSSview-getComputedStyle'>2</a>, <a
class='index-inst' href='references.html#CSS2'>3</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties'>CSS2Properties</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_ATTR</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_CM</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_COUNTER</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSValue-types'>CSS_CUSTOM</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_DEG</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_DIMENSION</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_EMS</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_EXS</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_GRAD</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_HZ</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_IDENT</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_IN</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSValue-types'>CSS_INHERIT</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_KHZ</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_MM</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_MS</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_NUMBER</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_PC</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_PERCENTAGE</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSValue-types'>CSS_PRIMITIVE_VALUE</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_PT</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_PX</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_RAD</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_RECT</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_RGBCOLOR</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_S</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_STRING</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_UNKNOWN</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_URI</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSValue-types'>CSS_VALUE_LIST</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSCharsetRule'>CSSCharsetRule</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-cssFloat'>cssFloat</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSFontFaceRule'>CSSFontFaceRule</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSImportRule'>CSSImportRule</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSMediaRule'>CSSMediaRule</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPageRule'>CSSPageRule</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue'>CSSPrimitiveValue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule'>CSSRule</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRuleList'>CSSRuleList</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleSheet-cssRules'>cssRules</a> <a
class='index-inst'
href='css.html#CSS-CSSStyleSheet-cssRules'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSSMediaRule-cssRules'>2</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleDeclaration'>CSSStyleDeclaration</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleRule'>CSSStyleRule</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleSheet'>CSSStyleSheet</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-cssText'>cssText</a> <a
class='index-inst' href='css.html#CSS-CSSRule-cssText'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSSStyleDeclaration-cssText'>2</a>, <a
class='index-inst' href='css.html#CSS-CSSValue-cssText'>3</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSUnknownRule'>CSSUnknownRule</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSValue'>CSSValue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSValueList'>CSSValueList</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSValue-cssValueType'>cssValueType</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-cue'>cue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-cueAfter'>cueAfter</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-cueBefore'>cueBefore</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-cursor'>cursor</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-MediaList-deleteMedium'>deleteMedium</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleSheet-deleteRule'>deleteRule</a> <a
class='index-inst'
href='css.html#CSS-CSSStyleSheet-deleteRule'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSSMediaRule-deleteRule'>2</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-direction'>direction</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet-disabled'>disabled</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-display'>display</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-DocumentCSS'>DocumentCSS</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet-DocumentStyle'>DocumentStyle</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-overview'>DOM Level 2 Core</a>
<a class='index-inst'
href='stylesheets.html#StyleSheets-overview'>1</a>, <a
class='index-inst' href='css.html#CSS-fundamental'>2</a>, <a
class='index-inst' href='css.html#CSS-extended'>3</a>, <a
class='index-inst' href='references.html#DOMCore'>4</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-Association'>DOM Level 2
HTML</a> <a class='index-inst'
href='stylesheets.html#StyleSheets-Association'>1</a>, <a
class='index-inst' href='references.html#DOMHTML-inf'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-fundamental'>DOM Level 2 Views</a> <a
class='index-inst' href='css.html#CSS-fundamental'>1</a>, <a
class='index-inst' href='references.html#DOMViews'>2</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-DOMImplementationCSS'>DOMImplementationCSS</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='references.html#ECMAScript'>ECMAScript</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-ElementCSSInlineStyle'>ElementCSSInlineStyle</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-elevation'>elevation</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-emptyCells'>emptyCells</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSCharsetRule-encoding'>encoding</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-font'>font</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-ruleType'>FONT_FACE_RULE</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-fontFamily'>fontFamily</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-fontSize'>fontSize</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-fontSizeAdjust'>fontSizeAdjust</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-fontStretch'>fontStretch</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-fontStyle'>fontStyle</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-fontVariant'>fontVariant</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-fontWeight'>fontWeight</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSview-getComputedStyle'>getComputedStyle</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-getCounterValue'>getCounterValue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-getFloatValue'>getFloatValue</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-DocumentCSS-getOverrideStyle'>getOverrideStyle</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleDeclaration-getPropertyCSSValue'>getPropertyCSSValue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleDeclaration-getPropertyPriority'>getPropertyPriority</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleDeclaration-getPropertyValue'>getPropertyValue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-getRectValue'>getRectValue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-getRGBColorValue'>getRGBColorValue</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-getStringValue'>getStringValue</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-RGBColor-green'>green</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-height'>height</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet-href'>href</a> <a
class='index-inst'
href='stylesheets.html#StyleSheets-StyleSheet-href'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSSImportRule-href'>2</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-Association'>HTML4.0</a> <a
class='index-inst'
href='stylesheets.html#StyleSheets-Association'>1</a>, <a
class='index-inst' href='references.html#HTML40'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-Counter-identifier'>identifier</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-ruleType'>IMPORT_RULE</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleSheet-insertRule'>insertRule</a> <a
class='index-inst'
href='css.html#CSS-CSSStyleSheet-insertRule'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSSMediaRule-insertRule'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheetList-item'>item</a> <a
class='index-inst'
href='stylesheets.html#StyleSheets-StyleSheetList-item'>1</a>, <a
class='index-inst'
href='stylesheets.html#StyleSheets-MediaList-item'>2</a>, <a
class='index-inst' href='css.html#CSS-CSSRuleList-item'>3</a>, <a
class='index-inst'
href='css.html#CSS-CSSStyleDeclaration-item'>4</a>, <a
class='index-inst' href='css.html#CSS-CSSValueList-item'>5</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='references.html#Java'>Java</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-Rect-left'>left</a> <a class='index-inst'
href='css.html#CSS-Rect-left'>1</a>, <a class='index-inst'
href='css.html#CSS-CSS2Properties-left'>2</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheetList-length'>length</a>
<a class='index-inst'
href='stylesheets.html#StyleSheets-StyleSheetList-length'>1</a>, <a
class='index-inst'
href='stylesheets.html#StyleSheets-MediaList-length'>2</a>, <a
class='index-inst' href='css.html#CSS-CSSRuleList-length'>3</a>, <a
class='index-inst'
href='css.html#CSS-CSSStyleDeclaration-length'>4</a>, <a
class='index-inst'
href='css.html#CSS-CSSValueList-length'>5</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-letterSpacing'>letterSpacing</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-lineHeight'>lineHeight</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-LinkStyle'>LinkStyle</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-Counter-listStyle'>listStyle</a> <a
class='index-inst' href='css.html#CSS-Counter-listStyle'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSS2Properties-listStyle'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-listStyleImage'>listStyleImage</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-listStylePosition'>listStylePosition</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-listStyleType'>listStyleType</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-margin'>margin</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-marginBottom'>marginBottom</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-marginLeft'>marginLeft</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-marginRight'>marginRight</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-marginTop'>marginTop</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-markerOffset'>markerOffset</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-marks'>marks</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-maxHeight'>maxHeight</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-maxWidth'>maxWidth</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet-media'>media</a> <a
class='index-inst'
href='stylesheets.html#StyleSheets-StyleSheet-media'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSSMediaRule-mediaTypes'>2</a>, <a
class='index-inst'
href='css.html#CSS-CSSImportRule-media'>3</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-ruleType'>MEDIA_RULE</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-MediaList'>MediaList</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-MediaList-mediaText'>mediaText</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-minHeight'>minHeight</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-minWidth'>minWidth</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='references.html#OMGIDL'>OMGIDL</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-orphans'>orphans</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-outline'>outline</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-outlineColor'>outlineColor</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-outlineStyle'>outlineStyle</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-outlineWidth'>outlineWidth</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-overflow'>overflow</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet-ownerNode'>ownerNode</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleSheet-ownerRule'>ownerRule</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-padding'>padding</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-paddingBottom'>paddingBottom</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-paddingLeft'>paddingLeft</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-paddingRight'>paddingRight</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-paddingTop'>paddingTop</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-page'>page</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-ruleType'>PAGE_RULE</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-pageBreakAfter'>pageBreakAfter</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-pageBreakBefore'>pageBreakBefore</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-pageBreakInside'>pageBreakInside</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-parentRule'>parentRule</a> <a
class='index-inst' href='css.html#CSS-CSSRule-parentRule'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSSStyleDeclaration-parentRule'>2</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet-parentStyleSheet'>parentStyleSheet</a>
<a class='index-inst'
href='stylesheets.html#StyleSheets-StyleSheet-parentStyleSheet'>1</a>,
<a class='index-inst' href='css.html#CSS-CSSRule-sheet'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-pause'>pause</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-pauseAfter'>pauseAfter</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-pauseBefore'>pauseBefore</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-pitch'>pitch</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-pitchRange'>pitchRange</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-playDuring'>playDuring</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-position'>position</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-primitiveType'>primitiveType</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-quotes'>quotes</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-Rect'>Rect</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-RGBColor-red'>red</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleDeclaration-removeProperty'>removeProperty</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-RGBColor'>RGBColor</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-richness'>richness</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-Rect-right'>right</a> <a class='index-inst'
href='css.html#CSS-Rect-right'>1</a>, <a class='index-inst'
href='css.html#CSS-CSS2Properties-right'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleRule-selectorText'>selectorText</a> <a
class='index-inst'
href='css.html#CSS-CSSStyleRule-selectorText'>1</a>, <a
class='index-inst' href='css.html#CSS-CSSPageRule-name'>2</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-Counter-separator'>separator</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-setFloatValue'>setFloatValue</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleDeclaration-setProperty'>setProperty</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSPrimitiveValue-setStringValue'>setStringValue</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-LinkStyle-sheet'>sheet</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-size'>size</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-speak'>speak</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-speakHeader'>speakHeader</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-speakNumeral'>speakNumeral</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-speakPunctuation'>speakPunctuation</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-speechRate'>speechRate</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-stress'>stress</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSStyleRule-style'>style</a> <a
class='index-inst' href='css.html#CSS-CSSStyleRule-style'>1</a>, <a
class='index-inst' href='css.html#CSS-CSSFontFaceRule-style'>2</a>,
<a class='index-inst' href='css.html#CSS-CSSPageRule-style'>3</a>,
<a class='index-inst'
href='css.html#CSS-ElementCSSInlineStyle-style'>4</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-ruleType'>STYLE_RULE</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet'>StyleSheet</a> <a
class='index-inst'
href='stylesheets.html#StyleSheets-StyleSheet'>1</a>, <a
class='index-inst'
href='css.html#CSS-CSSImportRule-styleSheet'>2</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheetList'>StyleSheetList</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-DocumentStyle-styleSheets'>styleSheets</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-tableLayout'>tableLayout</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-textAlign'>textAlign</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-textDecoration'>textDecoration</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-textIndent'>textIndent</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-textShadow'>textShadow</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-textTransform'>textTransform</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet-title'>title</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-Rect-top'>top</a> <a class='index-inst'
href='css.html#CSS-Rect-top'>1</a>, <a class='index-inst'
href='css.html#CSS-CSS2Properties-top'>2</a></td>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-StyleSheet-type'>type</a> <a
class='index-inst'
href='stylesheets.html#StyleSheets-StyleSheet-type'>1</a>, <a
class='index-inst' href='css.html#CSS-CSSRule-type'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-unicodeBidi'>unicodeBidi</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSSRule-ruleType'>UNKNOWN_RULE</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-verticalAlign'>verticalAlign</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-ViewCSS'>ViewCSS</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-visibility'>visibility</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-voiceFamily'>voiceFamily</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-volume'>volume</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-whiteSpace'>whiteSpace</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-widows'>widows</a></td>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-width'>width</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-wordSpacing'>wordSpacing</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='stylesheets.html#StyleSheets-DocumentStyle-styleSheets'>XML-StyleSheet</a>
<a class='index-inst'
href='stylesheets.html#StyleSheets-DocumentStyle-styleSheets'>1</a>,
<a class='index-inst'
href='stylesheets.html#StyleSheets-Association'>2</a>, <a
class='index-inst' href='references.html#XML-StyleSheet'>3</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='css.html#CSS-CSS2Properties-zIndex'>zIndex</a></td>
</tr>
</table>
</div>
<!-- div1 Index -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='references.html'>previous</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a></div>
</body>
</html>
File diff suppressed because it is too large. Load diff
+193
View File
@@ -0,0 +1,193 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:44:49 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Expanded Table of Contents</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='copyright-notice.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='Overview.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='Overview.html'>previous</a> &nbsp; <a accesskey='n'
href='copyright-notice.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="TOC" name='TOC'></a>
<h1 id='TOC-h1' class='div1'>Expanded Table of Contents</h1>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='expanded-toc.html'>Expanded Table of Contents</a></li>
<li class='tocline2'><a class='tocxref'
href='copyright-notice.html'>Copyright Notice</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='copyright-notice.html#Copyright-notice-document'>W3C Document
Copyright Notice and License</a></li>
<li class='tocline3'><a class='tocxref'
href='copyright-notice.html#Copyright-notice-software'>W3C Software
Copyright Notice and License</a></li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='stylesheets.html'>Chapter 1: Document Object Model Style
Sheets</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='stylesheets.html#StyleSheets-overview'>1.1.
Introduction</a></li>
<li class='tocline3'><a class='tocxref'
href='stylesheets.html#StyleSheets-fundamental'>1.2. Style Sheet
Interfaces</a></li>
<li class='tocline3'><a class='tocxref'
href='stylesheets.html#StyleSheets-extensions'>1.3. Document
Extensions</a></li>
<li class='tocline3'><a class='tocxref'
href='stylesheets.html#StyleSheets-Association'>1.4. Association
between a style sheet and a document.</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref' href='css.html'>Chapter 2:
Document Object Model CSS</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='css.html#CSS-overview'>2.1. Overview of the DOM Level 2 CSS
Interfaces</a></li>
<li class='tocline3'><a class='tocxref'
href='css.html#CSS-fundamental'>2.2. CSS Fundamental Interfaces</a>
<ul class='toc'>
<li class='tocline4'><a class='tocxref'
href='css.html#CSS-OverrideAndComputed'>2.2.1. Override and
computed style sheet</a></li>
<li class='tocline4'><a class='tocxref'
href='css.html#CSS-StyleSheetCreation'>2.2.2. Style sheet
creation</a></li>
<li class='tocline4'><a class='tocxref'
href='css.html#CSS-htmlelementcss'>2.2.3. Element with CSS inline
style</a></li>
</ul>
</li>
<li class='tocline3'><a class='tocxref'
href='css.html#CSS-extended'>2.3. CSS2 Extended Interface</a></li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='idl-definitions.html'>Appendix A: IDL Definitions</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='idl-definitions.html#StyleSheets-IDL'>A.1. Document Object
Model Style Sheets</a></li>
<li class='tocline3'><a class='tocxref'
href='idl-definitions.html#CSS-IDL'>A.2. Document Object Model
CSS</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='java-binding.html'>Appendix B: Java Language Binding</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='java-binding.html#StyleSheets-Java'>B.1. Document Object
Model Style Sheets</a></li>
<li class='tocline3'><a class='tocxref'
href='java-binding.html#CSS-Java'>B.2. Document Object Model
CSS</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
Binding</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='ecma-script-binding.html#StyleSheets-ECMA'>C.1. Document
Object Model StyleSheets</a></li>
<li class='tocline3'><a class='tocxref'
href='ecma-script-binding.html#CSS-ECMA'>C.2. Document Object Model
CSS</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='acknowledgements.html'>Appendix D: Acknowledgements</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='acknowledgements.html#Productions'>D.1. Production
Systems</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='references.html'>References</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='references.html#References-Normative'>1. Normative
references</a></li>
<li class='tocline3'><a class='tocxref'
href='references.html#References-Informative'>2. Informative
references</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='def-index.html'>Index</a></li>
</ul>
</div>
<!-- div1 TOC -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='Overview.html'>previous</a> &nbsp; <a
accesskey='n' href='copyright-notice.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+764
View File
@@ -0,0 +1,764 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:45:04 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>IDL Definitions</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='java-binding.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='css.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='css.html'>previous</a> &nbsp; <a accesskey='n'
href='java-binding.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="idl" name='idl'></a>
<h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1>
<p>This appendix contains the complete OMG IDL [<a class='noxref'
href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document
Object Model Style definitions. The definitions are divided into <a
href='#StyleSheets-IDL'>Stylesheets</a> and <a
href='#CSS-IDL'>CSS</a>.</p>
<p>The IDL files are also available as: <a
href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/idl.zip</a></p>
<div class='div2'><a id="StyleSheets-IDL"
name='StyleSheets-IDL'></a>
<h2 id='StyleSheets-IDL-h2' class='adiv2'>A.1: Document Object
Model Style Sheets</h2>
<h3 id='idl-stylesheets.idl'><a
href='idl/stylesheets.idl'>stylesheets.idl</a>:</h3>
<div class='idl-code'>
<pre>
// File: stylesheets.idl
#ifndef _STYLESHEETS_IDL_
#define _STYLESHEETS_IDL_
#include "dom.idl"
#pragma prefix "dom.w3c.org"
module stylesheets
{
typedef dom::DOMString DOMString;
typedef dom::Node Node;
interface MediaList;
// Introduced in DOM Level 2:
interface StyleSheet {
readonly attribute DOMString type;
attribute boolean disabled;
readonly attribute Node ownerNode;
readonly attribute StyleSheet parentStyleSheet;
readonly attribute DOMString href;
readonly attribute DOMString title;
readonly attribute MediaList media;
};
// Introduced in DOM Level 2:
interface StyleSheetList {
readonly attribute unsigned long length;
StyleSheet item(in unsigned long index);
};
// Introduced in DOM Level 2:
interface MediaList {
attribute DOMString mediaText;
// raises(dom::DOMException) on setting
readonly attribute unsigned long length;
DOMString item(in unsigned long index);
void deleteMedium(in DOMString oldMedium)
raises(dom::DOMException);
void appendMedium(in DOMString newMedium)
raises(dom::DOMException);
};
// Introduced in DOM Level 2:
interface LinkStyle {
readonly attribute StyleSheet sheet;
};
// Introduced in DOM Level 2:
interface DocumentStyle {
readonly attribute StyleSheetList styleSheets;
};
};
#endif // _STYLESHEETS_IDL_
</pre>
</div>
</div>
<!-- div2 StyleSheets-IDL -->
<div class='div2'><a id="CSS-IDL" name='CSS-IDL'></a>
<h2 id='CSS-IDL-h2' class='adiv2'>A.2: Document Object Model
CSS</h2>
<h3 id='idl-css.idl'><a href='idl/css.idl'>css.idl</a>:</h3>
<div class='idl-code'>
<pre>
// File: css.idl
#ifndef _CSS_IDL_
#define _CSS_IDL_
#include "dom.idl"
#include "stylesheets.idl"
#include "views.idl"
#pragma prefix "dom.w3c.org"
module css
{
typedef dom::DOMString DOMString;
typedef dom::Element Element;
typedef dom::DOMImplementation DOMImplementation;
interface CSSRule;
interface CSSStyleSheet;
interface CSSStyleDeclaration;
interface CSSValue;
interface Counter;
interface Rect;
interface RGBColor;
// Introduced in DOM Level 2:
interface CSSRuleList {
readonly attribute unsigned long length;
CSSRule item(in unsigned long index);
};
// Introduced in DOM Level 2:
interface CSSRule {
// RuleType
const unsigned short UNKNOWN_RULE = 0;
const unsigned short STYLE_RULE = 1;
const unsigned short CHARSET_RULE = 2;
const unsigned short IMPORT_RULE = 3;
const unsigned short MEDIA_RULE = 4;
const unsigned short FONT_FACE_RULE = 5;
const unsigned short PAGE_RULE = 6;
readonly attribute unsigned short type;
attribute DOMString cssText;
// raises(dom::DOMException) on setting
readonly attribute CSSStyleSheet parentStyleSheet;
readonly attribute CSSRule parentRule;
};
// Introduced in DOM Level 2:
interface CSSStyleRule : CSSRule {
attribute DOMString selectorText;
// raises(dom::DOMException) on setting
readonly attribute CSSStyleDeclaration style;
};
// Introduced in DOM Level 2:
interface CSSMediaRule : CSSRule {
readonly attribute stylesheets::MediaList media;
readonly attribute CSSRuleList cssRules;
unsigned long insertRule(in DOMString rule,
in unsigned long index)
raises(dom::DOMException);
void deleteRule(in unsigned long index)
raises(dom::DOMException);
};
// Introduced in DOM Level 2:
interface CSSFontFaceRule : CSSRule {
readonly attribute CSSStyleDeclaration style;
};
// Introduced in DOM Level 2:
interface CSSPageRule : CSSRule {
attribute DOMString selectorText;
// raises(dom::DOMException) on setting
readonly attribute CSSStyleDeclaration style;
};
// Introduced in DOM Level 2:
interface CSSImportRule : CSSRule {
readonly attribute DOMString href;
readonly attribute stylesheets::MediaList media;
readonly attribute CSSStyleSheet styleSheet;
};
// Introduced in DOM Level 2:
interface CSSCharsetRule : CSSRule {
attribute DOMString encoding;
// raises(dom::DOMException) on setting
};
// Introduced in DOM Level 2:
interface CSSUnknownRule : CSSRule {
};
// Introduced in DOM Level 2:
interface CSSStyleDeclaration {
attribute DOMString cssText;
// raises(dom::DOMException) on setting
DOMString getPropertyValue(in DOMString propertyName);
CSSValue getPropertyCSSValue(in DOMString propertyName);
DOMString removeProperty(in DOMString propertyName)
raises(dom::DOMException);
DOMString getPropertyPriority(in DOMString propertyName);
void setProperty(in DOMString propertyName,
in DOMString value,
in DOMString priority)
raises(dom::DOMException);
readonly attribute unsigned long length;
DOMString item(in unsigned long index);
readonly attribute CSSRule parentRule;
};
// Introduced in DOM Level 2:
interface CSSValue {
// UnitTypes
const unsigned short CSS_INHERIT = 0;
const unsigned short CSS_PRIMITIVE_VALUE = 1;
const unsigned short CSS_VALUE_LIST = 2;
const unsigned short CSS_CUSTOM = 3;
attribute DOMString cssText;
// raises(dom::DOMException) on setting
readonly attribute unsigned short cssValueType;
};
// Introduced in DOM Level 2:
interface CSSPrimitiveValue : CSSValue {
// UnitTypes
const unsigned short CSS_UNKNOWN = 0;
const unsigned short CSS_NUMBER = 1;
const unsigned short CSS_PERCENTAGE = 2;
const unsigned short CSS_EMS = 3;
const unsigned short CSS_EXS = 4;
const unsigned short CSS_PX = 5;
const unsigned short CSS_CM = 6;
const unsigned short CSS_MM = 7;
const unsigned short CSS_IN = 8;
const unsigned short CSS_PT = 9;
const unsigned short CSS_PC = 10;
const unsigned short CSS_DEG = 11;
const unsigned short CSS_RAD = 12;
const unsigned short CSS_GRAD = 13;
const unsigned short CSS_MS = 14;
const unsigned short CSS_S = 15;
const unsigned short CSS_HZ = 16;
const unsigned short CSS_KHZ = 17;
const unsigned short CSS_DIMENSION = 18;
const unsigned short CSS_STRING = 19;
const unsigned short CSS_URI = 20;
const unsigned short CSS_IDENT = 21;
const unsigned short CSS_ATTR = 22;
const unsigned short CSS_COUNTER = 23;
const unsigned short CSS_RECT = 24;
const unsigned short CSS_RGBCOLOR = 25;
readonly attribute unsigned short primitiveType;
void setFloatValue(in unsigned short unitType,
in float floatValue)
raises(dom::DOMException);
float getFloatValue(in unsigned short unitType)
raises(dom::DOMException);
void setStringValue(in unsigned short stringType,
in DOMString stringValue)
raises(dom::DOMException);
DOMString getStringValue()
raises(dom::DOMException);
Counter getCounterValue()
raises(dom::DOMException);
Rect getRectValue()
raises(dom::DOMException);
RGBColor getRGBColorValue()
raises(dom::DOMException);
};
// Introduced in DOM Level 2:
interface CSSValueList : CSSValue {
readonly attribute unsigned long length;
CSSValue item(in unsigned long index);
};
// Introduced in DOM Level 2:
interface RGBColor {
readonly attribute CSSPrimitiveValue red;
readonly attribute CSSPrimitiveValue green;
readonly attribute CSSPrimitiveValue blue;
};
// Introduced in DOM Level 2:
interface Rect {
readonly attribute CSSPrimitiveValue top;
readonly attribute CSSPrimitiveValue right;
readonly attribute CSSPrimitiveValue bottom;
readonly attribute CSSPrimitiveValue left;
};
// Introduced in DOM Level 2:
interface Counter {
readonly attribute DOMString identifier;
readonly attribute DOMString listStyle;
readonly attribute DOMString separator;
};
// Introduced in DOM Level 2:
interface ElementCSSInlineStyle {
readonly attribute CSSStyleDeclaration style;
};
// Introduced in DOM Level 2:
interface CSS2Properties {
attribute DOMString azimuth;
// raises(dom::DOMException) on setting
attribute DOMString background;
// raises(dom::DOMException) on setting
attribute DOMString backgroundAttachment;
// raises(dom::DOMException) on setting
attribute DOMString backgroundColor;
// raises(dom::DOMException) on setting
attribute DOMString backgroundImage;
// raises(dom::DOMException) on setting
attribute DOMString backgroundPosition;
// raises(dom::DOMException) on setting
attribute DOMString backgroundRepeat;
// raises(dom::DOMException) on setting
attribute DOMString border;
// raises(dom::DOMException) on setting
attribute DOMString borderCollapse;
// raises(dom::DOMException) on setting
attribute DOMString borderColor;
// raises(dom::DOMException) on setting
attribute DOMString borderSpacing;
// raises(dom::DOMException) on setting
attribute DOMString borderStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderTop;
// raises(dom::DOMException) on setting
attribute DOMString borderRight;
// raises(dom::DOMException) on setting
attribute DOMString borderBottom;
// raises(dom::DOMException) on setting
attribute DOMString borderLeft;
// raises(dom::DOMException) on setting
attribute DOMString borderTopColor;
// raises(dom::DOMException) on setting
attribute DOMString borderRightColor;
// raises(dom::DOMException) on setting
attribute DOMString borderBottomColor;
// raises(dom::DOMException) on setting
attribute DOMString borderLeftColor;
// raises(dom::DOMException) on setting
attribute DOMString borderTopStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderRightStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderBottomStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderLeftStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderTopWidth;
// raises(dom::DOMException) on setting
attribute DOMString borderRightWidth;
// raises(dom::DOMException) on setting
attribute DOMString borderBottomWidth;
// raises(dom::DOMException) on setting
attribute DOMString borderLeftWidth;
// raises(dom::DOMException) on setting
attribute DOMString borderWidth;
// raises(dom::DOMException) on setting
attribute DOMString bottom;
// raises(dom::DOMException) on setting
attribute DOMString captionSide;
// raises(dom::DOMException) on setting
attribute DOMString clear;
// raises(dom::DOMException) on setting
attribute DOMString clip;
// raises(dom::DOMException) on setting
attribute DOMString color;
// raises(dom::DOMException) on setting
attribute DOMString content;
// raises(dom::DOMException) on setting
attribute DOMString counterIncrement;
// raises(dom::DOMException) on setting
attribute DOMString counterReset;
// raises(dom::DOMException) on setting
attribute DOMString cue;
// raises(dom::DOMException) on setting
attribute DOMString cueAfter;
// raises(dom::DOMException) on setting
attribute DOMString cueBefore;
// raises(dom::DOMException) on setting
attribute DOMString cursor;
// raises(dom::DOMException) on setting
attribute DOMString direction;
// raises(dom::DOMException) on setting
attribute DOMString display;
// raises(dom::DOMException) on setting
attribute DOMString elevation;
// raises(dom::DOMException) on setting
attribute DOMString emptyCells;
// raises(dom::DOMException) on setting
attribute DOMString cssFloat;
// raises(dom::DOMException) on setting
attribute DOMString font;
// raises(dom::DOMException) on setting
attribute DOMString fontFamily;
// raises(dom::DOMException) on setting
attribute DOMString fontSize;
// raises(dom::DOMException) on setting
attribute DOMString fontSizeAdjust;
// raises(dom::DOMException) on setting
attribute DOMString fontStretch;
// raises(dom::DOMException) on setting
attribute DOMString fontStyle;
// raises(dom::DOMException) on setting
attribute DOMString fontVariant;
// raises(dom::DOMException) on setting
attribute DOMString fontWeight;
// raises(dom::DOMException) on setting
attribute DOMString height;
// raises(dom::DOMException) on setting
attribute DOMString left;
// raises(dom::DOMException) on setting
attribute DOMString letterSpacing;
// raises(dom::DOMException) on setting
attribute DOMString lineHeight;
// raises(dom::DOMException) on setting
attribute DOMString listStyle;
// raises(dom::DOMException) on setting
attribute DOMString listStyleImage;
// raises(dom::DOMException) on setting
attribute DOMString listStylePosition;
// raises(dom::DOMException) on setting
attribute DOMString listStyleType;
// raises(dom::DOMException) on setting
attribute DOMString margin;
// raises(dom::DOMException) on setting
attribute DOMString marginTop;
// raises(dom::DOMException) on setting
attribute DOMString marginRight;
// raises(dom::DOMException) on setting
attribute DOMString marginBottom;
// raises(dom::DOMException) on setting
attribute DOMString marginLeft;
// raises(dom::DOMException) on setting
attribute DOMString markerOffset;
// raises(dom::DOMException) on setting
attribute DOMString marks;
// raises(dom::DOMException) on setting
attribute DOMString maxHeight;
// raises(dom::DOMException) on setting
attribute DOMString maxWidth;
// raises(dom::DOMException) on setting
attribute DOMString minHeight;
// raises(dom::DOMException) on setting
attribute DOMString minWidth;
// raises(dom::DOMException) on setting
attribute DOMString orphans;
// raises(dom::DOMException) on setting
attribute DOMString outline;
// raises(dom::DOMException) on setting
attribute DOMString outlineColor;
// raises(dom::DOMException) on setting
attribute DOMString outlineStyle;
// raises(dom::DOMException) on setting
attribute DOMString outlineWidth;
// raises(dom::DOMException) on setting
attribute DOMString overflow;
// raises(dom::DOMException) on setting
attribute DOMString padding;
// raises(dom::DOMException) on setting
attribute DOMString paddingTop;
// raises(dom::DOMException) on setting
attribute DOMString paddingRight;
// raises(dom::DOMException) on setting
attribute DOMString paddingBottom;
// raises(dom::DOMException) on setting
attribute DOMString paddingLeft;
// raises(dom::DOMException) on setting
attribute DOMString page;
// raises(dom::DOMException) on setting
attribute DOMString pageBreakAfter;
// raises(dom::DOMException) on setting
attribute DOMString pageBreakBefore;
// raises(dom::DOMException) on setting
attribute DOMString pageBreakInside;
// raises(dom::DOMException) on setting
attribute DOMString pause;
// raises(dom::DOMException) on setting
attribute DOMString pauseAfter;
// raises(dom::DOMException) on setting
attribute DOMString pauseBefore;
// raises(dom::DOMException) on setting
attribute DOMString pitch;
// raises(dom::DOMException) on setting
attribute DOMString pitchRange;
// raises(dom::DOMException) on setting
attribute DOMString playDuring;
// raises(dom::DOMException) on setting
attribute DOMString position;
// raises(dom::DOMException) on setting
attribute DOMString quotes;
// raises(dom::DOMException) on setting
attribute DOMString richness;
// raises(dom::DOMException) on setting
attribute DOMString right;
// raises(dom::DOMException) on setting
attribute DOMString size;
// raises(dom::DOMException) on setting
attribute DOMString speak;
// raises(dom::DOMException) on setting
attribute DOMString speakHeader;
// raises(dom::DOMException) on setting
attribute DOMString speakNumeral;
// raises(dom::DOMException) on setting
attribute DOMString speakPunctuation;
// raises(dom::DOMException) on setting
attribute DOMString speechRate;
// raises(dom::DOMException) on setting
attribute DOMString stress;
// raises(dom::DOMException) on setting
attribute DOMString tableLayout;
// raises(dom::DOMException) on setting
attribute DOMString textAlign;
// raises(dom::DOMException) on setting
attribute DOMString textDecoration;
// raises(dom::DOMException) on setting
attribute DOMString textIndent;
// raises(dom::DOMException) on setting
attribute DOMString textShadow;
// raises(dom::DOMException) on setting
attribute DOMString textTransform;
// raises(dom::DOMException) on setting
attribute DOMString top;
// raises(dom::DOMException) on setting
attribute DOMString unicodeBidi;
// raises(dom::DOMException) on setting
attribute DOMString verticalAlign;
// raises(dom::DOMException) on setting
attribute DOMString visibility;
// raises(dom::DOMException) on setting
attribute DOMString voiceFamily;
// raises(dom::DOMException) on setting
attribute DOMString volume;
// raises(dom::DOMException) on setting
attribute DOMString whiteSpace;
// raises(dom::DOMException) on setting
attribute DOMString widows;
// raises(dom::DOMException) on setting
attribute DOMString width;
// raises(dom::DOMException) on setting
attribute DOMString wordSpacing;
// raises(dom::DOMException) on setting
attribute DOMString zIndex;
// raises(dom::DOMException) on setting
};
// Introduced in DOM Level 2:
interface CSSStyleSheet : stylesheets::StyleSheet {
readonly attribute CSSRule ownerRule;
readonly attribute CSSRuleList cssRules;
unsigned long insertRule(in DOMString rule,
in unsigned long index)
raises(dom::DOMException);
void deleteRule(in unsigned long index)
raises(dom::DOMException);
};
// Introduced in DOM Level 2:
interface ViewCSS : views::AbstractView {
CSSStyleDeclaration getComputedStyle(in Element elt,
in DOMString pseudoElt);
};
// Introduced in DOM Level 2:
interface DocumentCSS : stylesheets::DocumentStyle {
CSSStyleDeclaration getOverrideStyle(in Element elt,
in DOMString pseudoElt);
};
// Introduced in DOM Level 2:
interface DOMImplementationCSS : DOMImplementation {
CSSStyleSheet createCSSStyleSheet(in DOMString title,
in DOMString media)
raises(dom::DOMException);
};
};
#endif // _CSS_IDL_
</pre>
</div>
</div>
<!-- div2 CSS-IDL --></div>
<!-- div1 idl -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='css.html'>previous</a> &nbsp; <a
accesskey='n' href='java-binding.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+633
View File
@@ -0,0 +1,633 @@
/*
* Copyright (c) 2000 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de
* Recherche en Informatique et en Automatique, Keio University). All
* Rights Reserved. This program is distributed under the W3C's Software
* Intellectual Property License. This program is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE.
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
*/
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.idl
#ifndef _CSS_IDL_
#define _CSS_IDL_
#include "dom.idl"
#include "stylesheets.idl"
#include "views.idl"
#pragma prefix "dom.w3c.org"
module css
{
typedef dom::DOMString DOMString;
typedef dom::Element Element;
typedef dom::DOMImplementation DOMImplementation;
interface CSSRule;
interface CSSStyleSheet;
interface CSSStyleDeclaration;
interface CSSValue;
interface Counter;
interface Rect;
interface RGBColor;
// Introduced in DOM Level 2:
interface CSSRuleList {
readonly attribute unsigned long length;
CSSRule item(in unsigned long index);
};
// Introduced in DOM Level 2:
interface CSSRule {
// RuleType
const unsigned short UNKNOWN_RULE = 0;
const unsigned short STYLE_RULE = 1;
const unsigned short CHARSET_RULE = 2;
const unsigned short IMPORT_RULE = 3;
const unsigned short MEDIA_RULE = 4;
const unsigned short FONT_FACE_RULE = 5;
const unsigned short PAGE_RULE = 6;
readonly attribute unsigned short type;
attribute DOMString cssText;
// raises(dom::DOMException) on setting
readonly attribute CSSStyleSheet parentStyleSheet;
readonly attribute CSSRule parentRule;
};
// Introduced in DOM Level 2:
interface CSSStyleRule : CSSRule {
attribute DOMString selectorText;
// raises(dom::DOMException) on setting
readonly attribute CSSStyleDeclaration style;
};
// Introduced in DOM Level 2:
interface CSSMediaRule : CSSRule {
readonly attribute stylesheets::MediaList media;
readonly attribute CSSRuleList cssRules;
unsigned long insertRule(in DOMString rule,
in unsigned long index)
raises(dom::DOMException);
void deleteRule(in unsigned long index)
raises(dom::DOMException);
};
// Introduced in DOM Level 2:
interface CSSFontFaceRule : CSSRule {
readonly attribute CSSStyleDeclaration style;
};
// Introduced in DOM Level 2:
interface CSSPageRule : CSSRule {
attribute DOMString selectorText;
// raises(dom::DOMException) on setting
readonly attribute CSSStyleDeclaration style;
};
// Introduced in DOM Level 2:
interface CSSImportRule : CSSRule {
readonly attribute DOMString href;
readonly attribute stylesheets::MediaList media;
readonly attribute CSSStyleSheet styleSheet;
};
// Introduced in DOM Level 2:
interface CSSCharsetRule : CSSRule {
attribute DOMString encoding;
// raises(dom::DOMException) on setting
};
// Introduced in DOM Level 2:
interface CSSUnknownRule : CSSRule {
};
// Introduced in DOM Level 2:
interface CSSStyleDeclaration {
attribute DOMString cssText;
// raises(dom::DOMException) on setting
DOMString getPropertyValue(in DOMString propertyName);
CSSValue getPropertyCSSValue(in DOMString propertyName);
DOMString removeProperty(in DOMString propertyName)
raises(dom::DOMException);
DOMString getPropertyPriority(in DOMString propertyName);
void setProperty(in DOMString propertyName,
in DOMString value,
in DOMString priority)
raises(dom::DOMException);
readonly attribute unsigned long length;
DOMString item(in unsigned long index);
readonly attribute CSSRule parentRule;
};
// Introduced in DOM Level 2:
interface CSSValue {
// UnitTypes
const unsigned short CSS_INHERIT = 0;
const unsigned short CSS_PRIMITIVE_VALUE = 1;
const unsigned short CSS_VALUE_LIST = 2;
const unsigned short CSS_CUSTOM = 3;
attribute DOMString cssText;
// raises(dom::DOMException) on setting
readonly attribute unsigned short cssValueType;
};
// Introduced in DOM Level 2:
interface CSSPrimitiveValue : CSSValue {
// UnitTypes
const unsigned short CSS_UNKNOWN = 0;
const unsigned short CSS_NUMBER = 1;
const unsigned short CSS_PERCENTAGE = 2;
const unsigned short CSS_EMS = 3;
const unsigned short CSS_EXS = 4;
const unsigned short CSS_PX = 5;
const unsigned short CSS_CM = 6;
const unsigned short CSS_MM = 7;
const unsigned short CSS_IN = 8;
const unsigned short CSS_PT = 9;
const unsigned short CSS_PC = 10;
const unsigned short CSS_DEG = 11;
const unsigned short CSS_RAD = 12;
const unsigned short CSS_GRAD = 13;
const unsigned short CSS_MS = 14;
const unsigned short CSS_S = 15;
const unsigned short CSS_HZ = 16;
const unsigned short CSS_KHZ = 17;
const unsigned short CSS_DIMENSION = 18;
const unsigned short CSS_STRING = 19;
const unsigned short CSS_URI = 20;
const unsigned short CSS_IDENT = 21;
const unsigned short CSS_ATTR = 22;
const unsigned short CSS_COUNTER = 23;
const unsigned short CSS_RECT = 24;
const unsigned short CSS_RGBCOLOR = 25;
readonly attribute unsigned short primitiveType;
void setFloatValue(in unsigned short unitType,
in float floatValue)
raises(dom::DOMException);
float getFloatValue(in unsigned short unitType)
raises(dom::DOMException);
void setStringValue(in unsigned short stringType,
in DOMString stringValue)
raises(dom::DOMException);
DOMString getStringValue()
raises(dom::DOMException);
Counter getCounterValue()
raises(dom::DOMException);
Rect getRectValue()
raises(dom::DOMException);
RGBColor getRGBColorValue()
raises(dom::DOMException);
};
// Introduced in DOM Level 2:
interface CSSValueList : CSSValue {
readonly attribute unsigned long length;
CSSValue item(in unsigned long index);
};
// Introduced in DOM Level 2:
interface RGBColor {
readonly attribute CSSPrimitiveValue red;
readonly attribute CSSPrimitiveValue green;
readonly attribute CSSPrimitiveValue blue;
};
// Introduced in DOM Level 2:
interface Rect {
readonly attribute CSSPrimitiveValue top;
readonly attribute CSSPrimitiveValue right;
readonly attribute CSSPrimitiveValue bottom;
readonly attribute CSSPrimitiveValue left;
};
// Introduced in DOM Level 2:
interface Counter {
readonly attribute DOMString identifier;
readonly attribute DOMString listStyle;
readonly attribute DOMString separator;
};
// Introduced in DOM Level 2:
interface ElementCSSInlineStyle {
readonly attribute CSSStyleDeclaration style;
};
// Introduced in DOM Level 2:
interface CSS2Properties {
attribute DOMString azimuth;
// raises(dom::DOMException) on setting
attribute DOMString background;
// raises(dom::DOMException) on setting
attribute DOMString backgroundAttachment;
// raises(dom::DOMException) on setting
attribute DOMString backgroundColor;
// raises(dom::DOMException) on setting
attribute DOMString backgroundImage;
// raises(dom::DOMException) on setting
attribute DOMString backgroundPosition;
// raises(dom::DOMException) on setting
attribute DOMString backgroundRepeat;
// raises(dom::DOMException) on setting
attribute DOMString border;
// raises(dom::DOMException) on setting
attribute DOMString borderCollapse;
// raises(dom::DOMException) on setting
attribute DOMString borderColor;
// raises(dom::DOMException) on setting
attribute DOMString borderSpacing;
// raises(dom::DOMException) on setting
attribute DOMString borderStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderTop;
// raises(dom::DOMException) on setting
attribute DOMString borderRight;
// raises(dom::DOMException) on setting
attribute DOMString borderBottom;
// raises(dom::DOMException) on setting
attribute DOMString borderLeft;
// raises(dom::DOMException) on setting
attribute DOMString borderTopColor;
// raises(dom::DOMException) on setting
attribute DOMString borderRightColor;
// raises(dom::DOMException) on setting
attribute DOMString borderBottomColor;
// raises(dom::DOMException) on setting
attribute DOMString borderLeftColor;
// raises(dom::DOMException) on setting
attribute DOMString borderTopStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderRightStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderBottomStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderLeftStyle;
// raises(dom::DOMException) on setting
attribute DOMString borderTopWidth;
// raises(dom::DOMException) on setting
attribute DOMString borderRightWidth;
// raises(dom::DOMException) on setting
attribute DOMString borderBottomWidth;
// raises(dom::DOMException) on setting
attribute DOMString borderLeftWidth;
// raises(dom::DOMException) on setting
attribute DOMString borderWidth;
// raises(dom::DOMException) on setting
attribute DOMString bottom;
// raises(dom::DOMException) on setting
attribute DOMString captionSide;
// raises(dom::DOMException) on setting
attribute DOMString clear;
// raises(dom::DOMException) on setting
attribute DOMString clip;
// raises(dom::DOMException) on setting
attribute DOMString color;
// raises(dom::DOMException) on setting
attribute DOMString content;
// raises(dom::DOMException) on setting
attribute DOMString counterIncrement;
// raises(dom::DOMException) on setting
attribute DOMString counterReset;
// raises(dom::DOMException) on setting
attribute DOMString cue;
// raises(dom::DOMException) on setting
attribute DOMString cueAfter;
// raises(dom::DOMException) on setting
attribute DOMString cueBefore;
// raises(dom::DOMException) on setting
attribute DOMString cursor;
// raises(dom::DOMException) on setting
attribute DOMString direction;
// raises(dom::DOMException) on setting
attribute DOMString display;
// raises(dom::DOMException) on setting
attribute DOMString elevation;
// raises(dom::DOMException) on setting
attribute DOMString emptyCells;
// raises(dom::DOMException) on setting
attribute DOMString cssFloat;
// raises(dom::DOMException) on setting
attribute DOMString font;
// raises(dom::DOMException) on setting
attribute DOMString fontFamily;
// raises(dom::DOMException) on setting
attribute DOMString fontSize;
// raises(dom::DOMException) on setting
attribute DOMString fontSizeAdjust;
// raises(dom::DOMException) on setting
attribute DOMString fontStretch;
// raises(dom::DOMException) on setting
attribute DOMString fontStyle;
// raises(dom::DOMException) on setting
attribute DOMString fontVariant;
// raises(dom::DOMException) on setting
attribute DOMString fontWeight;
// raises(dom::DOMException) on setting
attribute DOMString height;
// raises(dom::DOMException) on setting
attribute DOMString left;
// raises(dom::DOMException) on setting
attribute DOMString letterSpacing;
// raises(dom::DOMException) on setting
attribute DOMString lineHeight;
// raises(dom::DOMException) on setting
attribute DOMString listStyle;
// raises(dom::DOMException) on setting
attribute DOMString listStyleImage;
// raises(dom::DOMException) on setting
attribute DOMString listStylePosition;
// raises(dom::DOMException) on setting
attribute DOMString listStyleType;
// raises(dom::DOMException) on setting
attribute DOMString margin;
// raises(dom::DOMException) on setting
attribute DOMString marginTop;
// raises(dom::DOMException) on setting
attribute DOMString marginRight;
// raises(dom::DOMException) on setting
attribute DOMString marginBottom;
// raises(dom::DOMException) on setting
attribute DOMString marginLeft;
// raises(dom::DOMException) on setting
attribute DOMString markerOffset;
// raises(dom::DOMException) on setting
attribute DOMString marks;
// raises(dom::DOMException) on setting
attribute DOMString maxHeight;
// raises(dom::DOMException) on setting
attribute DOMString maxWidth;
// raises(dom::DOMException) on setting
attribute DOMString minHeight;
// raises(dom::DOMException) on setting
attribute DOMString minWidth;
// raises(dom::DOMException) on setting
attribute DOMString orphans;
// raises(dom::DOMException) on setting
attribute DOMString outline;
// raises(dom::DOMException) on setting
attribute DOMString outlineColor;
// raises(dom::DOMException) on setting
attribute DOMString outlineStyle;
// raises(dom::DOMException) on setting
attribute DOMString outlineWidth;
// raises(dom::DOMException) on setting
attribute DOMString overflow;
// raises(dom::DOMException) on setting
attribute DOMString padding;
// raises(dom::DOMException) on setting
attribute DOMString paddingTop;
// raises(dom::DOMException) on setting
attribute DOMString paddingRight;
// raises(dom::DOMException) on setting
attribute DOMString paddingBottom;
// raises(dom::DOMException) on setting
attribute DOMString paddingLeft;
// raises(dom::DOMException) on setting
attribute DOMString page;
// raises(dom::DOMException) on setting
attribute DOMString pageBreakAfter;
// raises(dom::DOMException) on setting
attribute DOMString pageBreakBefore;
// raises(dom::DOMException) on setting
attribute DOMString pageBreakInside;
// raises(dom::DOMException) on setting
attribute DOMString pause;
// raises(dom::DOMException) on setting
attribute DOMString pauseAfter;
// raises(dom::DOMException) on setting
attribute DOMString pauseBefore;
// raises(dom::DOMException) on setting
attribute DOMString pitch;
// raises(dom::DOMException) on setting
attribute DOMString pitchRange;
// raises(dom::DOMException) on setting
attribute DOMString playDuring;
// raises(dom::DOMException) on setting
attribute DOMString position;
// raises(dom::DOMException) on setting
attribute DOMString quotes;
// raises(dom::DOMException) on setting
attribute DOMString richness;
// raises(dom::DOMException) on setting
attribute DOMString right;
// raises(dom::DOMException) on setting
attribute DOMString size;
// raises(dom::DOMException) on setting
attribute DOMString speak;
// raises(dom::DOMException) on setting
attribute DOMString speakHeader;
// raises(dom::DOMException) on setting
attribute DOMString speakNumeral;
// raises(dom::DOMException) on setting
attribute DOMString speakPunctuation;
// raises(dom::DOMException) on setting
attribute DOMString speechRate;
// raises(dom::DOMException) on setting
attribute DOMString stress;
// raises(dom::DOMException) on setting
attribute DOMString tableLayout;
// raises(dom::DOMException) on setting
attribute DOMString textAlign;
// raises(dom::DOMException) on setting
attribute DOMString textDecoration;
// raises(dom::DOMException) on setting
attribute DOMString textIndent;
// raises(dom::DOMException) on setting
attribute DOMString textShadow;
// raises(dom::DOMException) on setting
attribute DOMString textTransform;
// raises(dom::DOMException) on setting
attribute DOMString top;
// raises(dom::DOMException) on setting
attribute DOMString unicodeBidi;
// raises(dom::DOMException) on setting
attribute DOMString verticalAlign;
// raises(dom::DOMException) on setting
attribute DOMString visibility;
// raises(dom::DOMException) on setting
attribute DOMString voiceFamily;
// raises(dom::DOMException) on setting
attribute DOMString volume;
// raises(dom::DOMException) on setting
attribute DOMString whiteSpace;
// raises(dom::DOMException) on setting
attribute DOMString widows;
// raises(dom::DOMException) on setting
attribute DOMString width;
// raises(dom::DOMException) on setting
attribute DOMString wordSpacing;
// raises(dom::DOMException) on setting
attribute DOMString zIndex;
// raises(dom::DOMException) on setting
};
// Introduced in DOM Level 2:
interface CSSStyleSheet : stylesheets::StyleSheet {
readonly attribute CSSRule ownerRule;
readonly attribute CSSRuleList cssRules;
unsigned long insertRule(in DOMString rule,
in unsigned long index)
raises(dom::DOMException);
void deleteRule(in unsigned long index)
raises(dom::DOMException);
};
// Introduced in DOM Level 2:
interface ViewCSS : views::AbstractView {
CSSStyleDeclaration getComputedStyle(in Element elt,
in DOMString pseudoElt);
};
// Introduced in DOM Level 2:
interface DocumentCSS : stylesheets::DocumentStyle {
CSSStyleDeclaration getOverrideStyle(in Element elt,
in DOMString pseudoElt);
};
// Introduced in DOM Level 2:
interface DOMImplementationCSS : DOMImplementation {
CSSStyleSheet createCSSStyleSheet(in DOMString title,
in DOMString media)
raises(dom::DOMException);
};
};
#endif // _CSS_IDL_
+71
View File
@@ -0,0 +1,71 @@
/*
* Copyright (c) 2000 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de
* Recherche en Informatique et en Automatique, Keio University). All
* Rights Reserved. This program is distributed under the W3C's Software
* Intellectual Property License. This program is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE.
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
*/
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.idl
#ifndef _STYLESHEETS_IDL_
#define _STYLESHEETS_IDL_
#include "dom.idl"
#pragma prefix "dom.w3c.org"
module stylesheets
{
typedef dom::DOMString DOMString;
typedef dom::Node Node;
interface MediaList;
// Introduced in DOM Level 2:
interface StyleSheet {
readonly attribute DOMString type;
attribute boolean disabled;
readonly attribute Node ownerNode;
readonly attribute StyleSheet parentStyleSheet;
readonly attribute DOMString href;
readonly attribute DOMString title;
readonly attribute MediaList media;
};
// Introduced in DOM Level 2:
interface StyleSheetList {
readonly attribute unsigned long length;
StyleSheet item(in unsigned long index);
};
// Introduced in DOM Level 2:
interface MediaList {
attribute DOMString mediaText;
// raises(dom::DOMException) on setting
readonly attribute unsigned long length;
DOMString item(in unsigned long index);
void deleteMedium(in DOMString oldMedium)
raises(dom::DOMException);
void appendMedium(in DOMString newMedium)
raises(dom::DOMException);
};
// Introduced in DOM Level 2:
interface LinkStyle {
readonly attribute StyleSheet sheet;
};
// Introduced in DOM Level 2:
interface DocumentStyle {
readonly attribute StyleSheetList styleSheets;
};
};
#endif // _STYLESHEETS_IDL_
Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

File diff suppressed because it is too large. Load diff
+139
View File
@@ -0,0 +1,139 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:45:34 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>References</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='def-index.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='acknowledgements.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='acknowledgements.html'>previous</a> &nbsp; <a accesskey='n'
href='def-index.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="References" name='References'></a>
<h1 id='role-references' class='references'>References</h1>
<p>For the latest version of any W3C specification please consult
the list of <a href='http://www.w3.org/TR'>W3C Technical
Reports</a> available at http://www.w3.org/TR.</p>
<div class='div2'><a id="References-Normative"
name='References-Normative'></a>
<h2 id='References-Normative-h2' class='adiv2'>E.1: Normative
references</h2>
<dl>
<dt><b><a id="DOMCore" name='DOMCore'>DOM Level 2 Core</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document
Object Model Level 2 Core Specification</a>, November 2000.
Available at
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113</dd>
<dt><b><a id="CSS2" name='CSS2'>CSS2</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512'>Cascading Style
Sheets, level 2 Specification</a>, May 1998. Available at
http://www.w3.org/TR/1998/REC-CSS2-19980512</dd>
<dt><b><a id="ECMAScript" name='ECMAScript'>ECMAScript</a></b></dt>
<dd>ECMA (European Computer Manufacturers Association) <a
href='http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM'>ECMAScript
Language Specification</a>. Available at
http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM</dd>
<dt><b><a id="HTML40" name='HTML40'>HTML4.0</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/1998/REC-html40-19980424'>HTML 4.0
Specification</a>, April 1998. Available at
http://www.w3.org/TR/1998/REC-html40-19980424</dd>
<dt><b><a id="Java" name='Java'>Java</a></b></dt>
<dd>Sun Microsystems Inc. <a
href='http://java.sun.com/docs/books/jls'>The Java Language
Specification</a>, James Gosling, Bill Joy, and Guy Steele,
September 1996. Available at
http://java.sun.com/docs/books/jls</dd>
<dt><b><a id="OMGIDL" name='OMGIDL'>OMGIDL</a></b></dt>
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
IDL (Interface Definition Language) defined in The Common Object
Request Broker: Architecture and Specification, version 2.3.1,
October 1999. Available from http://www.omg.org/</dd>
<dt><b><a id="DOMViews" name='DOMViews'>DOM Level 2
Views</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113'>Document
Object Model Level 2 Views Specification</a>, November 2000.
Available at
http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113</dd>
<dt><b><a id="XML-StyleSheet"
name='XML-StyleSheet'>XML-StyleSheet</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629'>Associating
Style Sheets with XML documents Version 1.0</a>, June 1999.
Available at
http://www.w3.org/1999/06/REC-xml-stylesheet-19990629.</dd>
</dl>
</div>
<!-- div2 References-Normative -->
<div class='div2'><a id="References-Informative"
name='References-Informative'></a>
<h2 id='References-Informative-h2' class='adiv2'>E.2: Informative
references</h2>
<dl>
<dt><b><a id="DOMHTML-inf" name='DOMHTML-inf'>DOM Level 2
HTML</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/DOM-Level-2-HTML'>Document Object Model
Level 2 HTML Specification</a>. Available at
http://www.w3.org/TR/DOM-Level-2-HTML</dd>
</dl>
</div>
<!-- div2 References-Informative --></div>
<!-- div1 References -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='acknowledgements.html'>previous</a> &nbsp;
<a accesskey='n' href='def-index.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+75
View File
@@ -0,0 +1,75 @@
H4 {
text-align: left;
font-family: sans-serif;
font-weight: normal;
color: #0050B2;
}
.idl-code {
font-family: monospace;
border: 1px solid black;
white-space: pre;
color: black;
background-color: #dfdfdf;
}
.java-code {
font-family: monospace;
border: 1px solid black;
white-space: pre;
color: black;
background-color: #dfdfdf;
}
.code-block {
font-family: monospace;
border: 1px solid black;
white-space: pre;
color: black;
background-color: #dfdfdf;
}
.ecma-block {
border: 1px solid black;
color: black;
background-color: #dfdfdf;
}
.interface-name {
font-weight: bold
}
.attribute-name {
color: black;
background-color: #FFFFD2;
}
.constant-name {
color: black;
background-color: #DDFFD2;
}
.method-name {
color: black;
background-color: #D9E6F8;
}
.parameter-name {
color: black;
background-color: #FEE6F8;
}
UL.toc, OL.toc {list-style: none}
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
LI.tocline1 {font-weight: bold}
LI.tocline2 {font-weight: normal}
LI.tocline4 {font-style: italic}
code { font-family: monospace }
div.paramtable { margin-left: 1em }
div.returntable { margin-left: 1em }
div.exceptiontable { margin-left: 1em }
+814
View File
@@ -0,0 +1,814 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:44:50 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Document Object Model Style Sheets</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='css.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='copyright-notice.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='copyright-notice.html'>previous</a> &nbsp; <a accesskey='n'
href='css.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="StyleSheets" name='StyleSheets'></a>
<h1 id='StyleSheets-h1' class='div1'>1. Document Object Model Style
Sheets</h1>
<dl>
<dt><i>Editors</i></dt>
<dd>Chris Wilson, Microsoft Corp.</dd>
<dd>Philippe Le H&eacute;garet, W3C</dd>
<dd>Vidur Apparao, Netscape Communications Corp.</dd>
</dl>
<div class='noprint'>
<h2 id='table-of-contents'>Table of contents</h2>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='#StyleSheets-overview'>1.1. Introduction</a></li>
<li class='tocline3'><a class='tocxref'
href='#StyleSheets-fundamental'>1.2. Style Sheet Interfaces</a>
<ul class='toc'>
<li class='tocline4'><a
href='#StyleSheets-StyleSheet'>StyleSheet</a>, <a
href='#StyleSheets-StyleSheetList'>StyleSheetList</a>, <a
href='#StyleSheets-MediaList'>MediaList</a></li>
</ul>
</li>
<li class='tocline3'><a class='tocxref'
href='#StyleSheets-extensions'>1.3. Document Extensions</a>
<ul class='toc'>
<li class='tocline4'><a
href='#StyleSheets-LinkStyle'>LinkStyle</a>, <a
href='#StyleSheets-StyleSheet-DocumentStyle'>DocumentStyle</a></li>
</ul>
</li>
<li class='tocline3'><a class='tocxref'
href='#StyleSheets-Association'>1.4. Association between a style
sheet and a document.</a></li>
</ul>
</div>
<div class='div2'><a id="StyleSheets-overview"
name='StyleSheets-overview'></a>
<h2 id='StyleSheets-overview-h2' class='div2'>1.1.
Introduction</h2>
<p>The DOM Level 2 Style Sheet interfaces are base interfaces used
to represent any type of style sheet. The expectation is that DOM
modules that represent a specific style sheet language may contain
interfaces that derive from these interfaces.</p>
<p>The interfaces found within this section are not mandatory. A
DOM application may use the <code>hasFeature(feature,
version)</code> method of the <code>DOMImplementation</code>
interface with parameter values "StyleSheets" and "2.0"
(respectively) to determine whether or not this module is supported
by the implementation. In order to fully support this module, an
implementation must also support the "Core" feature defined defined
in the DOM 2 Core specification [<a class='noxref'
href='references.html#DOMCore'>DOM Level 2 Core</a>]. Please refer
to additional information about <a
href='http://www.w3.org/TR/DOM-Level-2-Core/introduction.html#ID-Conformance'>
<em>conformance</em></a> in the DOM Level 2 Core specification [<a
class='noxref' href='references.html#DOMCore'>DOM Level 2
Core</a>].</p>
</div>
<!-- div2 StyleSheets-overview -->
<div class='div2'><a id="StyleSheets-fundamental"
name='StyleSheets-fundamental'></a>
<h2 id='StyleSheets-fundamental-h2' class='div2'>1.2. Style Sheet
Interfaces</h2>
<p>This set of interfaces represents the generic notion of style
sheets.</p>
<dl>
<dt><b>Interface <i><a id="StyleSheets-StyleSheet"
name='StyleSheets-StyleSheet'>StyleSheet</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>
<dd>
<p>The <code>StyleSheet</code> interface is the abstract base
interface for any type of style sheet. It represents a single style
sheet associated with a structured document. In HTML, the
StyleSheet interface represents either an external style sheet,
included via the HTML <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#h-12.3'>
<em>LINK</em></a> element, or an inline <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/present/styles.html#h-14.2.3'>
<em>STYLE</em></a> element. In XML, this interface represents an
external style sheet, included via a <a
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629'><em>style
sheet processing instruction</em></a>.</p>
<dl>
<dt><br />
<b>IDL Definition</b></dt>
<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface StyleSheet {
readonly attribute DOMString type;
attribute boolean disabled;
readonly attribute Node ownerNode;
readonly attribute StyleSheet parentStyleSheet;
readonly attribute DOMString href;
readonly attribute DOMString title;
readonly attribute MediaList media;
};
</pre>
</div>
<br />
</dd>
<dt><b>Attributes</b></dt>
<dd>
<dl>
<dt><code class='attribute-name'><a
id="StyleSheets-StyleSheet-disabled"
name='StyleSheets-StyleSheet-disabled'>disabled</a></code> of type
<code>boolean</code></dt>
<dd><code>false</code> if the style sheet is applied to the
document. <code>true</code> if it is not. Modifying this attribute
may cause a new resolution of style for the document. A stylesheet
only applies if both an appropriate medium definition is present
and the disabled attribute is false. So, if the media doesn't apply
to the current user agent, the <code>disabled</code> attribute is
ignored.<br />
</dd>
<dt><code class='attribute-name'><a
id="StyleSheets-StyleSheet-href"
name='StyleSheets-StyleSheet-href'>href</a></code> of type
<code>DOMString</code>, readonly</dt>
<dd>If the style sheet is a linked style sheet, the value of its
attribute is its location. For inline style sheets, the value of
this attribute is <code>null</code>. See the <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#adef-href'>
<em>href attribute definition</em></a> for the <code>LINK</code>
element in HTML 4.0, and the href pseudo-attribute for the XML <a
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/#The xml-stylesheet processing instruction'>
<em>style sheet processing instruction</em></a>.<br />
</dd>
<dt><code class='attribute-name'><a
id="StyleSheets-StyleSheet-media"
name='StyleSheets-StyleSheet-media'>media</a></code> of type <a
href='stylesheets.html#StyleSheets-MediaList'><code>MediaList</code></a>,
readonly</dt>
<dd>The intended destination media for style information. The media
is often specified in the <code>ownerNode</code>. If no media has
been specified, the <a
href='stylesheets.html#StyleSheets-MediaList'><code>MediaList</code></a>
will be empty. See the <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/present/styles.html#adef-media'>
<em>media attribute definition</em></a> for the <code>LINK</code>
element in HTML 4.0, and the media pseudo-attribute for the XML <a
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/#The xml-stylesheet processing instruction'>
<em>style sheet processing instruction</em></a> . Modifying the
media list may cause a change to the attribute
<code>disabled</code>.<br />
</dd>
<dt><code class='attribute-name'><a
id="StyleSheets-StyleSheet-ownerNode"
name='StyleSheets-StyleSheet-ownerNode'>ownerNode</a></code> of
type <code>Node</code>, readonly</dt>
<dd>The node that associates this style sheet with the document.
For HTML, this may be the corresponding <code>LINK</code> or
<code>STYLE</code> element. For XML, it may be the linking
processing instruction. For style sheets that are included by other
style sheets, the value of this attribute is
<code>null</code>.<br />
</dd>
<dt><code class='attribute-name'><a
id="StyleSheets-StyleSheet-parentStyleSheet"
name='StyleSheets-StyleSheet-parentStyleSheet'>parentStyleSheet</a></code>
of type <a
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheet</code></a>,
readonly</dt>
<dd>For style sheet languages that support the concept of style
sheet inclusion, this attribute represents the including style
sheet, if one exists. If the style sheet is a top-level style
sheet, or the style sheet language does not support inclusion, the
value of this attribute is <code>null</code>.<br />
</dd>
<dt><code class='attribute-name'><a
id="StyleSheets-StyleSheet-title"
name='StyleSheets-StyleSheet-title'>title</a></code> of type
<code>DOMString</code>, readonly</dt>
<dd>The advisory title. The title is often specified in the
<code>ownerNode</code>. See the <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/global.html#adef-title'>
<em>title attribute definition</em></a> for the <code>LINK</code>
element in HTML 4.0, and the title pseudo-attribute for the XML <a
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/#The xml-stylesheet processing instruction'>
<em>style sheet processing instruction</em></a>.<br />
</dd>
<dt><code class='attribute-name'><a
id="StyleSheets-StyleSheet-type"
name='StyleSheets-StyleSheet-type'>type</a></code> of type
<code>DOMString</code>, readonly</dt>
<dd>This specifies the style sheet language for this style sheet.
The style sheet language is specified as a content type (e.g.
"text/css"). The <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/types.html#type-content-type'>
<em>content type</em></a> is often specified in the
<code>ownerNode</code>. Also see the <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#adef-type-A'>
<em>type attribute definition</em></a> for the <code>LINK</code>
element in HTML 4.0, and the type pseudo-attribute for the XML <a
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629'><em>style
sheet processing instruction</em></a>.<br />
</dd>
</dl>
</dd>
</dl>
</dd>
<dt><b>Interface <i><a id="StyleSheets-StyleSheetList"
name='StyleSheets-StyleSheetList'>StyleSheetList</a></i></b>
(introduced in <b class='since'>DOM Level 2</b>)</dt>
<dd>
<p>The <code>StyleSheetList</code> interface provides the
abstraction of an ordered collection of style sheets.</p>
<p>The items in the <code>StyleSheetList</code> are accessible via
an integral index, starting from 0.</p>
<dl>
<dt><br />
<b>IDL Definition</b></dt>
<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface StyleSheetList {
readonly attribute unsigned long length;
StyleSheet item(in unsigned long index);
};
</pre>
</div>
<br />
</dd>
<dt><b>Attributes</b></dt>
<dd>
<dl>
<dt><code class='attribute-name'><a
id="StyleSheets-StyleSheetList-length"
name='StyleSheets-StyleSheetList-length'>length</a></code> of type
<code>unsigned long</code>, readonly</dt>
<dd>The number of <a
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheets</code></a>
in the list. The range of valid child stylesheet indices is
<code>0</code> to <code>length-1</code> inclusive.<br />
</dd>
</dl>
</dd>
<dt><b>Methods</b></dt>
<dd>
<dl>
<dt><code class='method-name'><a
id="StyleSheets-StyleSheetList-item"
name='StyleSheets-StyleSheetList-item'>item</a></code></dt>
<dd>
<div class='method'>Used to retrieve a style sheet by ordinal
index. If index is greater than or equal to the number of style
sheets in the list, this returns <code>null</code>.
<div class='parameters'><b>Parameters</b>
<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>
<dd>Index into the collection<br />
</dd>
</dl>
</div>
</div>
<!-- parameters -->
<div class='return'><b>Return Value</b>
<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
border='0'>
<tr>
<td valign='top'>
<p><a
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheet</code></a></p>
</td>
<td>
<p>The style sheet at the <code>index</code> position in the
<code>StyleSheetList</code>, or <code>null</code> if that is not a
valid index.</p>
</td>
</tr>
</table>
</div>
</div>
<!-- return -->
<div><b>No Exceptions</b></div>
</div>
<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>
<dt><b>Interface <i><a id="StyleSheets-MediaList"
name='StyleSheets-MediaList'>MediaList</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>
<dd>
<p>The <code>MediaList</code> interface provides the abstraction of
an ordered collection of <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/types.html#h-6.13'>
<em>media</em></a>, without defining or constraining how this
collection is implemented. An empty list is the same as a list that
contains the medium <code>"all"</code>.</p>
<p>The items in the <code>MediaList</code> are accessible via an
integral index, starting from 0.</p>
<dl>
<dt><br />
<b>IDL Definition</b></dt>
<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface MediaList {
attribute DOMString mediaText;
// raises(DOMException) on setting
readonly attribute unsigned long length;
DOMString item(in unsigned long index);
void deleteMedium(in DOMString oldMedium)
raises(DOMException);
void appendMedium(in DOMString newMedium)
raises(DOMException);
};
</pre>
</div>
<br />
</dd>
<dt><b>Attributes</b></dt>
<dd>
<dl>
<dt><code class='attribute-name'><a
id="StyleSheets-MediaList-length"
name='StyleSheets-MediaList-length'>length</a></code> of type
<code>unsigned long</code>, readonly</dt>
<dd>The number of media in the list. The range of valid media is
<code>0</code> to <code>length-1</code> inclusive.<br />
</dd>
<dt><code class='attribute-name'><a
id="StyleSheets-MediaList-mediaText"
name='StyleSheets-MediaList-mediaText'>mediaText</a></code> of type
<code>DOMString</code></dt>
<dd>The parsable textual representation of the media list. This is
a comma-separated list of media.<br />
<div class='exceptions'><b>Exceptions on setting</b>
<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified string value has a syntax
error and is unparsable.</p>
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this media list is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>
<!-- exceptions -->
</dd>
</dl>
</dd>
<dt><b>Methods</b></dt>
<dd>
<dl>
<dt><code class='method-name'><a
id="StyleSheets-MediaList-appendMedium"
name='StyleSheets-MediaList-appendMedium'>appendMedium</a></code></dt>
<dd>
<div class='method'>Adds the medium <code>newMedium</code> to the
end of the list. If the <code>newMedium</code> is already used, it
is first removed.
<div class='parameters'><b>Parameters</b>
<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>newMedium</code> of type
<code>DOMString</code></dt>
<dd>The new medium to add.<br />
</dd>
</dl>
</div>
</div>
<!-- parameters -->
<div class='exceptions'><b>Exceptions</b>
<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INVALID_CHARACTER_ERR: If the medium contains characters that
are invalid in the underlying style language.</p>
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this list is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>
<!-- exceptions -->
<div><b>No Return Value</b></div>
</div>
<!-- method -->
</dd>
<dt><code class='method-name'><a
id="StyleSheets-MediaList-deleteMedium"
name='StyleSheets-MediaList-deleteMedium'>deleteMedium</a></code></dt>
<dd>
<div class='method'>Deletes the medium indicated by
<code>oldMedium</code> from the list.
<div class='parameters'><b>Parameters</b>
<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>oldMedium</code> of type
<code>DOMString</code></dt>
<dd>The medium to delete in the media list.<br />
</dd>
</dl>
</div>
</div>
<!-- parameters -->
<div class='exceptions'><b>Exceptions</b>
<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this list is
readonly.</p>
<p>NOT_FOUND_ERR: Raised if <code>oldMedium</code> is not in the
list.</p>
</td>
</tr>
</table>
</div>
</div>
<!-- exceptions -->
<div><b>No Return Value</b></div>
</div>
<!-- method -->
</dd>
<dt><code class='method-name'><a id="StyleSheets-MediaList-item"
name='StyleSheets-MediaList-item'>item</a></code></dt>
<dd>
<div class='method'>Returns the <code>index</code>th in the list.
If <code>index</code> is greater than or equal to the number of
media in the list, this returns <code>null</code>.
<div class='parameters'><b>Parameters</b>
<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>
<dd>Index into the collection.<br />
</dd>
</dl>
</div>
</div>
<!-- parameters -->
<div class='return'><b>Return Value</b>
<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
border='0'>
<tr>
<td valign='top'>
<p><code>DOMString</code></p>
</td>
<td>
<p>The medium at the <code>index</code>th position in the
<code>MediaList</code>, or <code>null</code> if that is not a valid
index.</p>
</td>
</tr>
</table>
</div>
</div>
<!-- return -->
<div><b>No Exceptions</b></div>
</div>
<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>
<!-- div2 StyleSheets-fundamental -->
<div class='div2'><a id="StyleSheets-extensions"
name='StyleSheets-extensions'></a>
<h2 id='StyleSheets-extensions-h2' class='div2'>1.3. Document
Extensions</h2>
<dl>
<dt><b>Interface <i><a id="StyleSheets-LinkStyle"
name='StyleSheets-LinkStyle'>LinkStyle</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>
<dd>
<p>The <code>LinkStyle</code> interface provides a mechanism by
which a style sheet can be retrieved from the node responsible for
linking it into a document. An instance of the
<code>LinkStyle</code> interface can be obtained using
binding-specific casting methods on an instance of a linking node
(<code>HTMLLinkElement</code>, <code>HTMLStyleElement</code> or
<code>ProcessingInstruction</code> in DOM Level 2).</p>
<dl>
<dt><br />
<b>IDL Definition</b></dt>
<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface LinkStyle {
readonly attribute StyleSheet sheet;
};
</pre>
</div>
<br />
</dd>
<dt><b>Attributes</b></dt>
<dd>
<dl>
<dt><code class='attribute-name'><a
id="StyleSheets-LinkStyle-sheet"
name='StyleSheets-LinkStyle-sheet'>sheet</a></code> of type <a
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheet</code></a>,
readonly</dt>
<dd>The style sheet.<br />
</dd>
</dl>
</dd>
</dl>
</dd>
<dt><b>Interface <i><a id="StyleSheets-StyleSheet-DocumentStyle"
name='StyleSheets-StyleSheet-DocumentStyle'>DocumentStyle</a></i></b>
(introduced in <b class='since'>DOM Level 2</b>)</dt>
<dd>
<p>The <code>DocumentStyle</code> interface provides a mechanism by
which the style sheets embedded in a document can be retrieved. The
expectation is that an instance of the <code>DocumentStyle</code>
interface can be obtained by using binding-specific casting methods
on an instance of the <code>Document</code> interface.</p>
<dl>
<dt><br />
<b>IDL Definition</b></dt>
<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface DocumentStyle {
readonly attribute StyleSheetList styleSheets;
};
</pre>
</div>
<br />
</dd>
<dt><b>Attributes</b></dt>
<dd>
<dl>
<dt><code class='attribute-name'><a
id="StyleSheets-DocumentStyle-styleSheets"
name='StyleSheets-DocumentStyle-styleSheets'>styleSheets</a></code>
of type <a
href='stylesheets.html#StyleSheets-StyleSheetList'><code>StyleSheetList</code></a>,
readonly</dt>
<dd>A list containing all the style sheets explicitly linked into
or embedded in a document. For HTML documents, this includes
external style sheets, included via the HTML <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#h-12.3'>
<em>LINK</em></a> element, and inline <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/present/styles.html#h-14.2.3'>
<em>STYLE</em></a> elements. In XML, this includes external style
sheets, included via style sheet processing instructions (see [<a
class='noxref'
href='references.html#XML-StyleSheet'>XML-StyleSheet</a>]).<br />
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>
<!-- div2 StyleSheets-extensions -->
<div class='div2'><a id="StyleSheets-Association"
name='StyleSheets-Association'></a>
<h2 id='StyleSheets-Association-h2' class='div2'>1.4. Association
between a style sheet and a document.</h2>
<dl>
<dt><b>HTML and Style Sheet Creation</b></dt>
<dd>A style sheet can be associated with an HTMLDocument in one of
two ways:
<ul>
<li>By creating a new LINK HTML element (see the
<code>HTMLLinkElement</code> interface in the [<a class='noxref'
href='references.html#DOMHTML-inf'>DOM Level 2 HTML</a>] and [<a
class='noxref' href='references.html#HTML40'>HTML4.0</a>]). The
underlying style sheet will be created after the element is
inserted into the document and both the href and the type attribute
have been set in a way indicating that the linked object is a style
sheet.</li>
<li>By creating a new STYLE HTML element (see the
<code>HTMLStyleElement</code> interface in the [<a class='noxref'
href='references.html#DOMHTML-inf'>DOM Level 2 HTML</a>] and [<a
class='noxref' href='references.html#HTML40'>HTML4.0</a>]). The
underlying style sheet will be created after the element is
inserted into the document and the type attribute is set in a way
indicating that the element corresponds to a style sheet language
interpreted by the user agent.</li>
</ul>
</dd>
<dt><b>HTML and Style Sheet Removal</b></dt>
<dd>Removing a LINK HTML element or a STYLE HTML element removes
the underlying style sheet from the style sheet collection
associated with a document. Specifically, the removed style sheet
is no longer applied to the presentation of the document.</dd>
<dt><b>XML and Style Sheet Creation</b></dt>
<dd>A new style sheet can be created and associated with an XML
document by creating a processing instruction with the target
'xml-stylesheet' [<a class='noxref'
href='references.html#XML-StyleSheet'>XML-StyleSheet</a>] and
inserting it into the document.</dd>
<dt><b>XML and Style Sheet Removal</b></dt>
<dd>Removing a processing instruction with a target of
'xml-stylesheet' [<a class='noxref'
href='references.html#XML-StyleSheet'>XML-StyleSheet</a>] removes
the underlying style sheet from the style sheet collection
associated with a document. Specifically, the removed style sheet
is no longer applied to the presentation of the document.</dd>
</dl>
</div>
<!-- div2 StyleSheets-Association --></div>
<!-- div1 StyleSheets -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='copyright-notice.html'>previous</a> &nbsp;
<a accesskey='n' href='css.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a></div>
</body>
</html>