Summary: | Compiling WebKit with libxml 2.6.27 or greater causes some layout tests to fail | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Matt Perry <mpComplete> | ||||
Component: | XML | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | mrowe | ||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Matt Perry
2007-04-26 12:02:07 PDT
Created attachment 14209 [details]
patch
No layout test is needed. Existing layout tests already fail when using libxml 2.6.27 or greater. For example, dom/xhtml/level3/core/nodegettextcontent14 fails.
Comment on attachment 14209 [details]
patch
This is defined by libxml in its headers?
Yes. LIBXML_VERSION is defined in libxml/xmlversion.h. Comment on attachment 14209 [details]
patch
Ideally this should be done as a runtime check, not compile time, since libxml is often dynamically linked in.
But looking at xmlversion.h I don't see a way to make the a check at runtime.
Comment on attachment 14209 [details]
patch
I agree that a runtime check would be better, but since that apparently can't be done, this seems fine. r=me
|