Closed Bug 545997 Opened 16 years ago Closed 15 years ago

rows of a table if put in <form> will not display when get the content using ajax.

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 563921

People

(Reporter: wan_jm, Unassigned)

Details

(Whiteboard: [fixed by the HTML5 parser?])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 there is a table, with one row put in <form>. this displays well when first get the table from server. but if the table is got using ajax. then the row put in <form> tag will not be displayed. for example: <table><tr><td>ok row.</td></tr> <form id="hello"><tr><td></td></tr></form> <!--this line will not be displayed when the table is get through ajax.--> </table> any way, if the table is get directly from server, every thing shows well. Reproducible: Always Steps to Reproduce: 1.create the table in one page. <table><tr><td>ok row.</td></tr> <form id="hello"><tr><td></td></tr></form> <!--this line will not be displayed when the table is get through ajax.--> </table> 2. get it direclty, it displayed well. 3. usring another page, which using ajax to get the table. the second row of the table will not be shown. Actual Results: the second row disappeared after using ajax to retrive the page. Expected Results: it should be displayed no matter get directly or using ajax. no
Thanks for the report! This is very similar to bug 546289 and is likely also fixed by the HTML5 parser (bug 373864). You can test as described on http://hsivonen.iki.fi/test-html5-parsing/ to confirm.
Component: General → HTML: Parser
Product: Firefox → Core
QA Contact: general → parser
Whiteboard: [fixed by the HTML5 parser?]
How are you doing the "get through ajax" part? Please attach an HTML page showing the problem. In particular, are you just parsing it as XML and then sticking it in the DOM? Note that when parsed as HTML the invalid markup is fixed up so that the table row is NOT inside the form anymore But that won't happen with XML, of course.
Reporter, is this a duplicate of bug 563921?
No response from reporter so I'm assuming it's the same (invalid) issue as in bug 563921.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.