<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><refs xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> <cite xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 2318</anchor> - The text/css Media Type</cite> (<time>2013-09-22 00:11:41 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://tools.ietf.org/html/rfc2318">http://tools.ietf.org/html/rfc2318</anchor-external></li></ul></refs><p><strong>The text/css Media Type <ins>text/css <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="media type"></replace></ins></strong><ul><li>Network Working Group                                             </li><li>Request for Comments: 2318                                        </li><li>Category: Informational                                        </li><li>H. Lie</li><li>B. Bos</li><li>C. Lilley</li><li>W3C</li><li>March 1998</li></ul></p><section><h1>Status of this Memo</h1><blockquote><p>This memo provides information for the Internet community.  It does
not specify an Internet standard of any kind.  Distribution of this
memo is unlimited.</p></blockquote></section><section><h1>Copyright Notice</h1><blockquote><p>Copyright (C) The Internet Society (1998).  All Rights Reserved.</p></blockquote></section><section><h1>Abstract <ins>概要</ins></h1><blockquote><p>Cascading Style Sheets (CSS) is a style sheet language for the World
Wide Web. CSS style sheets have been in use since October 1995 using
the Media Type text/css without registration; this memo seeks to
regularize that position.</p></blockquote><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="cascading style sheet"></replace><p>は1995年10月より登録無しで<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="media type"></replace>
<code>text/css</code> を使ってきました。このメモはその立場を正当化します。</p></section><section><h1>1.  Introduction <ins>はじめに</ins></h1><blockquote><p>The World Wide Web Consortium has issued a Recommendation [1], which
defines Cascading Style Sheets, level 1. This memo provides
information about the text/css Media Type.</p></blockquote><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="11" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[11]</anchor-end> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="World Wide Web Consortium"></replace>は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="cascading style sheets"></replace>水準1を定義する<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="Recommendation"></replace>
[<anchor-internal xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">&gt;&gt;1</anchor-internal>] を発行しました。
このメモは <code>text/css</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="media type"></replace>についての情報を提供します。</p></section><section><h1>2.  Cascading Style Sheets <ins><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="cascading style sheets"></replace></ins></h1><blockquote><p>Cascading Style Sheets (CSS) is a style sheet language for the World
Wide Web. It describes the presentation (e.g. fonts, colors and
spacing) of structured documents. CSS is human readable and writable,
and expresses style in common desktop publishing terminology.</p></blockquote><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="12" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[12]</anchor-end> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="cascading style sheets"></replace> (CSS)
は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="World Wide Web"></replace>向けの<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>言語です。
CSS は構造化文書の表現 (例えば<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="font"></replace>, 色や間隔)
を記述します。 CSS は人間が読み書きでき、
共通の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="desktop publishing"></replace>用語で<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style"></replace>を表現します。</p><blockquote><p>CSS style sheets have been in use since October 1995 using the Media
Type text/css without registration; this memo seeks to regularize
that position.</p></blockquote><p>CSS <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>は1995年10月から登録無しに<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="media type"></replace>
<code>text/css</code> を使ってきました。
このメモはその立場を正当化しようとするものです。</p><blockquote><p>A CSS style sheet can be either:</p></blockquote><p>CSS <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>は、</p><blockquote><p>(1) external - the style sheet is linked to a document through a
URI and exists as a separate object on the Web. The media type
text/css is used when fetching the object, for example in the
Content-Type and Accept header fields of HTTP [2].</p></blockquote><p>一、外部: <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>は URI を使って文書に<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="link"></replace>され、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="Web"></replace>で異なる<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="object"></replace>として存在する。
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="media type"></replace> <code>text/css</code> は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="object"></replace>を取り寄せる時に、例えば
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTTP</anchor> の <code class="HTTP">Content-Type</code>・<code class="HTTP">Accept</code> 
両<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="header"></replace><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="field"></replace>で使う。</p><blockquote><p>(2) internal - the style sheet is contained within the document. A
typical scenario is an HTML [3] document that contains a style
sheet within the STYLE element. Due to this close relationship,
HTML and CSS share the same top-level name (&quot;text&quot;).</p></blockquote><p>二、内部: <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>は文書中に含まれる。
典型的には、 <code class="HTML">STYLE</code> 
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>中に<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>を含む
HTML [<anchor-internal xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">&gt;&gt;3</anchor-internal>] 文書。この密接な関係のために、 HTML と CSS
は共に同じ<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="top level"></replace>名 (<code class="ABNF">&quot;text&quot;</code>)
を共有しています。<insert xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><p xmlns="http://www.w3.org/1999/xhtml">訳注: ほんとかよ?</p></insert></p><p>のいずれかです。</p></section><section><h1>4.  Registration Information <ins>登録情報</ins></h1><pre>       To: ietf-types@iana.org
       Subject: Registration of MIME media type text/css</pre><pre>       MIME media type name: text</pre><pre>       MIME subtype name: css</pre><pre>       Required parameters: none</pre><pre>       Optional parameters: charset</pre><pre>       The syntax of CSS is expressed in US-ASCII, but a CSS file can
       contain strings which may use any Unicode character. Any charset
       that is a superset of US-ASCII may be used; US-ASCII, iso-8859-X
       and utf-8 are recommended.</pre><p>CSS の構文は <code class="charset">US-ASCII</code> で表現しますが、
CSS <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>に含まれる文字列はどの Unicode 文字をも含めることが出来ます。
<code class="charset">US-ASCII</code> の上位集合であるどんな charset
でも使って構いません。 <code class="charset">US-ASCII</code>,
iso-8859-<var>X</var>, <code class="charset">utf-8</code>
を推奨します。</p><pre>   Encoding considerations:</pre><pre>       For use with transports that are not 8-bit clean, 
       quoted-printable encoding is recommended since the majority of
       characters will be CSS syntax and thus US-ASCII</pre><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="8-bit clean"></replace><p>でない転送路で使う時には、文字の大部分は CSS
構文であることから <code class="charset">US-ASCII</code> なので、
quoted-printable 符号化を推奨します。</p><pre>   Security considerations:</pre><pre>       Applying a style sheet to a document may hide information
       otherwise visible. For example, a very small font size may be
       specified, or the display of certain document elements may be
       turned off.</pre><p>文書に<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>を適用することで、そうしなければ見えていた情報を隠してしまうかもしれません。
例えば、非常に小さい<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="font size"></replace>が指定されているかもしれませんし、
ある文書要素の表示をしないようにしているかもしれません。</p><pre>       CSS style sheets consist of declarative property/value pairs
       assigned to element selectors. They contain no executable code.</pre><p>CSS <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="selector"></replace>に割当てられた<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="property"></replace>・値の組の宣言で構成します。</p><pre>       As with HTML documents, CSS style sheets may contain links to
       other media (images, sounds, fonts, other style sheets) and those
       links are typically followed automatically by software, resulting
       in the transfer of files without the explicit request of the user
       for each one. The security considerations of each linked file are
       those of the individual registered types.</pre><p>HTML 文書と併用することで、 CSS <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>は他の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="media"></replace>
(画像, 音声, <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="font"></replace>, 他の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="style sheet"></replace>)
への<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="link"></replace>を含めることが出来て、そうしたリンクは典型的にソフトウェアにより自動的に辿られるようになっており、
結果として利用者が陽に要求することなしに<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>が転送されることになります。
各被<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="link"></replace><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>の安全性についてはそれぞれの登録型のものです。</p><pre>   Interoperability considerations:</pre><pre>       CSS has proven to be widely interoperable across computer
       platforms, across Web browsers of different makes, and for import
       and export in multiple authoring tools.</pre><p>CSS は計算機<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="platform"></replace>, 異なる作りの<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="Web"></replace><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>,
複数の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="authoring tool"></replace>の入出力を越えて広く相互運用可能であることが証明されています。</p><pre>   Published specification: see [1]</pre><pre>   Applications which use this media type:</pre><p>この<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="media type"></replace>を使う応用:</p><pre>       CSS is device-, platform- and vendor-neutral and is supported by
       a wide range of Web user agents and authoring tools for
       formatting HTML and XML documents.</pre><p>CSS は機器・<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="platform"></replace>・販売者に対して中立であり、
広範囲の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="Web"></replace><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="user agent"></replace>及び<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="authoring tool"></replace>が
HTML や XML の文書を整形するのに対応しています。</p><pre>   Additional information:</pre><pre>       Magic number(s): none
       File extension(s): .css
       Macintosh File Type Code(s): &quot;css &quot;
       Object Identifier(s) or OID(s): none</pre><pre>   Person &amp; email address to contact for further information:</pre><pre>       The authors of this memo.</pre><pre>   Intended usage: COMMON</pre><pre>     Author/Change controller:</pre></section><section><h1>5.  References <ins>参考文献</ins></h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end>  Lie, H., and B. Bos, &quot;Cascading Style Sheets, level 1&quot;,
W3C Recommendation REC-CSS1-961217, <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/REC-CSS1-961217">http://www.w3.org/TR/REC-CSS1-961217</anchor-external>, December 1996.</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end>  Fielding, R., Gettys, J., Mogul, J., Nielsen, H., and T.
Berners-Lee, &quot;Hypertext Transfer Protocol -- HTTP/1.1&quot;, RFC
2068, January 1997.</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end>  Raggett, D., Le Hors, A. and I. Jacobs, &quot;HTML 4.0
Specification&quot;, W3C Recommendation REC-html40-971218,
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/REC-html40">http://www.w3.org/TR/REC-html40</anchor-external>, December 1997.</p></section><section><h1>6.  Authors' Addresses</h1><pre>   Hakon Lie
   W3C/INRIA
   2004, route des Lucioles - B.P. 93
   06902 Sophia Antipolis Cedex
   FRANCE</pre><pre>   Phone: +33 (0)492387771
   Fax:   +33 (0)493657765
   EMail: howcome@w3.org</pre><pre>   Bert Bos
   2004, route des Lucioles - B.P. 93
   06902 Sophia Antipolis Cedex
   FRANCE</pre><pre>   Phone: +33 (0)492387692
   Fax:   +33 (0)493657765
   EMail: bert@w3.org</pre><pre>   Chris Lilley
   2004, route des Lucioles - B.P. 93
   06902 Sophia Antipolis Cedex
   FRANCE</pre><pre>   Phone: +33 (0)492387987
   Fax:   +33 (0)493657765
   EMail: chris@w3.org</pre></section><section><h1>7.  Full Copyright Statement</h1><blockquote><p>Copyright (C) The Internet Society (1998).  All Rights Reserved.
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="RFCFullCopyright"></replace></p></blockquote></section><section><h1>License</h1><p><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFCのライセンス</anchor>。</p></section><section><h1>メモ</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="16" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[16]</anchor-end> このメモが参照している <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTTP/1.1</anchor> の仕様書、 <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC2068</anchor> は、後に <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC2616</anchor> に改訂されました。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="17" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[17]</anchor-end> このメモが参照している <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTML4.0</anchor> は、
後に <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTML4.01</anchor> に改訂されました。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="18" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[18]</anchor-end> このメモは <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CSS1</anchor> を参照していますが、
既に <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CSS2</anchor> も規定されています。</p></section></body></html>