internet-explorer-10

IE10 text-overflow ellipsis not working

我与影子孤独终老i 提交于 2019-11-29 16:20:43
I have an <a> tag in html, and I want it to be ellipsis. But when I add a <div> inside the <a> tag, 'text-overflow' doesn't work. HTML: <div class=boxed> <h1>text-overflow Attribute Sample</h1> <a href="#" class="caption"> <!----><div style="width:100px;height:20px;border: 1px solid red"></div> Each box (div element) below contains the following text: </a> </div> CSS: div.boxed { width: 200px; height: 200px; border: 1px solid blue; font: 14px Times New Roman, serif; overflow:hidden; 'position:relative; } a.caption { overflow:hidden; white-space: nowrap; text-overflow: ellipsis; display:block;

Security error using CORS in IE10 with Node and Express

一曲冷凌霜 提交于 2019-11-29 15:39:39
I'm constructing a Backbone application hosted on http://example.com which utilizes an API hosted on https://api.example.com . For the API, I'm using Node.js with the Express.js framework. My CORS solution seems to work in every major browser except IE (it even fails in IE10). When a request is initiated from IE10, the request never hits the API server. As far as I can tell, the request is not even being sent. When I inspect the request using IE10's developer tools, both the request headers and response headers are blank. When a request is sent from any other browser, the request is received

Internet Explorer automatically switches to compatibility mode (IE9 and IE10)

本秂侑毒 提交于 2019-11-29 15:11:35
问题 On certain page on my site, Internet Explorer automatically switches to compatibility mode and tries to render the page in compatibility view (IE7 mode). Also the URL gets added to the compatibility view list. 回答1: In my case, it happened due to some CSS using Type 1 font ( Helvetica ). Internet Explorer changed its font-rendering from IE9 (affects IE10 as well) which does not support the old Type 1 fonts. But still some users manually install fonts (for me, it was Helvetica, tested on

IE 10's -ms-clear pseudo-element, and IE5 quirks mode

瘦欲@ 提交于 2019-11-29 14:46:22
问题 I'm working on a legacy web app that requires use of Internet Explorer's 'IE5 Quirks Mode' (set using X-UA-Compatible: IE=5 ). A number of text fields in the app have (app-generated) 'x' buttons to clear the content. In IE10, IE also generates an 'x' button to clear the field, so the user sees two of them. As discussed in this question, you can remove the IE-generated 'x' using the ::-ms-clear CSS pseudo-element. Unfortunately, this appears not to work in IE5 Quirks Mode: styling of the ::-ms

CORS doesn't work with cookies in IE10

不问归期 提交于 2019-11-29 14:00:00
I have GWT application that uses CORS and sets cookies. It works fine in Chrome, Firefox, Opera, but in IE10 (Version 10.0.9200.16521) I get this error: SCRIPT5022: com.google.gwt.core.client.JavaScriptException: (InvalidStateError) code: 11 ABORT_ERR: 20 DATA_CLONE_ERR: 25 DOMSTRING_SIZE_ERR: 2 HIERARCHY_REQUEST_ERR: 3 INDEX_SIZE_ERR: 1 INUSE_ATTRIBUTE_ERR: 10 INVALID_ACCESS_ERR: 15 INVALID_CHARACTER_ERR: 5 INVALID_MODIFICATION_ERR: 13 INVALID_NODE_TYPE_ERR: 24 INVALID_STATE_ERR: 11 NAMESPACE_ERR: 14 NETWORK_ERR: 19 NOT_FOUND_ERR: 8 NOT_SUPPORTED_ERR: 9 NO_DATA_ALLOWED_ERR: 6 NO_MODIFICATION

Running jQuery crashing on IE10/Win7

元气小坏坏 提交于 2019-11-29 10:24:35
I am for the moment just including jQuery (1.9.1, but old 1.8.3 behaved the same way) in my ASP.net webpage (Site.Master file actually). Everything worked fine running under IE9/Win7-64 but ever since I upgraded to IE10 (still Win7-64), now when I run the webpage locally, selecting Internet Explorer and run from within Visual Studio, I hit an exception. The exception is on line 4224 of the jquery-1.9.1.js file. // Opera 10-12/IE8 - ^= $= *= and empty values // Should not select anything div.innerHTML = "<input type='hidden' i=''/>"; if ( div.querySelectorAll("[i^='']").length ) { rbuggyQSA

Internet Explorer Preserve 3D fix

本秂侑毒 提交于 2019-11-29 09:34:30
The following code works in all browsers except for IE.10. MSDN website says the following (which I do not understand how to apply): Note The W3C specification defines a keyword value of preserve-3d for this property, which indicates that flattening is not performed. At this time, Internet Explorer 10 does not support the preserve-3d keyword. You can work around this by manually applying the parent element's transform to each of the child elements in addition to the child element's normal transform. https://msdn.microsoft.com/en-gb/library/ie/hh673529(v=vs.85).aspx My code (I'm using CSS

IE 11 document.selection does not work [closed]

空扰寡人 提交于 2019-11-29 08:57:32
I am trying to deselect selected content in HTML editor. I have used selection.empty() function for deselecting content it is working fine up to IE10 but it is not working in IE11. Also the create function is not working in IE11 Is there any alternative function for this? IE11 replaced the legacy API with a more standards-compliant API. selection is no longer supported. Starting with Internet Explorer 11, use getSelection . See Compatibility changes in IE11 . An HTMLSelection object is now returned, which is different to the old selection object and it doesn't look like empty is a valid method

session storage not working in IE

喜你入骨 提交于 2019-11-29 07:13:44
I am using the following code to test session storage of HTML 5.. It is working fine in all the browser except IE. The IE version installed is 10. Code : <!DOCTYPE html> <html> <head> <script> function clickCounter() { if(typeof(Storage)!=="undefined") { if (sessionStorage.clickcount) { sessionStorage.clickcount=Number(sessionStorage.clickcount)+1; } else { sessionStorage.clickcount=1; } document.getElementById("result").innerHTML="You have clicked the button " + sessionStorage.clickcount + " time(s) in this session."; } else { document.getElementById("result").innerHTML="Sorry, your browser

How to remove clear button ( 'X' button ) from IE10 textboxes in compatibility mode?

放肆的年华 提交于 2019-11-29 06:44:25
Currently I am working on a website which is using meta tag to render the page in IE9 mode [ BrowserMode: IE10, DocMode: IE9 Standards ] <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, IE=9" /> In IE10 lots of CSS breaks in the page, so using IE=Edge is not a viable solution as of now ( may be in future this will be used once all the css is fixed, but I don't see this near future ). Now, the point is all of the textbox have clear button in it. In just one of the textbox we don't need that cross ( as we already have a custom (x) button far right from text-box ). I tried ::-ms-clear