зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1453828. Fix IsContainerNode to not claim true for doctype nodes. r=mccr8
MozReview-Commit-ID: BC1iBI38wfJ
This commit is contained in:
Родитель
4a89389ffc
Коммит
1790f0fa04
|
@ -434,7 +434,7 @@ public:
|
|||
|
||||
bool IsContainerNode() const
|
||||
{
|
||||
return IsElement() || !IsCharacterData();
|
||||
return IsElement() || IsDocument() || IsDocumentFragment();
|
||||
}
|
||||
|
||||
bool IsSlotable() const
|
||||
|
|
Загрузка…
Ссылка в новой задаче