Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [UR] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=23)
-   -   Why is Chrome's import look distorted? (https://www.kinook.com/Forum/showthread.php?t=4914)

cnewtonne 09-23-2011 08:01 AM

Why is Chrome's import look distorted?
 
2 Attachment(s)
I'm trying to figure out why when doing cntrl+c followed by win+v, my UR imports look great using firefox 6, but distorted with Chrome 14. See attached images.

1) Can you please try it yourself and confirm this behavior? Please use this link http://www.oracle.com/us/products/da...ers/index.html
2) Is there an explanation for this behavior?
3) Any fix or workaround?

Thank you.

kinook 09-23-2011 09:34 AM

Looks like a bug in Chrome (or an incompatibility between the HTML format it puts on the clipboard and how it's displayed in other browsers). If you download, extract, and run http://www.kinook.com/Download/Misc/ClipSpy.zip, then copy the page selection from Chrome, start ClipSpy, select HTML Format, choose File | Save Selected Data and save as xyz.html, then open the file in IE or Firefox, it displays the same way. The only solution would be for Chrome to be updated to generate HTML that is compatible with IE and Firefox.

cnewtonne 11-12-2011 01:35 PM

Identified the cause ...
 
I think I have identified the cause the verified it. It is a know issue/variance/behavior of webkit based browsers like chome and safari. The rendering engine does not honor the 'no-repeat' property of 'background-image'. This is why if you look carefully at the distorted image above, you see the background arrow image is repeating.

So, if you change this line ....
background-image: url(http://www.oracleimg.com/us/assets/red_arrow_box.gif)
to ...
background-image: url(http://www.oracleimg.com/us/assets/red_arrow_box.gif) no-repeat

The page will display correctly. Here's a reference to a similar bug
http://code.google.com/p/chromium/is...etail?id=35697

So far, I have found not fix or workaround.

cnewtonne 11-12-2011 01:49 PM

This may help at scripting level http://www.ehow.com/how_12143187_sto...me-safari.html


All times are GMT -5. The time now is 03:45 PM.


Copyright © 1999-2023 Kinook Software, Inc.