Closed Bug 301796 Opened 19 years ago Closed 12 years ago

Show resizers around arbitrary element

Categories

(SeaMonkey :: Composer, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dachev, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Risking to be accused of filing advocacy bugs, I think that Mozilla should be
allowed to become a ‘universal canvas for UI design’ as someone else put it in a
comment to the now infamous bug <a href=”
https://bugzilla.mozilla.org/show_bug.cgi?id=97284”> 97284 </a>. I am not going
to go over the reasons, benefits and importance of such a switch of paradigms
(or rather enhancement), since I’m sure that those are well understood.
Showing handles around any element and selective element editing are probably
the two essentials that are currently needed the most for Mozilla to be a
generic editor.
In light of the above, my particular suggestion is to enable the editor to show
resize handles around arbitrary elements. This can be done with an attribute
(-moz-resizable=”true”) or CSS. In the former scenario a method
getElementOrParentByAttribute() can be introduced in nsIHTMLEditor. It can then
be used in CheckSelectionStateForAnonymousButtons() to filter candidates for
focusElement, which is the one to be shown handles around.
This particular feature can be beneficial to Composer as well. It will allow
form element resizing.
I am willing to help and make a patch for review. I’ve been testing for already
a week.


Reproducible: Always

Steps to Reproduce:
Blagovest, are you still willing to code a patch 2½ years later? If you are, ACCEPT this bug and go ahead. If you aren't, reassign this bug to nobody@mozilla.org, or if you can't do that, say so and I will.

You /are/ using SeaMonkey, aren't you? (The UA in comment #0 says Firefox.)
Assignee: composer → dachev
QA Contact: composer
I am currently too busy to implement the change.
Assignee: dachev → nobody
Version: unspecified → Trunk
Is this still actual?
Whiteboard: closeme WONTFIX 2012-08-01
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Whiteboard: closeme WONTFIX 2012-08-01
You need to log in before you can comment on or make changes to this bug.