Skip to content

Commit

Permalink
ENGCOM-3932: #18347 - Element 'css', attribute 'as': The attribute 'a…
Browse files Browse the repository at this point in the history
…s' is not allowed. (CSS preloading) #20495
  • Loading branch information
sidolov authored Feb 13, 2019
2 parents 16c3d57 + fc3f90b commit 8523755
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/internal/Magento/Framework/View/Layout/etc/head.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="order" type="xs:integer"/>
<xs:attribute name="src_type" type="xs:string"/>
<xs:attribute name="as">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="font" />
<xs:enumeration value="script" />
<xs:enumeration value="style" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>

<xs:complexType name="metaType">
Expand Down

0 comments on commit 8523755

Please sign in to comment.