File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1716,9 +1716,11 @@ Attribute Value Substitution: the ''attr()'' notation</h4>
1716
1716
Let |fallback| be the <<declaration-value>> ? argument specified in the function,
1717
1717
or the [=guaranteed-invalid value=] if it was omitted.
1718
1718
1719
- 2. If there is no attribute named |attr name| on |el|,
1720
- return the [=guaranteed-invalid value=] and |fallback|.
1721
- Otherwise, let |attr value| be that attribute's value.
1719
+ 2. Let |attr value| be the value of the |attr name| attribute on |el|.
1720
+
1721
+ If such an attribute does not exist,
1722
+ return an empty CSS string if |syntax| is null,
1723
+ or the [=guaranteed-invalid value=] and |fallback| otherwise.
1722
1724
1723
1725
3. If |syntax| is null,
1724
1726
return a CSS <<string>>
You can’t perform that action at this time.
0 commit comments