2014-04-17 19:46 GMT+02:00 Sergiu Dumitriu <[email protected]>:

> On 04/15/2014 06:09 AM, Guillaume "Louis-Marie" Delhumeau wrote:
>
> > -----
> > Internet Explorer meta tag
> > -----
> >
> > Bootstrap defines the following meta-tag:
> > <meta http-equiv="X-UA-Compatible" content="IE=edge">
> >
> > It is used to prevent Internet Explorer from using the compatibility mode
> > (which is the default setting on intranet sites). As before, this meta
> tag
> > is not valid. It is interresting to notice that even the bootstrap site
> is
> > not valid, because of that.
> >
> > In my opinion, we need this meta-tag and we should ignore this HTML5
> > violation.
> >
>
> There is another option, which is to send this in a HTTP header instead.
>

>From my memories, it does not always work. Actually, I can remember that I
had to have both the HTML meta and the HTTP header to make it actually work
on a project. Need to be tested.


> Since we can set headers from within the XWiki application and don't
> depend on .htaccess configurations, that's easy to do.
>
> We could even set it in exactly the same place where the meta element is
> currently generated (htmlheader.vm), to ensure that the exact same pages
> are affected.
>
> Or we could add it in a common place where all rendering takes place,
> for example Utils.parseTemplate, which ensures that the header will be
> present in custom skins, or when the htmlheader.vm is not being used.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to