Skip to content

Commit 8c1b607

Browse files
aaronjorbinAurelioDeRosa
authored andcommitted
Link to W3C for unquoted single word
Unquoted single word has a specific definition in this case that is not succinct. A link to the spec helps developers understand what is meant. Fixes jquerygh-910 Ref jquery/jquery#2824 Closes jquerygh-911
1 parent 068d23e commit 8c1b607

7 files changed

+7
-7
lines changed

entries/attribute-contains-prefix-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<desc>An attribute name.</desc>
99
</argument>
1010
<argument name="value" type="String">
11-
<desc>An attribute value. Can be either an unquoted single word or a quoted string.</desc>
11+
<desc>An attribute value. Can be either an <a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors">unquoted single word</a> or a quoted string.</desc>
1212
</argument>
1313
</signature>
1414
<desc>Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).</desc>

entries/attribute-contains-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<desc>An attribute name.</desc>
99
</argument>
1010
<argument name="value" type="String">
11-
<desc>An attribute value. Can be either an unquoted single word or a quoted string.</desc>
11+
<desc>An attribute value. Can be either an <a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors">unquoted single word</a> or a quoted string.</desc>
1212
</argument>
1313
</signature>
1414
<desc>Selects elements that have the specified attribute with a value containing a given substring.</desc>

entries/attribute-contains-word-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<desc>An attribute name.</desc>
99
</argument>
1010
<argument name="value" type="String">
11-
<desc>An attribute value. Can be either an unquoted single word or a quoted string.</desc>
11+
<desc>An attribute value. Can be either an <a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors">unquoted single word</a> or a quoted string.</desc>
1212
</argument>
1313
</signature>
1414
<desc>Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.</desc>

entries/attribute-ends-with-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<desc>An attribute name.</desc>
99
</argument>
1010
<argument name="value" type="String">
11-
<desc>An attribute value. Can be either an unquoted single word or a quoted string.</desc>
11+
<desc>An attribute value. Can be either an <a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors">unquoted single word</a> or a quoted string.</desc>
1212
</argument>
1313
</signature>
1414
<desc>Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.</desc>

entries/attribute-equals-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<desc>An attribute name.</desc>
99
</argument>
1010
<argument name="value" type="String">
11-
<desc>An attribute value. <strong>Can be either an unquoted single word or a quoted string.</strong></desc>
11+
<desc>An attribute value. <strong>Can be either an <a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors">unquoted single word</a> or a quoted string.</strong></desc>
1212
</argument>
1313
</signature>
1414
<desc>Selects elements that have the specified attribute with a value exactly equal to a certain value.</desc>

entries/attribute-not-equal-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<desc>An attribute name.</desc>
99
</argument>
1010
<argument name="value" type="String">
11-
<desc>An attribute value. Can be either an unquoted single word or a quoted string.</desc>
11+
<desc>An attribute value. Can be either an <a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors">unquoted single word</a> or a quoted string.</desc>
1212
</argument>
1313
</signature>
1414
<desc>Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value.</desc>

entries/attribute-starts-with-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<desc>An attribute name.</desc>
99
</argument>
1010
<argument name="value" type="String">
11-
<desc>An attribute value. Can be either an unquoted single word or a quoted string.</desc>
11+
<desc>An attribute value. Can be either an <a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors">unquoted single word</a> or a quoted string.</desc>
1212
</argument>
1313
</signature>
1414
<desc>Selects elements that have the specified attribute with a value beginning exactly with a given string.</desc>

0 commit comments

Comments
 (0)