0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 23:40:35 -05:00
Commit graph

8 commits

Author SHA1 Message Date
Andy Kauffman
f5a816be76 Update failing test after merge 2016-07-07 10:20:49 -04:00
Andy Kauffman
1c9dc9ebb5 Update getPath tests 2016-07-07 09:39:06 -04:00
Gert K. Sønderby
4e33a47401 Added test cases covering strange IE selections. These fail. 2015-10-02 15:02:32 +02:00
Gert K. Sønderby
db8eb7907d Added test suite that checks a number of cases for hasFormat(). 2015-10-02 14:35:28 +02:00
Neil Jenkins
345159b4c4 Better algorithm for remove all formatting action.
1. Keeps all leaf nodes not just text nodes, so images etc. are not removed.
2. If the selection is not within a single block, it is expanded to the edges
   of the blocks rather than splitting the blocks; this is unlikely to have
   been what the user wanted.
3. More efficient tree traversal and manipulation; no duplication of nodes.
4. Records undo state before performing the action.
2015-06-17 15:43:27 +07:00
Gert Sønderby
6aba099388 Tests run in latest Chrome, FF, Safari + IE10 and 11. 2015-06-17 15:43:26 +07:00
Gert Sønderby
985d886ffd Test runs in Chrome, fails in IE (differences in HTML output) 2015-06-17 15:43:26 +07:00
Gert K. Sønderby
6ced6ded17 Basic testing framework. 2015-06-17 15:43:26 +07:00