Skip to content

Commit 96de387

Browse files
committed
Drop lowercasing of PI attribute names
1 parent 4f28c0a commit 96de387

1 file changed

Lines changed: 6 additions & 23 deletions

File tree

dom.bs

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8636,8 +8636,6 @@ method steps are:
86368636
<li><p>If <var>name</var> is not a <a>valid attribute local name</a>, then <a>throw</a> an
86378637
"{{InvalidCharacterError!!exception}}" {{DOMException}}.
86388638

8639-
<li><p>Set <var>name</var> to <var>name</var> in <a>ASCII lowercase</a>.
8640-
86418639
<li><p><a for=map>Set</a> <a>this</a>'s
86428640
<a for=ProcessingInstruction>attribute map</a>[<var>name</var>] to <var>value</var>.
86438641

@@ -8650,8 +8648,6 @@ method steps are:
86508648
method steps are:
86518649

86528650
<ol>
8653-
<li><p>Set <var>name</var> to <var>name</var> in <a>ASCII lowercase</a>.
8654-
86558651
<li><p><a for=map>Remove</a> <a>this</a>'s
86568652
<a for=ProcessingInstruction>attribute map</a>[<var>name</var>].
86578653

@@ -8668,8 +8664,6 @@ method steps are:
86688664
<li><p>If <var>name</var> is not a <a>valid attribute local name</a>, then <a>throw</a> an
86698665
"{{InvalidCharacterError!!exception}}" {{DOMException}}.
86708666

8671-
<li><p>Set <var>name</var> to <var>name</var> in <a>ASCII lowercase</a>.
8672-
86738667
<li><p>Let <var>attributes</var> be <a>this</a>'s <a for=ProcessingInstruction>attribute map</a>.
86748668

86758669
<li>
@@ -8693,14 +8687,9 @@ method steps are:
86938687

86948688
<div algorithm>
86958689
<p>The <dfn method for=ProcessingInstruction><code>hasAttribute(<var>name</var>)</code></dfn>
8696-
method steps are:
8697-
8698-
<ol>
8699-
<li><p>Set <var>name</var> to <var>name</var> in <a>ASCII lowercase</a>.
8700-
8701-
<li><p>Return true if <a>this</a>'s <a for=ProcessingInstruction>attribute map</a>[<var>name</var>]
8702-
<a for=set>exists</a>; otherwise false.
8703-
</ol>
8690+
method steps are to return true if <a>this</a>'s
8691+
<a for=ProcessingInstruction>attribute map</a>[<var>name</var>] <a for=set>exists</a>; otherwise
8692+
false.
87048693
</div>
87058694

87068695
<div algorithm>
@@ -8782,15 +8771,9 @@ method steps are:
87828771

87838772
<div algorithm>
87848773
<p>To <dfn export id=concept-pi-get-attribute>get a processing instruction attribute</dfn>, given a
8785-
{{ProcessingInstruction}} <a for=/>node</a> <var>pi</var> and a string <var>name</var>:
8786-
8787-
<ol>
8788-
<li><p>Let <var>lowercaseName</var> be <var>name</var> in <a>ASCII lowercase</a>.
8789-
8790-
<li><p>Return <var>pi</var>'s
8791-
<a for=ProcessingInstruction>attribute map</a>[<var>lowercaseName</var>]
8792-
<a for=map>with default</a> null.
8793-
</ol>
8774+
{{ProcessingInstruction}} <a for=/>node</a> <var>pi</var> and a string <var>name</var>, return
8775+
<var>pi</var>'s <a for=ProcessingInstruction>attribute map</a>[<var>name</var>]
8776+
<a for=map>with default</a> null.
87948777
</div>
87958778

87968779

0 commit comments

Comments
 (0)