@@ -94,8 +94,8 @@ public enum ECSSMediaExpressionFeature implements IHasName
9494 _MS_VIEW_STATE ("-ms-view-state" ),
9595 _MOZ_MAX_DEVICE_PIXEL_RATIO ("-moz-max-device-pixel-ratio" ),
9696 _MOZ_MIN_DEVICE_PIXEL_RATIO ("-moz-min-device-pixel-ratio" ),
97- MAX_MOZ_DEVICE_PIXEL_RATION ("max--moz-device-pixel-ratio" ),
98- MIN_MOZ_DEVICE_PIXEL_RATION ("min--moz-device-pixel-ratio" ),
97+ MAX_MOZ_DEVICE_PIXEL_RATIO ("max--moz-device-pixel-ratio" ),
98+ MIN_MOZ_DEVICE_PIXEL_RATIO ("min--moz-device-pixel-ratio" ),
9999 _MOZ_IMAGES_IN_MENUS ("-moz-images-in-menus" ),
100100 _MOZ_MAC_GRAPHITE_THEME ("-moz-mac-graphite-theme" ),
101101 _MOZ_MAEMO_CLASSIC ("-moz-maemo-classic" ),
@@ -115,6 +115,14 @@ public enum ECSSMediaExpressionFeature implements IHasName
115115 _O_MAX_DEVICE_PIXEL_RATIO ("-o-max-device-pixel-ratio" ),
116116 _O_MIN_DEVICE_PIXEL_RATIO ("-o-min-device-pixel-ratio" );
117117
118+ // Old name with a typo
119+ @ Deprecated (forRemoval = true , since = "8.2.0" )
120+ public static final ECSSMediaExpressionFeature MAX_MOZ_DEVICE_PIXEL_RATION = MAX_MOZ_DEVICE_PIXEL_RATIO ;
121+
122+ // Old name with a typo
123+ @ Deprecated (forRemoval = true , since = "8.2.0" )
124+ public static final ECSSMediaExpressionFeature MIN_MOZ_DEVICE_PIXEL_RATION = MIN_MOZ_DEVICE_PIXEL_RATIO ;
125+
118126 private final String m_sName ;
119127
120128 ECSSMediaExpressionFeature (@ NonNull @ Nonempty final String sName )
@@ -133,35 +141,35 @@ public String getName ()
133141 }
134142
135143 /**
136- * @return <code>true</code> if this media expression feature is WebKit
137- * specific, <code>false</code> if not.
144+ * @return <code>true</code> if this media expression feature is WebKit specific,
145+ * <code>false</code> if not.
138146 */
139147 public boolean isWebkitSpecific ()
140148 {
141149 return m_sName .startsWith ("-webkit-" );
142150 }
143151
144152 /**
145- * @return <code>true</code> if this media expression feature is Mozilla
146- * specific, <code>false</code> if not.
153+ * @return <code>true</code> if this media expression feature is Mozilla specific,
154+ * <code>false</code> if not.
147155 */
148156 public boolean isMozillaSpecific ()
149157 {
150158 return m_sName .contains ("-moz-" );
151159 }
152160
153161 /**
154- * @return <code>true</code> if this media expression feature is Microsoft
155- * specific, <code>false</code> if not.
162+ * @return <code>true</code> if this media expression feature is Microsoft specific,
163+ * <code>false</code> if not.
156164 */
157165 public boolean isMicrosoftSpecific ()
158166 {
159167 return m_sName .startsWith ("-ms-" );
160168 }
161169
162170 /**
163- * @return <code>true</code> if this media expression feature is browser
164- * specific, <code>false</code> if not.
171+ * @return <code>true</code> if this media expression feature is browser specific,
172+ * <code>false</code> if not.
165173 */
166174 public boolean isBrowserSpecific ()
167175 {
0 commit comments