Ticket #1769 (closed New Feature: fixed)
Improvements to FCKDomTools.GetCurrentElementStyle
| Reported by: | fredck | Owned by: | fredck |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6 |
| Component: | General | Version: | SVN |
| Keywords: | Review+ | Cc: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.