mediawiki-extensions-Visual.../modules/ve/test
Ed Sanders 5b168bdbad Fix MWImageNode dimensions and implement toDomElements
Using element.height was returning 0 if the attribute was empty
when in fact what we mean to store is null (i.e. auto height).

This takes care of the writing of attributes in CE as jQuery
ignores an attribute-set command if the value is null.

Also in this commit I've implemented a basic toDomElements
that outputs the original HTML (code copied from AlienNode).
This stops the code from throwing an exception but will
eventually need to be rewritten to rebuild the HTML from
the attributes stored in the DM.

Bug: 56336
Change-Id: I297a1d0a07e9ebf9d0110fb1cdf266f8415f25b7
2013-03-29 12:51:43 +00:00
..
actions Fix Surface constructor in IndentationAction tests 2013-03-13 23:55:25 +00:00
ce Correct name of can(Node)HaveGrandchildren functions 2013-03-13 23:25:33 +00:00
dm Fix MWImageNode dimensions and implement toDomElements 2013-03-29 12:51:43 +00:00
init Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
image.png Losslessly compress png images 2012-08-18 23:12:44 +01:00
index.php Added support for displaying inline images. 2013-03-28 13:05:57 -07:00
ve.AnnotationSet.test.js Create basic tests for AnnotationSet. 2013-03-19 15:31:50 +00:00
ve.BranchNode.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.example.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Factory.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
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 Remove more periods 2013-03-20 22:55:50 +00:00
ve.Range.test.js Minor comment and licence fixes 2013-03-19 20:54:01 +00:00
ve.test.js Added validation to ve.inheritClass 2013-02-27 18:41:59 +01:00
ve.Trigger.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00