Skip to content

Commit

Permalink
[e] (0) The quirky class/id selector matching case logic moved to sel…
Browse files Browse the repository at this point in the history
…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 1dbd5ea
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 30 deletions.
16 changes: 6 additions & 10 deletions complete.html
Expand Up @@ -290,7 +290,7 @@
</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>
Expand Down Expand Up @@ -61086,16 +61086,12 @@ <h3 id=selectors><span class=secno>4.15 </span>Matching HTML elements using sele

<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
Expand Down
16 changes: 6 additions & 10 deletions index
Expand Up @@ -290,7 +290,7 @@
</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>
Expand Down Expand Up @@ -61086,16 +61086,12 @@ contradict people?

<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
Expand Down
15 changes: 5 additions & 10 deletions source
Expand Up @@ -67899,17 +67899,12 @@ contradict people?

<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
Expand Down

0 comments on commit 1dbd5ea

Please sign in to comment.