зеркало из https://github.com/mozilla/pjs.git
Allow <link> to be opened, even as the direct child of a <table>. bug 436722, r+sr=sicking a=ss
This commit is contained in:
Родитель
3722a502c3
Коммит
f3f334dd25
|
@ -791,7 +791,7 @@ const nsHTMLElement gHTMLElements[] = {
|
|||
/*rootnodes,endrootnodes*/ &gInHead,&gInHead,
|
||||
/*autoclose starttags and endtags*/ 0,0,0,0,
|
||||
/*parent,incl,exclgroups*/ kAllTags - kHeadContent, kNone, kNone,
|
||||
/*special props, prop-range*/ kNonContainer|kPreferHead,kDefaultPropRange,
|
||||
/*special props, prop-range*/ kNonContainer|kPreferHead|kLegalOpen,kDefaultPropRange,
|
||||
/*special parents,kids,skip*/ &gInHead,0,eHTMLTag_unknown,
|
||||
/*contain-func*/ 0
|
||||
},
|
||||
|
@ -1089,7 +1089,7 @@ const nsHTMLElement gHTMLElements[] = {
|
|||
/*rootnodes,endrootnodes*/ &gRootTags,&gRootTags,
|
||||
/*autoclose starttags and endtags*/ 0,0,0,0,
|
||||
/*parent,incl,exclgroups*/ kAllTags - kHeadContent, kCDATA, kNone,
|
||||
/*special props, prop-range*/ kNoStyleLeaksIn|kPreferHead, kNoPropRange,
|
||||
/*special props, prop-range*/ kNoStyleLeaksIn|kPreferHead|kLegalOpen, kNoPropRange,
|
||||
/*special parents,kids,skip*/ 0,0,eHTMLTag_unknown,
|
||||
/*contain-func*/ 0
|
||||
},
|
||||
|
|
|
@ -393,3 +393,33 @@ x { content:"</style" } "
|
|||
| <input>
|
||||
| type=" hidden"
|
||||
|
||||
#data
|
||||
<!DOCTYPE html><html><body><table><link><tr><td>Hi!</td></tr></table></html>
|
||||
#errors
|
||||
#document
|
||||
| <!DOCTYPE HTML>
|
||||
| <html>
|
||||
| <head>
|
||||
| <body>
|
||||
| <table>
|
||||
| <link>
|
||||
| <tbody>
|
||||
| <tr>
|
||||
| <td>
|
||||
| "Hi!"
|
||||
|
||||
#data
|
||||
<!DOCTYPE html><html><body><table><style>td { color: green }</style><tr><td>Hi!</tr></td></table>
|
||||
#errors
|
||||
#document
|
||||
| <!DOCTYPE HTML>
|
||||
| <html>
|
||||
| <head>
|
||||
| <body>
|
||||
| <table>
|
||||
| <style>
|
||||
| "td { color: green }"
|
||||
| <tbody>
|
||||
| <tr>
|
||||
| <td>
|
||||
| "Hi!"
|
||||
|
|
Загрузка…
Ссылка в новой задаче