winjs / winjs

A UI toolkit for modern browsers
http://try.buildwinjs.com/
Other
4.14k stars 472 forks source link

This control currently works only in IE due to its dependency on IE-only styles #73

Closed mschipperheyn closed 10 years ago

mschipperheyn commented 10 years ago

If you want developers to take you seriously, you have to realize that some of us have been around the block a few times and "This control currently works only in IE due to its dependency on IE-only styles" sounds awfully familiar like the evil days of IE4-7. If you can't do it using standards either agree on a new standard with the other browsers or don't do it at all.

spankyj commented 10 years ago

@mschipperheyn Thanks for the feedback. We're trying to be open and transparent about both where we are at today and where we are going. We have a bunch of features in WinJS which lean into some emerging standards like pointer events, CSS Grid and scroll snap points, in each of those cases we used WinJS as a tool to help form an opinion about the features in those standards and definitely were able to lean into the single environment we were targeting at the time. As we take WinJS to the web and other devices we are looking at them on a case by case basis to figure out the right thing to do.

There are some other cases where today we are using browser specific styles that only target IE at the moment, we will mitigate these in ways ranging from finding similar browser specific styling for other browsers to re-implementing the functionality in a more interoperable way.

There are still other problems where we for instance use a bunch of font-glyphs from the Segoe UI Symbol font in various places like the arrows on the buttons in the FlipView control. In that case we are talking with our font team at MS about getting a freely redistributable subset as a web font that we can provide as part of WinJS.

Regardless of the specific situations and the technique we end up using to address it, our desire is to create a great app experience on the breadth of platforms that WinJS will end up targeting. Clearly right now we're in progress and have some rough edges to smooth out, and over the next couple months I think you'll be seeing a lot of improvements here.

auralyte commented 10 years ago

As with the WinRT references, I am of the assumption that when WinJS was first created, it was never intended to be released onto the web. Because of that, it does use features which are only available in IE for the use of extension in Modern apps, and aren't meant to be used elsewhere. (I believe MSDN even explicitly states as such).

That said, I can understand why the scaling is needed for cross browser usage.

As a developer, I really hope to see the Grid Layout specifically become an accepted standard in the future.