Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365800

Summary: [content model] Wrong obsolete warning on table border attribute in HTML 5
Product: [WebTools] WTP Source Editing Reporter: Menachem Salomon <msalomon>
Component: wst.htmlAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.3.1   
Target Milestone: 3.3.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Menachem Salomon CLA 2011-12-06 14:55:10 EST
Build Identifier: Version: 3.6.2 Build id: M20110210-1200

The border attribute of the table tag is incorrectly labeled as "obsolete", even when the value is set to "1".  Although the border attribute with other values is indeed obsolete, values "" and "1" are still permitted.  The warning is overly strict.

Reproducible: Always

Steps to Reproduce:
<!DOCTYPE html>        <!-- to announce intention to use HTML 5 -->
<html><head></head>
<body>
    <table border="1"><tr><td>Blah</td></tr></table>
</body> </html>
Comment 1 Nick Sandonato CLA 2011-12-06 15:19:47 EST
Content model changes delivered. Thanks, Menachem.
Comment 2 Menachem Salomon CLA 2011-12-06 15:22:06 EST
(In reply to comment #1)
> Content model changes delivered. Thanks, Menachem.

Will the change apply to JSP as well? As it happens, that's where I initially noticed the issue.
Comment 3 Nick Sandonato CLA 2011-12-06 15:25:50 EST
(In reply to comment #2)
> (In reply to comment #1)
> > Content model changes delivered. Thanks, Menachem.
> 
> Will the change apply to JSP as well? As it happens, that's where I initially
> noticed the issue.

Yup, it'll work for JSPs as well.