Issue 54 in daisydiff: Word changed but showing removed and added & change in image showing improper in Chrome.

10 views
Skip to first unread message

codesite...@google.com

unread,
Jul 16, 2013, 6:54:21 AM7/16/13
to dais...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 54 by praful.p...@gmail.com: Word changed but showing removed and
added & change in image showing improper in Chrome.
http://code.google.com/p/daisydiff/issues/detail?id=54

What steps will reproduce the problem?
1.Copy html.
2.Just change spelling of word (e.g. from word pages 'g' removed)
3.After compare It shows old word removed & new word added.
4.Another bug In Google Chrome change in image shows some below to actual
image.


What is the expected output? What do you see instead?
Word should be show changed not removed & added.

What version of the product are you using? On what operating system?
version 1.0

see attached file.

Attachments:
Capture.PNG 141 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

codesite...@google.com

unread,
Jul 17, 2013, 6:50:42 AM7/17/13
to dais...@googlegroups.com

Comment #1 on issue 54 by praful.p...@gmail.com: Word changed but showing
removed and added & change in image showing improper in Chrome.
http://code.google.com/p/daisydiff/issues/detail?id=54

Problem of Image solved.
Use below code in updateOverlays() function of diff.js.
if (image.offsetTop && image.offsetLeft) { // this check is
needed for IE
filter.style.marginTop = "-" + image.offsetHeight
+ "px";;
filter.style.marginLeft = image.offsetLeft + "px";
}
if(existingDivs.length == 0 ){
image.parentNode.appendChild(filter, image);
Reply all
Reply to author
Forward
0 new messages