Improvements to FCKDomTools.GetCurrentElementStyle
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.
Change History (4)
Keywords: |
Review? added
|
Status: |
new →
assigned
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
It looks better this way