summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/box_construct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 484b8221e..60fde90fa 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -955,7 +955,7 @@ css_select_results *box_get_style(struct content *c,
css_stylesheet_destroy(inline_style);
/* Failed selecting partial style -- bail out */
- if (styles == NULL || styles->styles[CSS_PSEUDO_ELEMENT_NONE] == NULL)
+ if (styles == NULL)
return NULL;
/* If there's a parent style, compose with partial to obtain