mshtml: Move IHTMLCSSStyleDeclaration implementation to CSSStyle.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2019-03-25 15:14:50 +01:00 committed by Alexandre Julliard
parent 8445470266
commit 12ec83f75b
2 changed files with 637 additions and 617 deletions

File diff suppressed because it is too large Load Diff

View File

@ -16,10 +16,18 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
typedef struct {
typedef struct CSSStyle CSSStyle;
typedef void *(*style_qi_t)(CSSStyle*,REFIID);
struct CSSStyle {
DispatchEx dispex;
IHTMLCSSStyleDeclaration IHTMLCSSStyleDeclaration_iface;
LONG ref;
style_qi_t qi;
nsIDOMCSSStyleDeclaration *nsstyle;
} CSSStyle;
};
struct HTMLStyle {
CSSStyle css_style;
@ -29,11 +37,8 @@ struct HTMLStyle {
IHTMLStyle4 IHTMLStyle4_iface;
IHTMLStyle5 IHTMLStyle5_iface;
IHTMLStyle6 IHTMLStyle6_iface;
IHTMLCSSStyleDeclaration IHTMLCSSStyleDeclaration_iface;
IHTMLCSSStyleDeclaration2 IHTMLCSSStyleDeclaration2_iface;
LONG ref;
HTMLElement *elem;
};