-
- Downloads
Fix safari edit mode and entity preview
This merge should resolve #156 and #160 The general strategy here was fixing as much unit tests as possible for Safari and then hope that the edit mode (and entity preview) is fixed automatically. Therefore, a lot of small changes have happened. However, the most important take-away is that Safari is way more strict (or dumb?) when it comes to XML, XSLT and HTML. E.g. it does not allow <tr> elements without direct <table> parents, it is very pedantic with XML namespaces (conversion from 'XMLDocuments to HTMLDocuments and vice-versa can break things). Apparently, DocumentFragment(a lightweight alternative toDocument`s) could not be transformed by our XSLT functions - I still don't understand why. Note: I also removed the (unnecessary) ext_revisions module because the tests kept failing in safari and I didn't want to deal with them.
Showing
- CHANGELOG.md 8 additions, 1 deletionCHANGELOG.md
- misc/revision_test_data.py 0 additions, 46 deletionsmisc/revision_test_data.py
- src/core/js/caosdb.js 3 additions, 11 deletionssrc/core/js/caosdb.js
- src/core/js/ext_revisions.js 0 additions, 229 deletionssrc/core/js/ext_revisions.js
- src/core/js/ext_xls_download.js 1 addition, 1 deletionsrc/core/js/ext_xls_download.js
- src/core/js/webcaosdb.js 28 additions, 20 deletionssrc/core/js/webcaosdb.js
- src/core/xsl/entity.xsl 8 additions, 8 deletionssrc/core/xsl/entity.xsl
- src/core/xsl/main.xsl 0 additions, 5 deletionssrc/core/xsl/main.xsl
- test/core/index.html 0 additions, 2 deletionstest/core/index.html
- test/core/js/modules/caosdb.js.js 32 additions, 47 deletionstest/core/js/modules/caosdb.js.js
- test/core/js/modules/common.xsl.js 11 additions, 0 deletionstest/core/js/modules/common.xsl.js
- test/core/js/modules/entity.xsl.js 10 additions, 20 deletionstest/core/js/modules/entity.xsl.js
- test/core/js/modules/ext_revisions.js.js 0 additions, 121 deletionstest/core/js/modules/ext_revisions.js.js
- test/core/js/modules/ext_xls_download.js.js 2 additions, 2 deletionstest/core/js/modules/ext_xls_download.js.js
- test/core/js/modules/navbar.xsl.js 0 additions, 22 deletionstest/core/js/modules/navbar.xsl.js
- test/core/js/modules/query.xsl.js 12 additions, 7 deletionstest/core/js/modules/query.xsl.js
- test/core/js/modules/webcaosdb.js.js 29 additions, 7 deletionstest/core/js/modules/webcaosdb.js.js
Loading
Please register or sign in to comment