Skip to content

Commit 2b1269c

Browse files
authored
Update schema (#99)
* Fix errors for display Fix some errors dealing with building paragraphs for li. * Fix test cases from JavaScript change
1 parent b77bd9c commit 2b1269c

File tree

8 files changed

+18
-11
lines changed

8 files changed

+18
-11
lines changed

xmldiff/Test/Results/Base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@
335335

336336
function isElementVisible(el) {
337337
var rect = el.getBoundingClientRect(),
338-
vWidth = window.innerWidth || doc.documentElement.clientWidth,
339-
vHeight = window.innerHeight || doc.documentElement.clientHeight,
338+
vWidth = window.innerWidth || document.documentElement.clientWidth,
339+
vHeight = window.innerHeight || document.documentElement.clientHeight,
340340
efp = function (x, y) { return document.elementFromPoint(x, y) };
341341

342342
// Return false if it's not in the viewport

xmldiff/Test/Results/Entity.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@
335335

336336
function isElementVisible(el) {
337337
var rect = el.getBoundingClientRect(),
338-
vWidth = window.innerWidth || doc.documentElement.clientWidth,
339-
vHeight = window.innerHeight || doc.documentElement.clientHeight,
338+
vWidth = window.innerWidth || document.documentElement.clientWidth,
339+
vHeight = window.innerHeight || document.documentElement.clientHeight,
340340
efp = function (x, y) { return document.elementFromPoint(x, y) };
341341

342342
// Return false if it's not in the viewport

xmldiff/Test/Results/Single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@
333333

334334
function isElementVisible(el) {
335335
var rect = el.getBoundingClientRect(),
336-
vWidth = window.innerWidth || doc.documentElement.clientWidth,
337-
vHeight = window.innerHeight || doc.documentElement.clientHeight,
336+
vWidth = window.innerWidth || document.documentElement.clientWidth,
337+
vHeight = window.innerHeight || document.documentElement.clientHeight,
338338
efp = function (x, y) { return document.elementFromPoint(x, y) };
339339

340340
// Return false if it's not in the viewport

xmldiff/Test/Results/Version.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.17
1+
0.5.18

xmldiff/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
svgcheck (0.5.18) distribhution(s); urgency=low
2+
3+
* Fix error building paragraphs with 'li'
4+
* Fix error in JavaScript
5+
6+
-- Jim Schaad <[email protected]> Sat 17 Aug 2019 12:00:00 -0700
7+
18
svgcheck (0.5.17) distribhution(s); urgency=low
29

310
* Remove Python 3.4 from the supported list

xmldiff/xmldiff/DiffNode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def BuildDiffTree(xmlNode, options):
164164
'c': 3,
165165
'dd': 2,
166166
'dt': 1,
167-
'li': 1,
167+
'li': 2,
168168
'refcontent': 1,
169169
'sourcecode': 1, # need to deal with perserveSpace
170170
't': 4,

xmldiff/xmldiff/Templates/resize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ function XXX()
279279

280280
function isElementVisible(el) {
281281
var rect = el.getBoundingClientRect(),
282-
vWidth = window.innerWidth || doc.documentElement.clientWidth,
283-
vHeight = window.innerHeight || doc.documentElement.clientHeight,
282+
vWidth = window.innerWidth || document.documentElement.clientWidth,
283+
vHeight = window.innerHeight || document.documentElement.clientHeight,
284284
efp = function (x, y) { return document.elementFromPoint(x, y) };
285285

286286
// Return false if it's not in the viewport

xmldiff/xmldiff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# ----------------------------------------------------
44

55
# Static values
6-
__version__ = '0.5.17'
6+
__version__ = '0.5.18'
77
NAME = 'xmldiff'
88
VERSION = [int(i) if i.isdigit() else i for i in __version__.split('.')]
99

0 commit comments

Comments
 (0)