microsoft-edge

Alpha becomes black when coming from clipboard on Mozilla Firefox and MS Edge

与世无争的帅哥 提交于 2020-01-01 05:55:09
问题 I'm using a code from here to paste images from clipboard on a page. It works fine in all browsers (Chrome, Firefox, Edge and Opera). The problem is: when the image is a PNG or GIF with alpha channel (transparent areas), the alpha becomes black in Firefox and Edge. Here's the code snippet (or jsfiddle if you prefer): document.getElementById('pasteArea').onpaste = function (event) { // use event.originalEvent.clipboard for newer chrome versions var items = (event.clipboardData || event

How to prevent a blank tab from appearing in Edge when clicking on a file link

人走茶凉 提交于 2019-12-31 05:00:08
问题 I have a html page with several links to files with various file types, such as pdf, csv, and zip. Depending on the available browser plugins, some of these files can be opened inline by the browser, whereas others will be downloaded. I don't want such links to open in the current tab, so each one has the attribute target="blank" . This works fine in most browsers: When the user clicks on a link to a file that can be displayed inline, the file is shown in a new tab. Otherwise, a new tab is

Edge customize cursor doesn't work

喜夏-厌秋 提交于 2019-12-30 13:00:48
问题 Below is my code, cursor1.cur icon is under the same root folder as index.html. The cur icon can be downloaded from this link: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/cursors/cursor1.cur It works well in IE11, but doesn't work in Edge. Can anyone help me? Update: if replace cursor1.cur with url: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/cursors/cursor1.cur. It works in Edge as well. But still I'd like to know how to use relative path in

Do CSS variables work differently in Microsoft Edge?

孤者浪人 提交于 2019-12-30 11:20:59
问题 I am developing a web site and have optimized it for Firefox and Chrome. The project contains a style sheet called base.css which is included in all the pages, and which contains some global settings and definitions, including a list of variables which I use to store color values like such: :root { --yellow-1: #fff8e3; --yellow-2: #ffe9a9; } and so on, and calling them like for example: .a-class { background-color: var(--yellow-2); } When I look at the page in Edge, all the colors are missing

Angular2 app is not working on Microsoft edge

感情迁移 提交于 2019-12-30 10:45:17
问题 My angular2 application is not working on Microsoft edge, while it's working fine on chrome and firefox. I looked at this question, but it didn't help me. I am getting following error on the Edge console: Below is package.json file: { "name": "angular app", "version": "1.0.0", "scripts": { "start": "concurrently \"tsc -w\" \"lite-server\" ", "lite": "lite-server", "tsc": "tsc", "tsc:w": "tsc -w", "publish": "gulp agnular_Production_Version" }, "licenses": [ { "type": "MIT", "url": "https:/

<input> accept Attribute in Microsoft Edge

我只是一个虾纸丫 提交于 2019-12-30 05:32:10
问题 Anyone know how to get accept working in Edge? <input type="file" accept=".csv"> Works fine in Chrome 44, Firefox 39, IE 11, Opera 31. Also tried <input type="file" accept=".csv,text/csv"> 回答1: "accept" attributes are definitely not supported in Microsoft Edge at this point. I confirmed your behavior as "no go" in edge, but showing up in IE via the [...] thing in the upper right of Edge. The Edge status shows it as "Under Consideration" with just 198 votes at https://wpdev.uservoice.com

Data URI link <a href="data: doesn't work in Microsoft Edge

隐身守侯 提交于 2019-12-30 02:47:17
问题 This simple code works perfectly everywhere except Microsoft Edge: <a href="data:text/plain;charset=utf-8,Test">link</a> [JSFiddle] In Microsoft Edge I'm getting "That's odd...Microsoft can't find this page" error: Examples from Mozilla documentation also do not working with the same result. Here's the output from Edge console: This error occurs when opening a new edge window, on new tabs it inputs data:text/plain;charset=utf-8,Test as search query into the default search engine. It seems

Can't open local iis site in ie edge

本秂侑毒 提交于 2019-12-29 11:45:14
问题 I have a site set up locally to do development on it and I have added it to iis and edited my host file with the url (see below). However, when I browse to the url I only get the "hmm, we can't reach this page" message. The site works well in all other browsers including ie 11 so I was wondering if there are any settings to get local sites to work on edge. I have been searching and could only find this related post, but the accepted answer on that makes no difference to me as the option is

filter: blur not working on MS Edge

会有一股神秘感。 提交于 2019-12-29 07:32:10
问题 Microsoft Edge is not supporting filter: blur(); like it should. If I have an absolute positioned element with filter: blur(); , inputs that appear on top will go nuts, merging with the blur (fun to watch). Here's a Fiddle to show what happens. Works perfectly in Chrome and Firefox, but Edge turns into borderline epileptic. Just click the input and enjoy: https://jsfiddle.net/Cthulhu/3uz0Lpfz/2/ Here's a code example: <style> article { background: url(http://uzebox.org/wiki/images/1/19

Angular 2 not working with MS Edge

自作多情 提交于 2019-12-29 07:04:41
问题 I get script errors when I'm loading my app in MS Edge. However Firefox, Chrome, IE11 all work, except for Edge... Here's a screenshot of the console: See here: HTML1300: Navigation occurred. localhost:23752 SCRIPT65535: Argument not optional zone.js (556,13) SCRIPT257: Could not complete the operation due to error 80020101. localhost:23752 (1,1) Unhandled Promise rejection: 'Zone' is undefined ; Zone: <root> ; Task: Promise.then ; Value: ReferenceError: 'Zone' is undefined ReferenceError: