Skip to content

Commit c2e0368

Browse files
committed
Added attribute crossorigin to head.xsd for linkTypes
1 parent c998238 commit c2e0368

File tree

1 file changed

+8
-0
lines changed
  • lib/internal/Magento/Framework/View/Layout/etc

1 file changed

+8
-0
lines changed

lib/internal/Magento/Framework/View/Layout/etc/head.xsd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
<xs:attribute name="type" type="xs:string"/>
2121
<xs:attribute name="order" type="xs:integer"/>
2222
<xs:attribute name="src_type" type="xs:string"/>
23+
<xs:attribute name="crossorigin">
24+
<xs:simpleType>
25+
<xs:restriction base="xs:string">
26+
<xs:enumeration value="anonymous" />
27+
<xs:enumeration value="use-credentials" />
28+
</xs:restriction>
29+
</xs:simpleType>
30+
</xs:attribute>
2331
<xs:attribute name="as">
2432
<xs:simpleType>
2533
<xs:restriction base="xs:string">

0 commit comments

Comments
 (0)