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

 - Merge Pull Request #20495 from vasilii-b/magento2:2.3-framework-view-element-css-attribute-as
 - Merged commits:
   1. 57f6957
  • Loading branch information
magento-engcom-team committed Jan 31, 2019
2 parents 97fd70f + 57f6957 commit fc3f90b
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 fc3f90b

Please sign in to comment.