[Bug 22541] <table border=1> isn't considered invalid

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22541

--- Comment #6 from Henri Sivonen <hsivonen@hsivonen.fi> ---
(In reply to Ian 'Hixie' Hickson from comment #0)
> This document is marked as valid, but contains a non-conforming
> presentational attribute:
> 
>    <!DOCTYPE html><title></title><table border=1><tr><td></table>
> 
> TESTCASE:
> http://validator.nu/?doc=data%3Atext%2Fhtml%3Bcharset%3Dutf-
> 8%2C%3C%21DOCTYPE+html%3E%3Ctitle%3E%3C%2Ftitle%3E%3Ctable+border%3D1%3E%3Ctr
> %3E%3Ctd%3E%3C%2Ftable%3E&showsource=yes

Looks like a bug. I have no idea how this happened.

(In reply to Michael[tm] Smith from comment #1)
> Cc'in Henri to see what he thinks.
> 
> I personally think the spec is a bit out of sync with practical realities in
> trying to make table@border -- and other presentational attributes on the
> table element -- a document-conformance error.

I think td/th@align should be valid, since their use varies depending on
content and context in ways that make it impractical to treat the alignment as
a separated thing.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 17 October 2013 12:36:58 UTC