I agree, php.net should not be added to a compatibility view list. AFAIR that’s an IE feature that changes IE behavior so listed web pages render ~correctly.
For various reasons, many web sites are coded similarly to php.net sites. If IE can't render current versions of them on small screens without adding the -ms-viewport CSS directive, then we should figure out how to do that for php.net and make php.net work correctly on small screens for IE or just not bother. Then that knowledge/experience will spread to the web community in general. Adding php.net to a compatbility view list would only fix IE for php.net not for the other similar web sites. Going forward, since the IE team knows how to fix it and found the problem and is setup with 8" screens to test any fix, why don't you download a copy of a php.net site, fix the IE CSS directives, test it on the 8" screens. Send us the patch, we'll test it a bit to make sure it doesn't break Firefox or Chrome, and then we'll commit it. Please test IE on several php.net sites(so we know the IE CSS directives can be used across *.php.net), www.php.net, qa.php.net, wiki.php.net (though wiki would be ~hard to setup) would be nice too. See https://github.com/php/web-php, and https://github.com/php/web-shared then `Download Zip`... that's the source for www.php.net. See https://github.com/php/web-qa and https://github.com/php/web-wiki. Additionally, if 8" screens are now a significant scenario for IE, then the VMs that are published with copies of IE need to be able to duplicate the 8" scenario. This will help other web sites too. Regards -M -----Original Message----- From: Levi Morrison [mailto:[email protected]] Sent: Friday, May 02, 2014 11:52 AM To: Colleen Williams Cc: Hannes Magnusson; Ted Kim (Axelerate LLC); [email protected]; Ecosystem Engineering IE Subject: Re: [PHP-WEBMASTER] IE Compatibility and php.net | Microsoft ref# 612807 Colleen, I think I misunderstood an earlier comment. I don't think we need to add PHP to a compatibility view list; in fact I'd probably argue against it. Regarding the 8" screen and -ms-viewport: it would be helpful to be able to get screenshots from such a device. That doesn't solve all issues (notably JS interactions) but we can at least make sure the site renders. On Fri, May 2, 2014 at 12:27 PM, Colleen Williams <[email protected]>wrote: > Thanks for the information. I’m sorry if my original request was > unclear but you may be able to remove some of the IE specific coding. > I don’t believe there’s a change that IE can make but I’ve sent it to > them to double-check. > > > > The goal starting with IE9 is to be more standards compliant and to > remove the buggy old IE code that web developers expect. I do > appreciate having this conversation with your team & understand you > are volunteering your time. > > > > The particular –ms viewport issue is relevant on small devices with > less than 8” screen so not certain if you would see the differential > if you’re using a VM. Based upon the exchange, I’ll request IE to add > the site to the Compatibility View list which is a mitigation IE can > institute so users aren’t impacted in any way. > > > > Thanks again for all of your responses and if you have any IE issues, > please let us know. > > > > Colleen > > > > *From:* Levi Morrison [mailto:[email protected]] > *Sent:* Friday, May 2, 2014 11:13 AM > *To:* Hannes Magnusson > *Cc:* Colleen Williams; Ted Kim (Axelerate LLC); > [email protected]; Ecosystem Engineering IE > > *Subject:* Re: [PHP-WEBMASTER] IE Compatibility and php.net | > Microsoft ref# 612807 > > > > We absolutely don't support IE 7 anymore. IE 8 barely works (and > sometimes not even then). I am pretty sure that we don't want to > support IE 8 anymore now that Windows XP is no longer supported. > > > > Colleen: > If you are willing to go through this effort I would suggest removing > all hacks and add back the IE 9+ ones. > > On Fri, May 2, 2014 at 11:40 AM, Hannes Magnusson < > [email protected]> wrote: > > We accept patches (or Pull Requests) for IE issues, but do not > actively try to fix them. > Just because I have a website I only have to wait 5minutes to see > screenshots of per-page, or needing to load a vm (or many?) to test a > browser incompatibility, doesn't mean that it is not expensive task. > > > For my part, honestly, I don't care. It isn't worth my time. If it is > worth yours, please send patches. > > If you look at our markup you see bunch of IE conditions to workaround > various issues: > <!--[if lte IE 7]> > <link rel="stylesheet" type="text/css" > href="http://www.php.net/styles/workarounds.ie7.css" media="screen" /> > <![endif]--> > > <!--[if lte IE 8]> > <script type="text/javascript"> > window.brokenIE = true; > </script> > <![endif]--> > > <!--[if lte IE 9]> > <link rel="stylesheet" type="text/css" > href="http://www.php.net/styles/workarounds.ie9.css" media="screen" /> > <![endif]--> > > <!--[if IE]> > <script type="text/javascript" > src="http://www.php.net/js/ext/html5.js"></script> > <![endif]--> > > > If it was totally up to me I would honestly remove it all as this sort > of contamination is aweful, and it clearly isn't maintained so the > situation only becomes worse and worse. > > At this point though, we do accept patches if you are interested in > fixing the IE situation: https://github.com/php/web-php Fairly certain > the current IE support has all come from random people doing drive-by > testing on IE anyway. > > -Hannes > > > > On Fri, May 2, 2014 at 9:23 AM, Colleen Williams <[email protected]> > wrote: > > Hi Levi – can you tell me of the other workarounds you have in place > > for > IE? > > IE’s made a lot of changes and maybe some of the workarounds aren’t > > necessary any longer (and maybe they are). > > > > > > > > If you’re willing to send a list, I’d be happy to look at them and > > confer with the IE team to see if some of the pain points can be removed. > > > > > > > > Thanks, > > > > Colleen > > > > > > > > From: Levi Morrison [mailto:[email protected]] > > Sent: Friday, May 2, 2014 6:32 AM > > To: Pierre Joye > > Cc: Hannes Magnusson; Ted Kim (Axelerate LLC); > [email protected]; > > Ecosystem Engineering IE > > Subject: Re: [PHP-WEBMASTER] IE Compatibility and php.net | > > Microsoft > ref# > > 612807 > > > > > > > > That works for basic screenshots which is good enough. Not exactly > > sure > what > > I should be looking for in regard to @-ms-viewport because it > > doesn't > seem > > to take screenshots using IE on mobile devices; I believe that's > > really where the viewport settings comes into play? > > > > > > > > On Thu, May 1, 2014 at 11:13 PM, Pierre Joye <[email protected]> > wrote: > > > > hi, > > > > > > On Fri, May 2, 2014 at 2:55 AM, Levi Morrison > > <[email protected]> > > wrote: > >> On Thu, May 1, 2014 at 6:48 PM, Hannes Magnusson > >> <[email protected] > >>> wrote: > >> > >>> Why the prefix? > >>> We have this in our markup already. Why do you need it > >>> specifically in the CSS? > >>> > >>> I guess we can add it into our ie workarounds, but these seem to > quickly > >>> becoming out of control and not worth it imo. Not to mention it to > >>> expensive to actually see if it works. > >>> > >>> -Hannes > >>> > >>> > >> Based on the git logs, Hannes and I are the contributors to the > >> PHP.net website in recent years; I don't know about Hannes but I > >> don't even > have a > >> Windows machine to test this on. Would you be willing to set up > something > >> we could use to test our website for IE compatibility? Sending us > >> hardware, setting up some kind of snapshot VM or anything along > >> those lines? At > the > >> moment it's just really hard for me because I don't have Windows. > > > > http://modern.ie/en-us > > > > Cheers, > > -- > > Pierre > > > > @pierrejoye | http://www.libgd.org > > > > > > >
