A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Talk:Differences from HTML4: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
No edit summary
(reply on the html4 trans / frame stuff)
Line 1: Line 1:
* Shouldn't we mention explicitly somewhere that changes are in reference to HTML 4.01 '''Strict''' ?
== in reference to ... ==
 
Shouldn't we mention explicitly somewhere that changes are in reference to HTML 4.01 '''Strict''' ?


: Changes are in reference to HTML4 in general. Including the Transitional and Frameset "versions". [[User:Annevk|Annevk]] 11:54, 12 April 2007 (UTC)
: Changes are in reference to HTML4 in general. Including the Transitional and Frameset "versions". [[User:Annevk|Annevk]] 11:54, 12 April 2007 (UTC)
Line 6: Line 8:
:: Consider "body" and "form" for example - are they "changed elements" since they has a different content model in "4 Transitional" and "4 Frameset" as compared to "4 Strict" and "5" or not? I can easilly imagine different people interpreting the baseline used here very differently depending on where in the "4" world they come from :) [[User:Jarvklo|Jarvklo]] 14:07, 12 April 2007 (UTC)
:: Consider "body" and "form" for example - are they "changed elements" since they has a different content model in "4 Transitional" and "4 Frameset" as compared to "4 Strict" and "5" or not? I can easilly imagine different people interpreting the baseline used here very differently depending on where in the "4" world they come from :) [[User:Jarvklo|Jarvklo]] 14:07, 12 April 2007 (UTC)


Things to possibly add:
::: Every element has a different content model because of the new elements. I think we want to note stuff that has significantly changed. Feel free to make additions though. That's what wiki's are for. [[User:Annevk|Annevk]] 17:50, 13 April 2007 (UTC)
 
== Things to possibly add: ==


* The changes in the content model of several elements (eg. div and li) that has changed to use "zero or more block-level elements, or inline-level content (but not both)"
* The changes in the content model of several elements (eg. div and li) that has changed to use "zero or more block-level elements, or inline-level content (but not both)"

Revision as of 17:50, 13 April 2007

in reference to ...

Shouldn't we mention explicitly somewhere that changes are in reference to HTML 4.01 Strict ?

Changes are in reference to HTML4 in general. Including the Transitional and Frameset "versions". Annevk 11:54, 12 April 2007 (UTC)
OK. I suspected as much. :) Let me exemplify why I raised the question and think it needs to be clarified if this page is intended to be used as a reference index for people migrating between "4" and "5":
Consider "body" and "form" for example - are they "changed elements" since they has a different content model in "4 Transitional" and "4 Frameset" as compared to "4 Strict" and "5" or not? I can easilly imagine different people interpreting the baseline used here very differently depending on where in the "4" world they come from :) Jarvklo 14:07, 12 April 2007 (UTC)
Every element has a different content model because of the new elements. I think we want to note stuff that has significantly changed. Feel free to make additions though. That's what wiki's are for. Annevk 17:50, 13 April 2007 (UTC)

Things to possibly add:

  • The changes in the content model of several elements (eg. div and li) that has changed to use "zero or more block-level elements, or inline-level content (but not both)"
  • The content model changes for table (and it's children)
  • new <input> types
  • Miscellaneous new HTMLDocument APIs:
    • getElementsByClassName
    • activeElement
    • hasFocus
  • Miscellaneous new HTMLElement APIs:
    • getElementsByClassName
    • innerHTML
    • classList
    • click / blur / focus made global
  • Predefined class names
  • Predefined link types
  • Miscellaneous new APIs on specific elements (only ones that aren't tied directly to new attributes and aren't already listed)
    • relList on HTMLLinkElement, HTMLAElement
  • Auto-linking to term definitions
  • Sectioning
  • Scoped styles