RESOLVED INVALID 33099
[QT] QWebFrame findFirstElement does't work if id attribute begins with a digit
https://bugs.webkit.org/show_bug.cgi?id=33099
Summary [QT] QWebFrame findFirstElement does't work if id attribute begins with a digit
pepone
Reported 2010-01-01 18:31:00 PST
Using Qt 4.6 rc2 on gentoo linux i found that findFirstElement returns a null QWebElement when try to select an element and the indentity attribute begins with a digit Something like this doesn't work as expected. <body> <p id="5">Hello</p> </body> findFirstElement("#5") but this works fine <body> <p id="a5">Hello</p> </body> findFirstElement("#a5")
Attachments
Tor Arne Vestbø
Comment 1 2010-03-10 06:28:32 PST
Please follow the QtWebKit bug reporting guidelines when reporting bugs. See http://trac.webkit.org/wiki/QtWebKitBugs Specifically: - The 'QtWebKit' component should only be used for bugs/features in the public QtWebKit API layer, not to signify that the bug is specific to the Qt port of WebKit http://trac.webkit.org/wiki/QtWebKitBugs#Component - Add the keyword 'Qt' to signal that it's a Qt-related bug http://trac.webkit.org/wiki/QtWebKitBugs#Keywords
Kent Hansen
Comment 2 2010-03-11 05:18:54 PST
Please attach a testcase (e.g. in the form of a small Qt app). Thanks.
Note You need to log in before you can comment on or make changes to this bug.