summaryrefslogtreecommitdiff
path: root/riscos/textselection.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-23 23:05:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-23 23:05:34 +0000
commitddeadd1c02880367ad786b113d352a519f45ec73 (patch)
tree00b8b46ee1a3fc84e5492c2183dfaa8192d261f9 /riscos/textselection.c
parentb20949a35025b23da1bf0ac6003f4575eb94281d (diff)
downloadnetsurf-ddeadd1c02880367ad786b113d352a519f45ec73.tar.gz
netsurf-ddeadd1c02880367ad786b113d352a519f45ec73.tar.bz2
Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
Diffstat (limited to 'riscos/textselection.c')
-rw-r--r--riscos/textselection.c3
1 files changed, 2 insertions, 1 deletions
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;