From ddeadd1c02880367ad786b113d352a519f45ec73 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 23 Jul 2009 23:05:34 +0000 Subject: Merge LibCSS port to trunk. svn path=/trunk/netsurf/; revision=8752 --- riscos/textselection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'riscos/textselection.c') diff --git a/riscos/textselection.c b/riscos/textselection.c index 8da2d4e79..7b4578ad9 100644 --- a/riscos/textselection.c +++ b/riscos/textselection.c @@ -556,7 +556,8 @@ void ro_gui_selection_dragging(wimp_message *message) while ((box = box_at_point(box, pos.x, pos.y, &box_x, &box_y, &content))) { - if (box->style && box->style->visibility == + if (box->style && + css_computed_visibility(box->style) == CSS_VISIBILITY_HIDDEN) continue; -- cgit v1.2.3