This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Internet Explorer 11 and rounding boxes issue
#1
Hi
Do you know a trick how to get out these strange borders around any SVG object?


The only browser I've met this problem is an obsolete IE11 and actually dying Edge. But unfortunately I need to use it.

Attached Files Thumbnail(s)
   
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply
#2
Try Right click > Inspect element and see if it has a border in Computed tab.
Reply
#3
I see nothing special here. I'm afraid there's something missing instead of wrong.

Attached Files Thumbnail(s)
       
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply
#4
Simply wow
https://developer.microsoft.com/en-us/mi...s/7340561/

And the winning workaround is to use iframe (Frame in LM Visu Designer) and path to SVG picture instead of "picture".
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply
#5
This can be fixed differently, wait for Monday Wink
Reply
#6
Add this to Custom JavaScript:
Code:
$(function(){
  $('object').each(function(index, el) {
    var obj = $(el);
    
    obj.clone().appendTo(obj.parent());
    obj.remove();
  });
});
Reply
#7
Hi Admin
Thank you.
But what is the performance impact of this solution? I'm not sure if I understand what this script does. Does it simply copy all objects and then destroys the original object? Which means 1000+ objects in my case?
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply
#8
This only affects SVGs that are placed as image elements, not object icons. And yes, it creates a copy and removes original element.
Reply


Forum Jump: