Skip to content

Commit

Permalink
made attributes nillable so we can reset parent settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Quissens committed Apr 5, 2018
1 parent fbd4188 commit ca47981
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/internal/Magento/Framework/Config/etc/view.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
<xs:element name="image" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="width" type="xs:positiveInteger" minOccurs="0"/>
<xs:element name="height" type="xs:positiveInteger" minOccurs="0"/>
<xs:element name="constrain" type="xs:boolean" minOccurs="0"/>
<xs:element name="aspect_ratio" type="xs:boolean" minOccurs="0"/>
<xs:element name="frame" type="xs:boolean" minOccurs="0"/>
<xs:element name="transparency" type="xs:boolean" minOccurs="0"/>
<xs:element name="width" type="xs:positiveInteger" minOccurs="0" nillable="true"/>
<xs:element name="height" type="xs:positiveInteger" minOccurs="0" nillable="true"/>
<xs:element name="constrain" type="xs:boolean" minOccurs="0" nillable="true"/>
<xs:element name="aspect_ratio" type="xs:boolean" minOccurs="0" nillable="true"/>
<xs:element name="frame" type="xs:boolean" minOccurs="0" nillable="true"/>
<xs:element name="transparency" type="xs:boolean" minOccurs="0" nillable="true"/>
<xs:element name="background" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
Expand Down

0 comments on commit ca47981

Please sign in to comment.