mediawiki-extensions-Visual.../modules/ve
Trevor Parscal 3a6e91dfb7 RTL Improvements
Objectives:

* Make option widget icons correctly placed in RTL
* Make embedded context toolbar correctly placed in RTL

Approach:

Use separate elements for icons within option widgets which have more
flexibility when rendering in either LTR or RTL when compared to CSS
background position. The simpler approach, using CSS background
position offsets, isn't cross-browser compatible at this time.

Changes:

ve.ui.OutlineItemWidget.js
* Remove custom icon implementation, using parent class implementation
  instead

ve.ui.OptionWidget.js
* Add icon option, which adds an icon element only if an icon was
  specified

ve.ui.MenuItemWidget.js, ve-mw/ve.ui.MWParameterResultWidget.js
* Add override for icon config option
* Document icon config as private

ve.ui.Context.js
* Add detection and special handling for positioning embedded context
  toolbar when rendering in RTL

ve.ui.Widget.css
* Add styles for option widget's new icon option
* Add styles to make indentation still work for outline item widgets
* Adjust styles for menu item widget as per changes in option widget

ve-mw/ve.ui.Widget.css
* Adjust styles for parameter result widget as per changes in option
  widget

Change-Id: Ibfa4b613e0fd7902f8a2c78b5717de402c5f82b8
2013-07-10 00:09:22 +00:00
..
ce Revert "Add support for <blockquote> elements" 2013-07-09 21:35:47 +00:00
dm Revert "Add support for <blockquote> elements" 2013-07-09 21:35:47 +00:00
init The great directory split of 2013 2013-07-02 20:51:38 -07:00
test Make all annotations additive 2013-07-05 21:01:20 +00:00
ui RTL Improvements 2013-07-10 00:09:22 +00:00
ve.BranchNode.js
ve.debug.js
ve.Document.js
ve.Element.js Make local overlays local to surface and remove insane z-indexes 2013-07-02 19:35:43 +00:00
ve.EventEmitter.js
ve.Factory.js
ve.js Make loading VE work on Opera again, attempt two 2013-06-29 15:02:00 +02:00
ve.LeafNode.js
ve.NamedClassFactory.js
ve.Node.js
ve.Range.js
ve.Registry.js