In the CSS of a website I'm currently working on we use the following CSS to hide the 'x' button that Internet Explorer 10 and 11 add to input fields for users to clear their contents:
input::-ms-clear {
display: none;
}
Viewing the same website in the first build of Microsoft Edge (formerly codenamed "Project Spartan") on Windows 10 Build 10049 this CSS has no effect. This isn't surprising as Microsoft Edge is breaking away from the legacy of Internet Explorer, but I want to achieve the same effect.
What is the equivalent CSS required for Microsoft Edge to not render this?
::-ms-clear
has nothing to do with IE legacy. It is a new, non-standard feature introduced in Windows 8 and IE10. – BoltClock♦::-ms-clear
isn't so much IE-specific as it is Windows-specific. Project Spartan still has to implement it by virtue of being a part of Windows, since Windows will have to make use of EdgeHTML to render HTML/CSS-based Windows apps. Anyway, do you have a reproducible test case? – BoltClock♦input {}
? – TylerH