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")
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
Please attach a testcase (e.g. in the form of a small Qt app). Thanks.