<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>33099</bug_id>
          
          <creation_ts>2010-01-01 18:31:00 -0800</creation_ts>
          <short_desc>[QT] QWebFrame findFirstElement does&apos;t work if id attribute begins with a digit</short_desc>
          <delta_ts>2010-03-11 05:18:54 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="pepone">pepone.onrez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>kent.hansen</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>176297</commentid>
    <comment_count>0</comment_count>
    <who name="pepone">pepone.onrez</who>
    <bug_when>2010-01-01 18:31:00 -0800</bug_when>
    <thetext>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&apos;t work as expected.

&lt;body&gt;
&lt;p id=&quot;5&quot;&gt;Hello&lt;/p&gt;
&lt;/body&gt;


findFirstElement(&quot;#5&quot;)


but this works fine

&lt;body&gt;
&lt;p id=&quot;a5&quot;&gt;Hello&lt;/p&gt;
&lt;/body&gt;


findFirstElement(&quot;#a5&quot;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198039</commentid>
    <comment_count>1</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2010-03-10 06:28:32 -0800</bug_when>
    <thetext>
Please follow the QtWebKit bug reporting guidelines when reporting bugs.

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

Specifically:

  - The &apos;QtWebKit&apos; 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 &apos;Qt&apos; to signal that it&apos;s a Qt-related bug

      http://trac.webkit.org/wiki/QtWebKitBugs#Keywords</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198560</commentid>
    <comment_count>2</comment_count>
    <who name="Kent Hansen">kent.hansen</who>
    <bug_when>2010-03-11 05:18:54 -0800</bug_when>
    <thetext>Please attach a testcase (e.g. in the form of a small Qt app). Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>