mediawiki-extensions-Visual.../modules/ve/ui/widgets
Catrope 9ff6737f4c Refactor HTML attribute preservation
Rather than using namespaced linmod attributes, store the preserved
HTML attributes in the .htmlAttributes property of the linear model
element, in a nested structure to allow for easier treatment of child
nodes. Also added attribute order preservation by storing attributes
as an object plus an array of keys.

ve.ce.Node.js:
* Remove html/* attribute synchronization. Doesn't make sense any more
  because these things aren't in the attributes object any more. I don't
  think it ever made sense because these attributes were never supposed
  to be changed anyway.

ve.ce.View.js:
* Replace renderAttributes() with a simple wrapper around
  renderHtmlAttributeList()

ve.dm.Converter.js:
* Add buildHtmlAttributeList() and renderHtmlAttributes() for building
  and rendering HTML attribute lists

ve.dm.Model.js:
* Add getter for .htmlAttributes

ve.dm.Node.js:
* Drop .htmlAttributes on clone, and remove logic dropping html/*

ve.ui.MWCategoryWidget.js:
* Remove html/0/about hack, was already unnecessary and now doesn't
  work any more

tests/:
* UPDATE ALL THE TESTS

Change-Id: I620573afd70d36ade6b80413075b6e1f4a435abe
2013-05-17 20:57:33 -07:00
..
ve.ui.ButtonWidget.js
ve.ui.IconButtonWidget.js
ve.ui.InputLabelWidget.js ve.ui.LookupWidget 2013-04-30 10:47:32 -07:00
ve.ui.InputWidget.js Multiline option for ve.ui.TextInputWidget.js 2013-05-15 14:41:22 -07:00
ve.ui.LinkTargetInputWidget.js RTL fix for VE's link widget 2013-05-02 20:43:46 +00:00
ve.ui.LookupInputWidget.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.MenuItemWidget.js
ve.ui.MenuSectionItemWidget.js
ve.ui.MenuWidget.js Category UI improvements 2013-05-10 00:19:46 +00:00
ve.ui.MWCategoryInputWidget.js Category UI improvements 2013-05-10 00:19:46 +00:00
ve.ui.MWCategoryItemWidget.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.ui.MWCategoryPopupWidget.js ve.ui.PopupWidget visibility fixes 2013-05-17 05:49:16 +00:00
ve.ui.MWCategoryWidget.js Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
ve.ui.MWLinkTargetInputWidget.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ui.OptionWidget.js
ve.ui.OutlineItemWidget.js Add level option to ve.ui.OutlineItemWidget 2013-05-15 12:54:19 -07:00
ve.ui.OutlineWidget.js
ve.ui.PendingInputWidget.js UI Refactor 2013-04-26 21:18:13 +00:00
ve.ui.PopupWidget.js ve.ui.PopupWidget visibility fixes 2013-05-17 05:49:16 +00:00
ve.ui.SelectWidget.js Category UI improvements 2013-05-10 00:19:46 +00:00
ve.ui.TextInputMenuWidget.js ve.ui.LookupWidget 2013-04-30 10:47:32 -07:00
ve.ui.TextInputWidget.js Multiline option for ve.ui.TextInputWidget.js 2013-05-15 14:41:22 -07:00