#3564: Implement resize handle
---------------------------+------------------------------------------------
 Reporter:  martinkou      |       Owner:  martinkou     
     Type:  New Feature    |      Status:  assigned      
 Priority:  Normal         |   Milestone:  CKEditor 3.0  
Component:  General        |     Version:  SVN (CKEditor)
 Keywords:  3.0RC Review?  |  
---------------------------+------------------------------------------------
Changes (by martinkou):

  * keywords:  3.0RC Review- => 3.0RC Review?


Comment:

 I've considered the changes in elementspath.css for a while, but they're
 actually correct.

 The way the element path bar occupies 100% of the bottom space makes it
 extremely difficult to lay out other elements in the bottom bar correctly.
 I've done extensive tests on that:

  1. I can't use position: absolute in the bottom space for the other
 element, because position: absolute does not work in <td>.
  2. If I simply use float:right, most browsers would let the elements path
 to occupy one very thin line and the resizer to occupy a whole line - thus
 the bottom bar's height is modified.
  3. IE6, on the other hand, would interpret the element path to occupy a
 full line, and the resizer would strangely get some horizontal offset as
 well.
  4. IE6 again, in Quirks mode, would have the element path occupy a full
 line, but no horizontal offset for the resizer.
  5. So taking into point 2, 3, 4 into account - If I were to use negative
 margins to get the resizer to work, I would have to write different cases
 for i. FF/Safari/Opera, ii. IE standards mode; iii. IE quirks mode...
 probably more. So the negative margin fix is a unreliable hack.

 So instead, I looked to how the positioning is handled at the editor
 toolbar. Individual toolbars only occupy enough space for themselves, and
 so more items can be easily added with CSS float and they'll be positioned
 correctly. And that's why I see the real problem in the bottom box is the
 100% width of the element path box. If it only occupies enough space for
 itself, then I can have a very simple solution for the resizer that works
 for all browsers across quirks and standards modes.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3564#comment:5>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to