mediawiki-extensions-Visual.../modules/ve
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 Merge "Refactor convert to use isolateAndUnwrap" 2013-03-13 16:37:17 +00:00
ce Merge "Typing support after Aliens and Entities for IE" 2013-03-29 02:19:15 +00:00
dm Fix MWImageNode dimensions and implement toDomElements 2013-03-29 12:51:43 +00:00
init ve.init.mw.ViewPageTarget: Fix exception in deactivate(). 2013-03-22 19:32:56 +01:00
styles Toolbar style fixes 2013-03-15 12:48:49 -07:00
test Fix MWImageNode dimensions and implement toDomElements 2013-03-29 12:51:43 +00:00
ui Doc: Replace "@property @type {Type}" with "@property {Type}". 2013-03-28 21:21:56 +01:00
ve.Action.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ActionFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.AnnotationSet.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.BranchNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.CommandRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.debug.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.js Emit a transact event on the ve.dm.Document when a transaction occurs 2013-03-14 23:35:50 -07:00
ve.EventEmitter.js Fix documentation to place @emits in the correct place 2013-03-25 21:06:05 +00:00
ve.Factory.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.js Small cleanup in CE 2013-03-27 10:50:02 -07:00
ve.LeafNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Node.js Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
ve.NodeFactory.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.OrderedHashSet.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.Range.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.Registry.js Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
ve.Surface.js Merge "Fix for live preview in jsduck" 2013-03-28 21:11:25 +00:00
ve.Trigger.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.TriggerRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00