[Webkit-unassigned] [Bug 77731] New: [Qt] QWebElement.appendInside - JavaScript not working inside of added HTML fragment

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 3 05:46:19 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=77731

           Summary: [Qt] QWebElement.appendInside - JavaScript not working
                    inside of added HTML fragment
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: s.andreenko at gmail.com


Hello!
I have some HTML code that I create in app and viewing in QWebView. Periodically I need to add fragment to DOM, this fragment reads from file and can include some javascript code.

Fragment like this

<!--MessageIn-->
    <div class="space"> </div>
    <div class="in MessageIn" id="oneShot">
        <div class="tr">
            <div class="bl">
                <div class="br">
                    <p class="head">
                        <span class="time" id="time">%time%</span>
                        <span class="name" id="name">%name%</span>
                    </p>
                    <p class="content">
                        <span class="text" id="text"><script>getitall('%text%','%name%','%cid%','%base%',meldungsart[0]);</script></span>
                    </p>                    
            </div>
        </div>
    </div>
<script type="text/javascript">animation1();</script> 

JavaScript functions getitall and animation1() are not being executed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list