Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Small validation fixes
#1
Attributes "rows" and "cols" for "textarea" tag are required to proper validaton according to: http://www.w3schools.com/TAGS/tag_textarea.asp.
Reply
#2
Hmm, I must say I do not really see the importance of this change. We might as well switch DocType to HTML5 and that’ll fix it to. But thanks for the heads up.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#3
Simek is right. This is required for strict standards. My only problem with this being such a strict standard is that it can 100% be controlled by css.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply
#4
internet54 Wrote:This is required for strict standards. My only problem with this being such a strict standard is that it can 100% be controlled by css.
My question than is, do you need your admin section to validate even when the mentioned fault never leads to problems? I’ve never seen a browser have issues with the attributes being left out and it is no hinder for accessibility either. Besides that we are already giving it sizes through CSS.

The fix as it’s given here will make the page validate but it bears no new data at all and seems unnecessary. Having empty attributes shouldn’t even validate—IMHO—as the HTML specification clearly states that they should contain a number. The new HTML5 spec gets it right by giving standard values in case nothing is specified.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply




Users browsing this thread: 1 Guest(s)