summaryrefslogtreecommitdiff
path: root/riscos/plugin.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-11-28 23:38:38 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-11-28 23:38:38 +0000
commita53d5ecfa9dc4e521661fbe4a04dbda5defb6261 (patch)
treefeb874332360a6e80ded2c6bca6443e6aa38d7c0 /riscos/plugin.c
parentf0276e4d2ebb512db34c7afb06325c1be09d63f0 (diff)
downloadnetsurf-a53d5ecfa9dc4e521661fbe4a04dbda5defb6261.tar.gz
netsurf-a53d5ecfa9dc4e521661fbe4a04dbda5defb6261.tar.bz2
[project @ 2004-11-28 23:38:38 by jmb]
Ensure dimensions specified by HTML/CSS are adhered to, rather than resizing to what the plugin wants svn path=/import/netsurf/; revision=1375
Diffstat (limited to 'riscos/plugin.c')
-rw-r--r--riscos/plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/riscos/plugin.c b/riscos/plugin.c
index 57a14268d..da57bdb2e 100644
--- a/riscos/plugin.c
+++ b/riscos/plugin.c
@@ -570,8 +570,6 @@ void plugin_reshape_request(wimp_message *message)
/* should probably shift by x and y eig values here */
c->width = pmrr->size.x / 2;
c->height = pmrr->size.y / 2;
- c->data.plugin.box->style->width.width = CSS_WIDTH_AUTO;
- c->data.plugin.box->style->height.height = CSS_HEIGHT_AUTO;
/* invalidate parent box widths */
for (b = c->data.plugin.box->parent; b; b = b->parent)