[RFC|Merged] HTML5 doctype

These requests for comments/change 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.
/a3
Registered User
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: [RFC] HTML5 doctype

Post by /a3 »

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.
$ git commit -m "YOLO"

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: [RFC] HTML5 doctype

Post by nickvergessen »

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
Member of the Development-TeamNo Support via PM

/a3
Registered User
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: [RFC] HTML5 doctype

Post by /a3 »

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. :)
$ git commit -m "YOLO"

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: [RFC] HTML5 doctype

Post by nickvergessen »

I ment phpBB 3.2 :geek:
Member of the Development-TeamNo Support via PM

igorw
Registered User
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Re: [RFC] HTML5 doctype

Post by igorw »

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 HTML5 boilerplate. 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
naderman
Consultant
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Berlin, Germany
Contact:

Re: [RFC] HTML5 doctype

Post by naderman »

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.

igorw
Registered User
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Re: [RFC] HTML5 doctype

Post by igorw »

Yeah, the meta tag really is pointless. Removing... done.

/a3
Registered User
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: [RFC] HTML5 doctype

Post by /a3 »

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.
$ git commit -m "YOLO"

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: [RFC] HTML5 doctype

Post by Oleg »

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.

User avatar
naderman
Consultant
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Berlin, Germany
Contact:

Re: [RFC] HTML5 doctype

Post by naderman »

Current patch looks good to me. Shall we mark this RFC as accepted and merge?

Post Reply