aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 8aa6e7b1..64f6a4db 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -66,6 +66,7 @@ void StyleEngine::setNonCssProperties (CssPropertyList *props) {
void StyleEngine::endElement (int tag) {
// fprintf(stderr, "===> END %d\n", tag);
assert (stack->size () > 1);
+ assert (tag == stack->getRef (stack->size () - 1)->tag);
Node *n = stack->getRef (stack->size () - 1);
if (n->style)