phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[RFC|Merged] HTML5 doctype

These requests for comments have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.

Re: [RFC] HTML5 doctype

Postby /a3 » Mon Jul 11, 2011 7:48 am

Yes, after the last discussion I do agree with the change of doctype. I believe HTML5 is soon to be heading into Last Call status, which would almost be certain by the time phpBB 3.2 is released, so the idea that phpBB would be using an "incomplete" doctype would no longer be relevant.
/a3
Registered User
 
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: [RFC] HTML5 doctype

Postby nickvergessen » Mon Jul 11, 2011 8:54 am

Oleg wrote:Why is the removal of image toolbar meta safe?

igorw wrote:... some of the meta tags have been deprecated ...

+1 for integration, we don't have to use it really, but it is always nice for modifications

/a3 wrote:Yes, after the last discussion I do agree with the change of doctype. I believe HTML5 is soon to be heading into Last Call status, which would almost be certain by the time phpBB 3.2 is released, so the idea that phpBB would be using an "incomplete" doctype would no longer be relevant.
:o where did you read when the next version is released Oo
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 357
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: [RFC] HTML5 doctype

Postby /a3 » Mon Jul 11, 2011 9:15 am

nickvergessen wrote:
/a3 wrote:Yes, after the last discussion I do agree with the change of doctype. I believe HTML5 is soon to be heading into Last Call status, which would almost be certain by the time phpBB 3.2 is released, so the idea that phpBB would be using an "incomplete" doctype would no longer be relevant.
:o where did you read when the next version is released Oo

I found it at a blog of someone who gets involved with the WHATWG. :)
/a3
Registered User
 
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: [RFC] HTML5 doctype

Postby nickvergessen » Mon Jul 11, 2011 9:31 am

I ment phpBB 3.2 :geek:
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 357
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: [RFC] HTML5 doctype

Postby igorw » Mon Jul 11, 2011 10:39 am

Oleg wrote:Which browsers do we officially support?

Good question.

Oleg wrote:Which of them were tested with the current version of the patch?

I tested with:
  • IE6
  • IE7
  • Safari 5
  • Firefox 5
  • Opera 11
  • Chrome 14

Oleg wrote:X-ua-compatible meta looks like it was important, then it was deleted.

We had this in 3.0 for a while, to force IE8 into IE7 rendering mode (due to some textarea scrolling bug). Then got rid of it. The reason I added it to this patch is that it is in the [url=html5boilerplate.com]HTML5 boilerplate[/url]. It forces IE to always use the latest rendering engine. It also activates google chrome frame if present.

However, it's essentially useless, because it's only supported by IE8+, which will render the HTML5 doctype in standards mode anyway. IE6 and 7 will render it in "almost standards mode" which, according to wikipedia, results in "non-standard table cell height rendering". I couldn't find any difference in IE7's rendering of tables, so it seems to be a non issue.

Thus, X-ua-compatible is not needed.

Oleg wrote:Meta encoding also looks suspicious, which browsers support it? What happens when the web server declares content type to be iso-8859-1 and there is a meta encoding of utf8, which browsers would correctly render the page in utf8?

If a 'charset=xxx' is added to the Content-Type header, it will always take precedence, according to this document (not sure if this changed since then). Since we always send the charset in the header, the meta should in fact not even be needed.

Oleg wrote:Why is the removal of image toolbar meta safe?

All that imagetoolbar does is disable the IE6 'feature' of an ugly menu when hovering over images. Any objections to removing it?

/a3 wrote:I believe HTML5 is soon to be heading into Last Call status

Nope. Basically "HTML5" is now a living standard, renamed to "HTML". So there is no set-in-stone standard, it is constantly evolving.
User avatar
igorw
Registered User
 
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Re: [RFC] HTML5 doctype

Postby naderman » Mon Jul 11, 2011 11:21 pm

igorw wrote:
Oleg wrote:Meta encoding also looks suspicious, which browsers support it? What happens when the web server declares content type to be iso-8859-1 and there is a meta encoding of utf8, which browsers would correctly render the page in utf8?

If a 'charset=xxx' is added to the Content-Type header, it will always take precedence, according to this document (not sure if this changed since then). Since we always send the charset in the header, the meta should in fact not even be needed.

This has always been one of these funny little things: How would you even be able to read the document to find the meta tag if you don't already know what encoding the document was sent in? So let's just get rid of it :)

I'm also in favour of switching to html5.
www.naderman.de
Move your forum to Forumatic - we'll take care of maintenance & spam
User avatar
naderman
Development Team Leader
Development Team Leader
 
Posts: 1650
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany

Re: [RFC] HTML5 doctype

Postby igorw » Mon Jul 11, 2011 11:25 pm

Yeah, the meta tag really is pointless. Removing... done.
User avatar
igorw
Registered User
 
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Re: [RFC] HTML5 doctype

Postby /a3 » Tue Jul 12, 2011 6:14 am

nickvergessen wrote:I ment phpBB 3.2 :geek:

Ahh. :oops:

What I meant is that phpBB 3.0 has been out for a few years... phpBB 3.1 will either be out this year or next year (probably), and so phpBB 3.2 will be at least a few years away. By this time, it is almost certain that HTML5 be in Last Call status unless serious issues are found in the standard.
/a3
Registered User
 
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: [RFC] HTML5 doctype

Postby Oleg » Tue Jul 12, 2011 6:40 am

Per earlier posted http://blog.whatwg.org/html-is-the-new-html5, we will never be able to support any specification of html (5+) completely because such specifications will no longer exist.
Oleg
 
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am

Re: [RFC] HTML5 doctype

Postby naderman » Sun Jul 17, 2011 1:20 am

Current patch looks good to me. Shall we mark this RFC as accepted and merge?
www.naderman.de
Move your forum to Forumatic - we'll take care of maintenance & spam
User avatar
naderman
Development Team Leader
Development Team Leader
 
Posts: 1650
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany

Previous Next

Return to [3.1/Ascraeus] Merged RFCs

Who is online

Users browsing this forum: No registered users and 7 guests