Summary: | XPath //title shouldn't match <title> in XHTML | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||||
Component: | XML | Assignee: | Alexey Proskuryakov <ap> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
URL: | http://www.yvon-thoraval.com/DOM/xpath_svg_test_case.xhtml | ||||||||
Bug Depends on: | 12583 | ||||||||
Bug Blocks: | 12584 | ||||||||
Attachments: |
|
Description
Alexey Proskuryakov
2007-02-04 05:27:51 PST
Created attachment 12919 [details] proposed fix This fixes the bug, but cannot be landed until bug 12583 is fixed (otherwise, two other tests break). I hope this won't take long, so submitting for review anyway. Comment on attachment 12919 [details]
proposed fix
r=me
Created attachment 13115 [details]
alternative fix
A fix that special-cases HTML documents, as discussed with Hyatt on IRC.
Comment on attachment 13115 [details]
alternative fix
Also check for node->isHTMLElement(), sincei n the future we may end up letting XML elements be in HTML docs by various means (e.g., XBL).
Committed revision 19564. |