Bug 10507 - when using an editiable WebKit foreign namespace element are moved out of the document's head
Summary: when using an editiable WebKit foreign namespace element are moved out of the...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 419.x
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-21 19:20 PDT by Robert Burns
Modified: 2019-02-06 09:02 PST (History)
2 users (show)

See Also:


Attachments
sample xhtml file for reproducing bug in Blot.app (4.11 KB, application/xhtml+xml)
2006-08-21 19:25 PDT, Robert Burns
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Burns 2006-08-21 19:20:35 PDT
when using an editiable WebKit foreign namespace element are moved out of the document's head. This can be verified with Blot.app. Opening a document with elements such as ev:listener or listener or xforms:model or xforms get moved out of the heead upon opening.
Comment 1 Robert Burns 2006-08-21 19:25:07 PDT
Created attachment 10160 [details]
sample xhtml file for reproducing bug in Blot.app
Comment 2 Robert Burns 2006-08-21 19:45:13 PDT
the description should read: "... xforms:model or mdoel in the head"
Comment 3 Mark Rowe (bdash) 2006-08-22 14:25:40 PDT
While this may not be relevant, the document you have attached doesn't validate as XML.  When loading it in Safari I get:
    This page contains the following errors:
    error on line 7 at column 20: Attribute lang redefined

A nightly build of WebKit produces:
    This page contains the following errors:
    warning on line 5 at column 33: xmlns:ev: 'www.w3.orgâ??xml-events' is not a valid URI
    error on line 8 at column 1: Attribute lang redefined

On closer inspection it seems as though your namespace declaration for "ev" has an EM DASH in place of the first hyphen.  I'm not sure if this, and the warning it produces, are relevant to the issue at hand but it could be worth fixing it and testing.
Comment 4 Robert Burns 2006-09-14 19:25:08 PDT
(In reply to comment #3)
> While this may not be relevant, the document you have attached doesn't validate
> as XML.  When loading it in Safari I get:
>     This page contains the following errors:
>     error on line 7 at column 20: Attribute lang redefined
> 
> A nightly build of WebKit produces:
>     This page contains the following errors:
>     warning on line 5 at column 33: xmlns:ev: 'www.w3.orgâ??xml-events' is not
> a valid URI
>     error on line 8 at column 1: Attribute lang redefined
> 
> On closer inspection it seems as though your namespace declaration for "ev" has
> an EM DASH in place of the first hyphen.  I'm not sure if this, and the warning
> it produces, are relevant to the issue at hand but it could be worth fixing it
> and testing.
> 

Comment 5 David Kilzer (:ddkilzer) 2006-09-14 22:11:10 PDT
(In reply to comment #4)

See Bug 6314 Comment #28.
Comment 6 Lucas Forschler 2019-02-06 09:02:31 PST
Mass moving XML DOM bugs to the "DOM" Component.