Skip to content
Permalink
Browse files

[giow] (3) Define how <link charset> works.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23684
Affected topics: CSS, HTML

git-svn-id: http://svn.whatwg.org/webapps@8391 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Jan 13, 2014
1 parent cc5fa75 commit 29e0e33f0404d7a293d7f08f32a083f2db0c51f6
Showing with 51 additions and 4 deletions.
  1. +15 −2 complete.html
  2. +15 −2 index
  3. +21 −0 source
<li><dfn id=scroll-to-the-beginning-of-the-document>Scroll to the beginning of the document</dfn></li>
<li>The <dfn id=event-resize title=event-resize><code>resize</code></dfn> event</li>
<li>The <dfn id=event-scroll title=event-scroll><code>scroll</code></dfn> event</li>
</ul><p>The term <dfn id=css-styling-attribute>CSS styling attribute</dfn> is defined in the <cite>CSS Style Attributes</cite>
</ul><p>The term <dfn id=environment-encoding>environment encoding</dfn> is defined in the <cite>CSS Syntax</cite>
specifications. <a href=#refsCSSSYNTAX>[CSSSYNTAX]</a></p>

<p>The term <dfn id=css-styling-attribute>CSS styling attribute</dfn> is defined in the <cite>CSS Style Attributes</cite>
specification. <a href=#refsCSSATTR>[CSSATTR]</a></p>

<p>The <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's use of fonts depends on the features
<dt><a href=#concept-css-style-sheet-css-rules title=concept-css-style-sheet-CSS-rules>CSS rules</a></dt>
<dd><p>Left uninitialized.</dd>

</dl></li>
</dl><p>The CSS <a href=#environment-encoding>environment encoding</a> is the result of running the following steps: <a href=#refsCSSSYNTAX>[CSSSYNTAX]</a></p>

<ol><li><p>If the element has a <code title=attr-link-charset><a href=#attr-link-charset>charset</a></code> attribute, <a href=#getting-an-encoding title="getting an encoding">get an encoding</a> from that attribute's value. If that
succeeds, return the resulting encoding and abort these steps. <a href=#refsENCODING>[ENCODING]</a></li>

<li><p>Otherwise, return the <a href="#document's-character-encoding">document's character encoding</a>. <a href=#refsDOM>[DOM]</a></li>

</ol></li>

</ol></div>
<!--REMOVE-TOPIC:CSS-->
<dt id=refsCSSSCOPED>[CSSSCOPED]</dt>
<dd><cite>CSS Scoped Style Sheets</cite>, T. Atkins. Your Imagination.</dd>

<dt id=refsCSSSYNTAX>[CSSSYNTAX]</dt>
<dd><cite><a href=http://dev.w3.org/csswg/css-syntax/>CSS Syntax</a></cite>, T. Atkins, S. Sapin. W3C.</dd>

<dt id=refsCSSVALUES>[CSSVALUES]</dt>
<dd><cite><a href=http://dev.w3.org/csswg/css3-values/>CSS3 Values and Units</a></cite>, H. Lie, T. Atkins, E. Etemad. W3C.</dd>

17 index
<li><dfn id=scroll-to-the-beginning-of-the-document>Scroll to the beginning of the document</dfn></li>
<li>The <dfn id=event-resize title=event-resize><code>resize</code></dfn> event</li>
<li>The <dfn id=event-scroll title=event-scroll><code>scroll</code></dfn> event</li>
</ul><p>The term <dfn id=css-styling-attribute>CSS styling attribute</dfn> is defined in the <cite>CSS Style Attributes</cite>
</ul><p>The term <dfn id=environment-encoding>environment encoding</dfn> is defined in the <cite>CSS Syntax</cite>
specifications. <a href=#refsCSSSYNTAX>[CSSSYNTAX]</a></p>

<p>The term <dfn id=css-styling-attribute>CSS styling attribute</dfn> is defined in the <cite>CSS Style Attributes</cite>
specification. <a href=#refsCSSATTR>[CSSATTR]</a></p>

<p>The <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's use of fonts depends on the features
<dt><a href=#concept-css-style-sheet-css-rules title=concept-css-style-sheet-CSS-rules>CSS rules</a></dt>
<dd><p>Left uninitialized.</dd>

</dl></li>
</dl><p>The CSS <a href=#environment-encoding>environment encoding</a> is the result of running the following steps: <a href=#refsCSSSYNTAX>[CSSSYNTAX]</a></p>

<ol><li><p>If the element has a <code title=attr-link-charset><a href=#attr-link-charset>charset</a></code> attribute, <a href=#getting-an-encoding title="getting an encoding">get an encoding</a> from that attribute's value. If that
succeeds, return the resulting encoding and abort these steps. <a href=#refsENCODING>[ENCODING]</a></li>

<li><p>Otherwise, return the <a href="#document's-character-encoding">document's character encoding</a>. <a href=#refsDOM>[DOM]</a></li>

</ol></li>

</ol></div>
<!--REMOVE-TOPIC:CSS-->
<dt id=refsCSSSCOPED>[CSSSCOPED]</dt>
<dd><cite>CSS Scoped Style Sheets</cite>, T. Atkins. Your Imagination.</dd>

<dt id=refsCSSSYNTAX>[CSSSYNTAX]</dt>
<dd><cite><a href=http://dev.w3.org/csswg/css-syntax/>CSS Syntax</a></cite>, T. Atkins, S. Sapin. W3C.</dd>

<dt id=refsCSSVALUES>[CSSVALUES]</dt>
<dd><cite><a href=http://dev.w3.org/csswg/css3-values/>CSS3 Values and Units</a></cite>, H. Lie, T. Atkins, E. Etemad. W3C.</dd>

21 source
<li>The <dfn data-x="event-scroll"><code>scroll</code></dfn> event</li>
</ul>

<p>The term <dfn>environment encoding</dfn> is defined in the <cite>CSS Syntax</cite>
specifications. <a href="#refsCSSSYNTAX">[CSSSYNTAX]</a></p>

<p>The term <dfn>CSS styling attribute</dfn> is defined in the <cite>CSS Style Attributes</cite>
specification. <a href="#refsCSSATTR">[CSSATTR]</a></p>


</dl>

<p>The CSS <span>environment encoding</span> is the result of running the following steps: <a
href="#refsCSSSYNTAX">[CSSSYNTAX]</a></p>

<ol>

<li><p>If the element has a <code data-x="attr-link-charset">charset</code> attribute, <span
data-x="getting an encoding">get an encoding</span> from that attribute's value. If that
succeeds, return the resulting encoding and abort these steps. <a
href="#refsENCODING">[ENCODING]</a></p></li>

<li><p>Otherwise, return the <span>document's character encoding</span>. <a
href="#refsDOM">[DOM]</a></p></li>

</ol>

</li>

</ol>
<dt id="refsCSSSCOPED">[CSSSCOPED]</dt>
<dd><cite>CSS Scoped Style Sheets</cite>, T. Atkins. Your Imagination.</dd>

<dt id="refsCSSSYNTAX">[CSSSYNTAX]</dt>
<dd><cite><a href="http://dev.w3.org/csswg/css-syntax/">CSS Syntax</a></cite>, T. Atkins, S. Sapin. W3C.</dd>

<dt id="refsCSSVALUES">[CSSVALUES]</dt>
<dd><cite><a href="http://dev.w3.org/csswg/css3-values/">CSS3 Values and Units</a></cite>, H. Lie, T. Atkins, E. Etemad. W3C.</dd>

0 comments on commit 29e0e33

Please sign in to comment.
You can’t perform that action at this time.