WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
14318
Textarea resizing feature for plug-ins
https://bugs.webkit.org/show_bug.cgi?id=14318
Summary
Textarea resizing feature for plug-ins
Vlad Alexander
Reported
2007-06-22 15:35:27 PDT
Textarea resizing feature is great. Can you add this feature to plug-ins as well? We produce a popular WYSIWYG editor plug-in called XStandard. The plug-in is loaded via the following markup: <object type="application/x-xstandard" width="600" height="300"> </object>
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2007-06-22 17:53:19 PDT
Can you try putting object { resize: both; } in your style sheet and seeing if that does the trick.
Vlad Alexander
Comment 2
2007-06-24 07:33:38 PDT
I've updated the test page here:
http://misc.xstandard.com/apple/test.asp
... to include the following CSS: object { resize: both; } This had no affect.
mitz
Comment 3
2007-06-24 08:30:21 PDT
'resize' requires 'overflow' other than 'visible', but overflow clipping only works with blocks and table rows/sections. This is one way to accomplish plugin resizing with CSS: <head> <style> object { width: 100%; height: 100%; } div#container { position: relative; width: 600px; height: 300px; resize: both; overflow: auto; } </style> </head> <body> <div id="container"> <object type="application/x-xstandard"> </object> </div> </body>
mitz
Comment 4
2007-06-24 08:33:38 PDT
A better way to put it is that resizing works with containers, and <object> is not a container.
Vlad Alexander
Comment 5
2007-06-24 16:23:31 PDT
mitz, thank you for looking into this. But I am still a bit unclear about this. If I understand what you are saying is that only block elements can be resized? But <textarea> is an inline element and it can be resized.
Robert Blaut
Comment 6
2008-02-18 13:53:06 PST
(In reply to
comment #5
)
> mitz, thank you for looking into this. But I am still a bit unclear about this. > If I understand what you are saying is that only block elements can be resized? > But <textarea> is an inline element and it can be resized. >
Overflow other than visible applies to non-replaced block-level elements, table cells, and inline-block elements [
http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow
]. Since <object> is replaced block-level element so the resize property doesn't apply to it [
http://www.w3.org/TR/css3-ui/#resize
]. The bug report is INVALID.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug