Mozilla bug 1024447 - Part 1: Added srcset attribute. r=hsivonen.
authorYuki Sekiguchi <Yuki.Sekiguchi@access-company.com>
Thu, 12 Jun 2014 11:11:55 +0900
changeset 773 14192b7d74846ff3e11370d74e88968ff6e2e60e
parent 772 fa6e14ce604e16d4b1e45c7ea2bfa17bc0b82c61
child 774 a2b5da497f8390e7671e62643c4217c7006b5d79
push id114
push userhsivonen@mozilla.com
push dateWed, 18 Jun 2014 10:17:27 +0000
reviewershsivonen
bugs1024447
Mozilla bug 1024447 - Part 1: Added srcset attribute. r=hsivonen.
src/nu/validator/htmlparser/impl/AttributeName.java
--- a/src/nu/validator/htmlparser/impl/AttributeName.java
+++ b/src/nu/validator/htmlparser/impl/AttributeName.java
@@ -885,16 +885,17 @@ public final class AttributeName
     public static final AttributeName SRCDOC = new AttributeName(ALL_NO_NS, SAME_LOCAL("srcdoc"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName SCOPED = new AttributeName(ALL_NO_NS, SAME_LOCAL("scoped"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName STRING = new AttributeName(ALL_NO_NS, SAME_LOCAL("string"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName SCHEME = new AttributeName(ALL_NO_NS, SAME_LOCAL("scheme"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName STROKE = new AttributeName(ALL_NO_NS, SAME_LOCAL("stroke"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName RADIUS = new AttributeName(ALL_NO_NS, SAME_LOCAL("radius"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName RESULT = new AttributeName(ALL_NO_NS, SAME_LOCAL("result"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName REPEAT = new AttributeName(ALL_NO_NS, SAME_LOCAL("repeat"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
+    public static final AttributeName SRCSET = new AttributeName(ALL_NO_NS, SAME_LOCAL("srcset"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName RSPACE = new AttributeName(ALL_NO_NS, SAME_LOCAL("rspace"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName ROTATE = new AttributeName(ALL_NO_NS, SAME_LOCAL("rotate"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName RQUOTE = new AttributeName(ALL_NO_NS, SAME_LOCAL("rquote"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName ALTTEXT = new AttributeName(ALL_NO_NS, SAME_LOCAL("alttext"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName ARCHIVE = new AttributeName(ALL_NO_NS, SAME_LOCAL("archive"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName AZIMUTH = new AttributeName(ALL_NO_NS, SAME_LOCAL("azimuth"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName CLOSURE = new AttributeName(ALL_NO_NS, SAME_LOCAL("closure"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
     public static final AttributeName CHECKED = new AttributeName(ALL_NO_NS, SAME_LOCAL("checked"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG | CASE_FOLDED | BOOLEAN);
@@ -1467,16 +1468,17 @@ public final class AttributeName
     SRCDOC,
     SCOPED,
     STRING,
     SCHEME,
     STROKE,
     RADIUS,
     RESULT,
     REPEAT,
+    SRCSET,
     RSPACE,
     ROTATE,
     RQUOTE,
     ALTTEXT,
     ARCHIVE,
     AZIMUTH,
     CLOSURE,
     CHECKED,
@@ -2050,16 +2052,17 @@ public final class AttributeName
     224431494,
     224547358,
     224587256,
     224589550,
     224655650,
     224785518,
     224810917,
     224813302,
+    225126263,
     225429618,
     225432950,
     225440869,
     236107233,
     236709921,
     236838947,
     237117095,
     237143271,