[Webkit-unassigned] [Bug 16401] [GTK] GObject/C DOM binding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 1 07:36:49 PST 2009


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





------- Comment #125 from lkcl at lkcl.net  2009-01-01 07:36 PDT -------
http://msdn.microsoft.com/en-us/library/aa703907(VS.85).aspx

    HRESULT IHTMLEmbedElement::get_width(VARIANT *p);
    HRESULT IHTMLEmbedElement::put_width(VARIANT v);

Parameters

    p
        Pointer to a variable of type VARIANT of type VT_I4 or VT_BSTR that
receives one of the values listed in Possible Values.
    v
        VARIANT of type VT_I4 or VT_BSTR that specifies one of the values
listed in Possible Values.

Possible Values

    width       Integer that specifies the width of the object in pixels.
    percentage  Not applicable to C++.

Return Value

    Remarks

        This property is an integer value. Although an HTML author can specify
the width as a percentage, this property always specifies the width in pixels
in C++.


oh look!  in IE, they have encountered exactly the same pain as webkit, and
chose to deal with it by allowing IHTMLEmbedElement.width to be set to _either_
a string _or_ an integer.


i won't go through all of the properties for IE's HTMLEmbedElement and
HTMLAppletElement - i'm wasting enough time on this as it is.


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



More information about the webkit-unassigned mailing list