Skip to content
Permalink
Browse files

[e] (0) The quirky class/id selector matching case logic moved to sel…

…ectors

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

git-svn-id: http://svn.whatwg.org/webapps@8610 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed May 7, 2014
1 parent f8071e0 commit 1dbd5ea860ffc5c808201eaaccd9f45d2713a1a1
Showing with 17 additions and 30 deletions.
  1. +6 −10 complete.html
  2. +6 −10 index
  3. +5 −10 source
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 6 May 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>

<h4 id=case-sensitivity><span class=secno>4.15.1 </span>Case-sensitivity</h4>

<p>The Selectors specification leaves the case-sensitivity of IDs, classes, element names,
attribute names, and attribute values to be defined by the host language. <a href=#refsSELECTORS>[SELECTORS]</a></p>
<p>The Selectors specification leaves the case-sensitivity of element names, attribute names, and
attribute values to be defined by the host language. <a href=#refsSELECTORS>[SELECTORS]</a></p>

<p>The <a href=#concept-id title=concept-id>unique identifier</a> of <a href=#html-elements>HTML elements</a> in
documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> for the purposes of selector matching.</p>

<p>Classes from the <code title=attr-class><a href=#classes>class</a></code> attribute of <a href=#html-elements>HTML elements</a>
in documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> for the purposes of selector matching.</p>
<p class=note>The Selectors specification defines that ID and class selectors, when matched
against elements in documents that are in <a href=#quirks-mode>quirks mode</a>, will be work in an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a>.</p>

<p>When comparing a CSS element type selector to the names of <a href=#html-elements>HTML elements</a> in
<a href=#html-documents>HTML documents</a>, the CSS element type selector must first be <a href=#converted-to-ascii-lowercase>converted to ASCII
16 index
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 6 May 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>

<h4 id=case-sensitivity><span class=secno>4.15.1 </span>Case-sensitivity</h4>

<p>The Selectors specification leaves the case-sensitivity of IDs, classes, element names,
attribute names, and attribute values to be defined by the host language. <a href=#refsSELECTORS>[SELECTORS]</a></p>
<p>The Selectors specification leaves the case-sensitivity of element names, attribute names, and
attribute values to be defined by the host language. <a href=#refsSELECTORS>[SELECTORS]</a></p>

<p>The <a href=#concept-id title=concept-id>unique identifier</a> of <a href=#html-elements>HTML elements</a> in
documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> for the purposes of selector matching.</p>

<p>Classes from the <code title=attr-class><a href=#classes>class</a></code> attribute of <a href=#html-elements>HTML elements</a>
in documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> for the purposes of selector matching.</p>
<p class=note>The Selectors specification defines that ID and class selectors, when matched
against elements in documents that are in <a href=#quirks-mode>quirks mode</a>, will be work in an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a>.</p>

<p>When comparing a CSS element type selector to the names of <a href=#html-elements>HTML elements</a> in
<a href=#html-documents>HTML documents</a>, the CSS element type selector must first be <a href=#converted-to-ascii-lowercase>converted to ASCII
15 source

<h4>Case-sensitivity</h4>

<p>The Selectors specification leaves the case-sensitivity of IDs, classes, element names,
attribute names, and attribute values to be defined by the host language. <a
href="#refsSELECTORS">[SELECTORS]</a></p>
<p>The Selectors specification leaves the case-sensitivity of element names, attribute names, and
attribute values to be defined by the host language. <a href="#refsSELECTORS">[SELECTORS]</a></p>

<p>The <span data-x="concept-id">unique identifier</span> of <span>HTML elements</span> in
documents that are in <span>quirks mode</span> must be treated as <span>ASCII
case-insensitive</span> for the purposes of selector matching.</p>

<p>Classes from the <code data-x="attr-class">class</code> attribute of <span>HTML elements</span>
in documents that are in <span>quirks mode</span> must be treated as <span>ASCII
case-insensitive</span> for the purposes of selector matching.</p>
<p class="note">The Selectors specification defines that ID and class selectors, when matched
against elements in documents that are in <span>quirks mode</span>, will be work in an <span>ASCII
case-insensitive</span>.</p>

<p>When comparing a CSS element type selector to the names of <span>HTML elements</span> in
<span>HTML documents</span>, the CSS element type selector must first be <span>converted to ASCII

0 comments on commit 1dbd5ea

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