Make marquee tag a block level element. b=154173, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124152 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -802,6 +802,15 @@ void InitializeElementTable(void) {
|
||||
/*parent,incl,exclgroups*/ kSpecial, kInlineEntity|kBlockEntity, kNone,
|
||||
/*special props, prop-range*/ kOmitWS, kDefaultPropRange,
|
||||
/*special parents,kids,skip*/ 0,&gMapKids,eHTMLTag_unknown);
|
||||
|
||||
Initialize(
|
||||
/*tag*/ eHTMLTag_marquee,
|
||||
/*req-parent excl-parent*/ eHTMLTag_unknown,eHTMLTag_unknown,
|
||||
/*rootnodes,endrootnodes*/ &gRootTags,&gRootTags,
|
||||
/*autoclose starttags and endtags*/ 0,0,0,0,
|
||||
/*parent,incl,exclgroups*/ kBlock, kFlowEntity, kNone,
|
||||
/*special props, prop-range*/ 0, kDefaultPropRange,
|
||||
/*special parents,kids,skip*/ 0,0,eHTMLTag_unknown);
|
||||
|
||||
Initialize(
|
||||
/*tag*/ eHTMLTag_menu,
|
||||
|
||||
@@ -171,6 +171,8 @@ static const PRUnichar sHTMLTagUnicodeName_listing[] =
|
||||
{'l', 'i', 's', 't', 'i', 'n', 'g', '\0'};
|
||||
static const PRUnichar sHTMLTagUnicodeName_map[] =
|
||||
{'m', 'a', 'p', '\0'};
|
||||
static const PRUnichar sHTMLTagUnicodeName_marquee[] =
|
||||
{'m', 'a', 'r', 'q', 'u', 'e', 'e', '\0'};
|
||||
static const PRUnichar sHTMLTagUnicodeName_menu[] =
|
||||
{'m', 'e', 'n', 'u', '\0'};
|
||||
static const PRUnichar sHTMLTagUnicodeName_meta[] =
|
||||
@@ -266,7 +268,6 @@ static const PRUnichar sHTMLTagUnicodeName_wbr[] =
|
||||
static const PRUnichar sHTMLTagUnicodeName_xmp[] =
|
||||
{'x', 'm', 'p', '\0'};
|
||||
|
||||
|
||||
// static array of unicode tag names
|
||||
#define HTML_TAG(_tag) sHTMLTagUnicodeName_##_tag,
|
||||
static const PRUnichar* kTagUnicodeTable[] = {
|
||||
|
||||
Reference in New Issue
Block a user