mediawiki-extensions-Visual.../modules/ve/test
Roan Kattouw d3af8b877b dm.Surface: Initialize selection at (1,1) instead of (0,0)
Code with a similar purpose was added in 568e0e5701 but got lost
when some things were moved from ve.Surface to ve.ce.Surface in
5012ed10.

Initializing the selection at (0,0) was known to cause problems before,
and since 789d0caf09 breaks editing of empty documents: typing in an
empty document begins in an inline slug, but SurfaceObserver doesn't
notice typing in an inline slug unless the ce.Surface pawns it, which
is OK because insertions in slugs are always pawned, but the pawning
logic believes the cursor to be at offset 0 where there is no slug
(it's at offset 1) and so it doesn't pawn.

Bonus: update tests and add descriptions for dm.Surface.change tests

Change-Id: Id72314d0fe650dacc7cdb842f5cea2f3bfba5145
2013-09-18 01:06:34 +00:00
..
ce Fix getOffsetFrom(Element|Text)Node for annotated aliens 2013-09-05 00:35:53 -07:00
dm dm.Surface: Initialize selection at (1,1) instead of (0,0) 2013-09-18 01:06:34 +00:00
init ve.copy: Remove obsolete copyArray and copyObject 2013-07-30 01:44:22 +02:00
ui ve.copy: Remove obsolete copyArray and copyObject 2013-07-30 01:44:22 +02:00
example.png Optimise png images with optipng 2013-07-05 09:47:12 +00:00
index.php Scroll into view support 2013-09-16 16:46:58 -07:00
ve.BranchNode.test.js
ve.Document.test.js
ve.Element.test.js Make local overlays local to surface and remove insane z-indexes 2013-07-02 19:35:43 +00:00
ve.Factory.test.js
ve.LeafNode.test.js
ve.Node.test.js Store DM nodes in InternalList 2013-06-03 22:10:07 +01:00
ve.qunit.js Include element HTML in QUnit summary for diff 2013-08-02 16:10:05 +01:00
ve.Range.test.js Fix copy and paste of backwards selction 2013-08-22 18:10:34 +00:00
ve.test.js Don't emit Surface changes back to the Surface 2013-08-21 17:26:32 +00:00
ve.test.utils.js Remove inserted leading whitespace 2013-08-02 19:01:22 +00:00