Take visiblity into account

When iterating over the nodes we check if the node is hidden. When it's hidden we do skip it and go to the next child in line.
This commit is contained in:
roxlu
2016-11-11 17:04:37 +01:00
parent a3fc773d75
commit 2ee412c7dd
2 changed files with 24 additions and 1 deletions

View File

@@ -160,6 +160,7 @@ WIN_EXPORT bool CSSNodeIsDirty(const CSSNodeRef node);
WIN_EXPORT void CSSNodeHide(const CSSNodeRef node);
WIN_EXPORT void CSSNodeShow(const CSSNodeRef node);
WIN_EXPORT bool CSSNodeIsVisible(const CSSNodeRef node);
WIN_EXPORT void CSSNodePrint(const CSSNodeRef node, const CSSPrintOptions options);