mediawiki-extensions-Visual.../modules/ve
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
..
ce Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
dm Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
init Keep veaction=edit in the url when VE runs in debug mode so it keeps user just refresh the page in order to get into the edit mode. 2013-05-16 15:02:14 -07:00
test Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
ui Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
ve.BranchNode.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.debug.js
ve.Document.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Editor.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.Element.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.EventEmitter.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Factory.js
ve.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.LeafNode.js
ve.NamedClassFactory.js
ve.Node.js Introduction of setup and teardown events for ve.ce.View nodes 2013-05-14 19:47:40 +00:00
ve.Range.js
ve.Registry.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00