New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tidy does not complain about valign in <tr>, <th> or <td> #711
Comments
@petdance thank you for the issue... Agree absolutely And as far as I understand it there are quite a number of table element attributes declared obsolete in html5, not just the Would really appreciate some W3C references on this issue, rather than To take it a step further, would be really nice if given the Look forward to comments, patches, PR's to correct this situation... thanks... |
Sorry about that. I didn't know where to find them. If you could find a corresponding link that would have been better and paste it here, I'll have a starting point for next time. |
@geoffmcl W3C reference or up a level for new/changed/obsolete: |
@ler762 thank you for the beautiful HTML5 obsolete attributes references... and this got me to dig deeper into this... Wow, this literally opens up a can-of-worms ;=)) In more ways than one... I started to build a HTML5 document, adding some of these First it seems the And then started to find inconsistencies in the W3C documentation in that Thankfully it seems So with ongoing inconsistencies like this maybe we should concentrate on those where it is clear... but this should probably be a separate issue... But back to this specific I started to look at how tidy verifies an attribute. Part of the giant But, for example, processing the above sample input, my in_711.html, with the option
That's right, tidy will flag these as errors if In essence this particular issue seems closed - just use the Tidy more than Note if you add a legacy doctype, like my in_711-1.html, and still use the strict option, tidy will pass it - no warnings or errors - as will the legacy W3C validator... And this is not to say that there maybe other obsolete attributes that tidy may miss, but that must be a separate issue... So @petdance can this be closed? Thanks... |
Sure, if |
This file gives no errors:
What I see shows that valign is no longer valid in HTML5
The text was updated successfully, but these errors were encountered: