diff options
Diffstat (limited to 'Libraries/LibWeb/DOMTreeModel.cpp')
-rw-r--r-- | Libraries/LibWeb/DOMTreeModel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibWeb/DOMTreeModel.cpp b/Libraries/LibWeb/DOMTreeModel.cpp index a8c30e2f23..c8c6a43ce2 100644 --- a/Libraries/LibWeb/DOMTreeModel.cpp +++ b/Libraries/LibWeb/DOMTreeModel.cpp @@ -63,6 +63,8 @@ GUI::ModelIndex DOMTreeModel::parent_index(const GUI::ModelIndex& index) const if (!node.parent()) return {}; + // FIXME: Handle the template element (child elements are not stored in it, all of its children are in its document fragment "content") + // No grandparent? Parent is the document! if (!node.parent()->parent()) { return create_index(0, 0, m_document.ptr()); |