Bug 1024447 - Part 6: Retranslated html parser. r=hsivonen.

This commit is contained in:
Yuki Sekiguchi
2014-06-12 13:37:49 +09:00
parent 8a9d4d8576
commit 44e726274c
6 changed files with 299 additions and 289 deletions

View File

@@ -1013,6 +1013,7 @@ public final class AttributeName
public static final AttributeName FILL_RULE = new AttributeName(ALL_NO_NS, SAME_LOCAL("fill-rule"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG); public static final AttributeName FILL_RULE = new AttributeName(ALL_NO_NS, SAME_LOCAL("fill-rule"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName FONTSTYLE = new AttributeName(ALL_NO_NS, SAME_LOCAL("fontstyle"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG); public static final AttributeName FONTSTYLE = new AttributeName(ALL_NO_NS, SAME_LOCAL("fontstyle"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName FONT_SIZE = new AttributeName(ALL_NO_NS, SAME_LOCAL("font-size"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG); public static final AttributeName FONT_SIZE = new AttributeName(ALL_NO_NS, SAME_LOCAL("font-size"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName KEYSYSTEM = new AttributeName(ALL_NO_NS, SAME_LOCAL("keysystem"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName KEYPOINTS = new AttributeName(ALL_NO_NS, SVG_DIFFERENT("keypoints", "keyPoints"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG); public static final AttributeName KEYPOINTS = new AttributeName(ALL_NO_NS, SVG_DIFFERENT("keypoints", "keyPoints"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName HIDEFOCUS = new AttributeName(ALL_NO_NS, SAME_LOCAL("hidefocus"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG); public static final AttributeName HIDEFOCUS = new AttributeName(ALL_NO_NS, SAME_LOCAL("hidefocus"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName ONMESSAGE = new AttributeName(ALL_NO_NS, SAME_LOCAL("onmessage"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG); public static final AttributeName ONMESSAGE = new AttributeName(ALL_NO_NS, SAME_LOCAL("onmessage"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
@@ -1596,6 +1597,7 @@ public final class AttributeName
FILL_RULE, FILL_RULE,
FONTSTYLE, FONTSTYLE,
FONT_SIZE, FONT_SIZE,
KEYSYSTEM,
KEYPOINTS, KEYPOINTS,
HIDEFOCUS, HIDEFOCUS,
ONMESSAGE, ONMESSAGE,
@@ -2180,6 +2182,7 @@ public final class AttributeName
310252031, 310252031,
310358241, 310358241,
310373094, 310373094,
310833159,
311015256, 311015256,
313357609, 313357609,
313683893, 313683893,

View File

@@ -168,7 +168,6 @@ HTML5_ATOM(order, "order")
HTML5_ATOM(other, "other") HTML5_ATOM(other, "other")
HTML5_ATOM(oncut, "oncut") HTML5_ATOM(oncut, "oncut")
HTML5_ATOM(nargs, "nargs") HTML5_ATOM(nargs, "nargs")
HTML5_ATOM(keysystem, "keysystem")
HTML5_ATOM(media, "media") HTML5_ATOM(media, "media")
HTML5_ATOM(label, "label") HTML5_ATOM(label, "label")
HTML5_ATOM(local, "local") HTML5_ATOM(local, "local")
@@ -365,6 +364,7 @@ HTML5_ATOM(filterRes, "filterRes")
HTML5_ATOM(fill_rule, "fill-rule") HTML5_ATOM(fill_rule, "fill-rule")
HTML5_ATOM(fontstyle, "fontstyle") HTML5_ATOM(fontstyle, "fontstyle")
HTML5_ATOM(font_size, "font-size") HTML5_ATOM(font_size, "font-size")
HTML5_ATOM(keysystem, "keysystem")
HTML5_ATOM(keypoints, "keypoints") HTML5_ATOM(keypoints, "keypoints")
HTML5_ATOM(keyPoints, "keyPoints") HTML5_ATOM(keyPoints, "keyPoints")
HTML5_ATOM(hidefocus, "hidefocus") HTML5_ATOM(hidefocus, "hidefocus")

File diff suppressed because one or more lines are too long

View File

@@ -388,6 +388,7 @@ class nsHtml5AttributeName
static nsHtml5AttributeName* ATTR_FILL_RULE; static nsHtml5AttributeName* ATTR_FILL_RULE;
static nsHtml5AttributeName* ATTR_FONTSTYLE; static nsHtml5AttributeName* ATTR_FONTSTYLE;
static nsHtml5AttributeName* ATTR_FONT_SIZE; static nsHtml5AttributeName* ATTR_FONT_SIZE;
static nsHtml5AttributeName* ATTR_KEYSYSTEM;
static nsHtml5AttributeName* ATTR_KEYPOINTS; static nsHtml5AttributeName* ATTR_KEYPOINTS;
static nsHtml5AttributeName* ATTR_HIDEFOCUS; static nsHtml5AttributeName* ATTR_HIDEFOCUS;
static nsHtml5AttributeName* ATTR_ONMESSAGE; static nsHtml5AttributeName* ATTR_ONMESSAGE;

View File

@@ -44,6 +44,7 @@
#include "nsHtml5Parser.h" #include "nsHtml5Parser.h"
#include "nsHtml5Atoms.h" #include "nsHtml5Atoms.h"
#include "nsHtml5TreeOperation.h" #include "nsHtml5TreeOperation.h"
#include "nsHtml5PendingNotification.h"
#include "nsHtml5StateSnapshot.h" #include "nsHtml5StateSnapshot.h"
#include "nsHtml5StackNode.h" #include "nsHtml5StackNode.h"
#include "nsHtml5TreeOpExecutor.h" #include "nsHtml5TreeOpExecutor.h"

View File

@@ -45,6 +45,7 @@
#include "nsHtml5Parser.h" #include "nsHtml5Parser.h"
#include "nsHtml5Atoms.h" #include "nsHtml5Atoms.h"
#include "nsHtml5TreeOperation.h" #include "nsHtml5TreeOperation.h"
#include "nsHtml5PendingNotification.h"
#include "nsHtml5StateSnapshot.h" #include "nsHtml5StateSnapshot.h"
#include "nsHtml5StackNode.h" #include "nsHtml5StackNode.h"
#include "nsHtml5TreeOpExecutor.h" #include "nsHtml5TreeOpExecutor.h"