mediawiki-extensions-Visual.../modules/ve/ui
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
..
actions ve.Editor 2013-05-15 10:39:12 -07:00
dialogs Use promise pattern inside MWTemplateDialog in order to download TemplateData (currently just mocked) asynchronously. 2013-05-16 20:37:15 -07:00
elements ve.Element refactor 2013-05-14 19:47:32 +00:00
inspectors ve.Editor 2013-05-15 10:39:12 -07:00
layouts Fieldsets and default sort keys 2013-05-10 16:46:08 -07:00
styles ve.ui.Context: Add embedding feature 2013-05-16 11:23:59 -07:00
tools Implement ve.ui.MWTemplateDialog 2013-05-15 19:36:18 +00:00
widgets Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
ve.ui.Action.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.ActionFactory.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.CommandRegistry.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Context.js ve.ui.PopupWidget visibility fixes 2013-05-17 05:49:16 +00:00
ve.ui.Dialog.js ve.ui.Context: Add embedding feature 2013-05-16 11:23:59 -07:00
ve.ui.DialogFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.Frame.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Inspector.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.InspectorFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Layout.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Surface.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Tool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Toolbar.js ve.ui.Context: Add embedding feature 2013-05-16 11:23:59 -07:00
ve.ui.ToolFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ui.Trigger.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.TriggerRegistry.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.ViewRegistry.js Link inspector fixes 2013-04-24 18:29:55 -07:00
ve.ui.Widget.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Window.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.WindowSet.js ve.Editor 2013-05-15 10:39:12 -07:00