This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: |
DIV in TH parsing issue; was:HTML formatter does not handle div within th |
Product: |
web
|
Reporter: |
adrianriley <adrianriley> |
Component: |
HTML Editor | Assignee: |
Marek Fukala <mfukala> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
normal
|
CC: |
TheTechFan
|
Priority: |
P3
|
|
|
Version: |
7.3 | |
|
Hardware: |
Other | |
|
OS: |
Linux | |
|
Issue Type:
|
DEFECT
|
Exception Reporter:
|
|
Attachments: |
Simple example
|
Created attachment 128318 [details] Simple example If a <th> element contains a <div> element, an error is shown (Element "div" is not allowed as child element of "th" in this context). I'm not sure that's correct, the HTML DTD suggests that th should allow any flow element as child, as td does. In any case, the formatter fails to format the content correctly. See the attached example.