Skip to content

Commit

Permalink
Merge pull request #146 from inikulin/latest-spec-changes
Browse files Browse the repository at this point in the history
Apply latest spec changes
  • Loading branch information
inikulin authored Aug 11, 2016
2 parents d717bf5 + 3f297c8 commit 16ca866
Show file tree
Hide file tree
Showing 29 changed files with 1,194 additions and 426 deletions.
2 changes: 2 additions & 0 deletions lib/common/foreign_content.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ function isHtmlIntegrationPoint(tn, ns, attrs) {
exports.isIntegrationPoint = function (tn, ns, attrs, foreignNS) {
if ((!foreignNS || foreignNS === NS.HTML) && isHtmlIntegrationPoint(tn, ns, attrs))
return true;

if ((!foreignNS || foreignNS === NS.MATHML) && isMathMLTextIntegrationPoint(tn, ns))
return true;

return false;
};
3 changes: 0 additions & 3 deletions lib/common/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ var $ = exports.TAG_NAMES = {
IMAGE: 'image',
INPUT: 'input',
IFRAME: 'iframe',
ISINDEX: 'isindex',

KEYGEN: 'keygen',

Expand Down Expand Up @@ -215,14 +214,12 @@ SPECIAL_ELEMENTS[NS.HTML][$.HTML] = true;
SPECIAL_ELEMENTS[NS.HTML][$.IFRAME] = true;
SPECIAL_ELEMENTS[NS.HTML][$.IMG] = true;
SPECIAL_ELEMENTS[NS.HTML][$.INPUT] = true;
SPECIAL_ELEMENTS[NS.HTML][$.ISINDEX] = true;
SPECIAL_ELEMENTS[NS.HTML][$.LI] = true;
SPECIAL_ELEMENTS[NS.HTML][$.LINK] = true;
SPECIAL_ELEMENTS[NS.HTML][$.LISTING] = true;
SPECIAL_ELEMENTS[NS.HTML][$.MAIN] = true;
SPECIAL_ELEMENTS[NS.HTML][$.MARQUEE] = true;
SPECIAL_ELEMENTS[NS.HTML][$.MENU] = true;
SPECIAL_ELEMENTS[NS.HTML][$.MENUITEM] = true;
SPECIAL_ELEMENTS[NS.HTML][$.META] = true;
SPECIAL_ELEMENTS[NS.HTML][$.NAV] = true;
SPECIAL_ELEMENTS[NS.HTML][$.NOEMBED] = true;
Expand Down
Loading

0 comments on commit 16ca866

Please sign in to comment.