Summary: | Dynamically appending items to ol/ul lists doesn't work in XHTML | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | mitz | ||||
Priority: | P2 | Keywords: | HasReduction | ||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Alexey Proskuryakov
2006-09-04 13:58:37 PDT
Created attachment 10394 [details]
test case
I had the same problem when I was trying to add with appendChild and createElement (JavaScript) new elemnts to DOM of XHTML valid document (application/xhtml+xml). I enabled DEBUG in Safari (not webkit) and looked at the code of the page. it showed me that if i try to add link to a page it 4example adds this code "<a href="link"/>text</a>". the same thing with paragraph it adds "<p/>text</p>". So the problem is that it adds to opening tag "/" at the end of it. |