CADbloke / daisydiff

Automatically exported from code.google.com/p/daisydiff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Word changed but showing removed and added & change in image showing improper in Chrome.

GoogleCodeExporter opened this issue · comments

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.

Original issue reported on code.google.com by praful.p...@gmail.com on 16 Jul 2013 at 10:54

Attachments:

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);
                }

Original comment by praful.p...@gmail.com on 17 Jul 2013 at 10:50

  • Added labels: ****
  • Removed labels: ****