Bug 33099

Summary: [QT] QWebFrame findFirstElement does't work if id attribute begins with a digit
Product: WebKit Reporter: pepone <pepone.onrez>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: kent.hansen
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Description pepone 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.

<p id="5">Hello</p>


but this works fine

<p id="a5">Hello</p>

Comment 1 Tor Arne Vestbø 2010-03-10 06:28:32 PST
Please follow the QtWebKit bug reporting guidelines when reporting bugs.

See http://trac.webkit.org/wiki/QtWebKitBugs


  - 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


  - Add the keyword 'Qt' to signal that it's a Qt-related bug

Comment 2 Kent Hansen 2010-03-11 05:18:54 PST
Please attach a testcase (e.g. in the form of a small Qt app). Thanks.