Bug 10150

Summary: document.createElement() in xhtml documents returns unstyleable object
Product: WebKit Reporter: Mark Hubbart <marcus.erronius>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, cdumez
Priority: P2 Keywords: HasReduction
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
pass/fail test for this bug none

Mark Hubbart
Reported 2006-07-29 01:21:05 PDT
When creating an element in javascript in an xhtml page (application/html+xml), the element returned has no style attribute, making it impossible to modify the css attributes of the element, even after it has been inserted into the document.
Attachments
pass/fail test for this bug (684 bytes, application/xhtml+xml)
2006-07-29 01:36 PDT, Mark Hubbart
no flags
Mark Hubbart
Comment 1 2006-07-29 01:34:10 PDT
(In reply to comment #0) > When creating an element in javascript in an xhtml page (application/html+xml), correction: application/xhtml+xml
Mark Hubbart
Comment 2 2006-07-29 01:36:34 PDT
Created attachment 9753 [details] pass/fail test for this bug
David Kilzer (:ddkilzer)
Comment 3 2006-07-29 03:50:43 PDT
Confirmed. This is not a regression as the same behavior occurs in production Safari 2.0.4 (419.3) on Mac OS X 10.4.7 (8J135/PowerPC). Test case works fine on Firefox 1.5.0.4.
Alexey Proskuryakov
Comment 4 2006-10-02 08:07:45 PDT
*** This bug has been marked as a duplicate of 8007 ***
Lucas Forschler
Comment 5 2019-02-06 09:03:51 PST
Mass moving XML DOM bugs to the "DOM" Component.
Note You need to log in before you can comment on or make changes to this bug.