#1769: Improvements to FCKDomTools.GetCurrentElementStyle
-------------------------+--------------------------------------------------
 Reporter:  fredck       |       Owner:  fredck       
     Type:  New Feature  |      Status:  new          
 Priority:  Normal       |   Milestone:  FCKeditor 2.6
Component:  General      |     Version:  SVN          
 Keywords:               |  
-------------------------+--------------------------------------------------
 I'm attaching a patch with the following improvements for
 FCKDomTools.GetCurrentElementStyle:

  * There is no need to pass the window in the parameters (this was a
 Firefox requirement only).

  * Due to the above, FCKDomTools.GetPositionedAncestor is not required to
 receive the window in the parameters too.

  * Using the getPropertyValue method to retrieve the property value,
 instead of the default indexer access.

  * In CSS we have "properties", not attributes, so the parameter name
 could be fixed.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1769>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to