[Webkit-unassigned] [Bug 32865] [Qt] QWebElement::attribute always returns empty result for input's values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 25 18:18:26 PDT 2011


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


Simon Hausmann <hausmann at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94578|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #47 from Simon Hausmann <hausmann at webkit.org>  2011-05-25 18:18:26 PST ---
(From update of attachment 94578)
I'm going to say r- because of the previous comment in the sense that this makes setAttribute() inconsistent to setAttributeNS() (and the same for the getters).

Unless someone comes up with a nicer proposal I'd suggest we solve this when we introduce the QtScript dependency. Then we can have for example

    QScriptValue QWebElement::scriptObject()

and you can do

    element.setAttribute("value", "this is the initial value");

    QScriptValue jsobject = element.scriptObject();
    jsobject.setProperty("value", "current text");

-- 
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