Bug 29436
| Summary: | [Qt] WebKit does not create proper HTML tags | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tor Arne Vestbø <vestbo> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | hausmann, laszlo.gombos |
| Priority: | P2 | Keywords: | Qt |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | OS X 10.5 | ||
Tor Arne Vestbø
This bug report originated from issue QTBUG-4093
<http://bugreports.qt.nokia.com/browse/QTBUG-4093>
--- Description ---
E.g.:
Open the inspector and run this JavaScript:
document.execCommand("InsertHTML", false, "<img src='foo.jpg' />");
What gets written to the HTML is <img src='foo.jpg'> instead of <img src='foo.jpg' />
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Hausmann
This is not really a bug. The image is inserted correctly into the DOM tree and the way it is visualized in the inspector is just a simplification, omitting the closing slash.