mediawiki-extensions-Visual.../modules/ve/test
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
ui ve.Editor 2013-05-15 10:39:12 -07:00
example.png Test: Fix 404 errors in example images. 2013-04-02 23:52:02 +02:00
index.php Merge "Implement ve.dm.MWTemplateNode.getWikitext()" 2013-05-15 22:18:01 +00:00
ve.BranchNode.test.js
ve.Document.test.js
ve.example.js
ve.Factory.test.js
ve.LeafNode.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.Node.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.qunit.js Convert DOM elements to stringifiable objects for reporting 2013-05-08 14:42:43 +01:00
ve.Range.test.js Minor comment and licence fixes 2013-03-19 20:54:01 +00:00
ve.test.js ve.test: Import K-JS test suite for object utilities 2013-05-08 02:13:16 +02:00