Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
26b9c5e0
Commit
26b9c5e0
authored
Mar 09, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLBodyElement implementation.
parent
4eb4546f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
1 deletion
+26
-1
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
htmlbody.c
dlls/mshtml/htmlbody.c
+0
-0
htmlelem.c
dlls/mshtml/htmlelem.c
+4
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
nsiface.idl
dlls/mshtml/nsiface.idl
+20
-0
No files found.
dlls/mshtml/Makefile.in
View file @
26b9c5e0
...
...
@@ -10,6 +10,7 @@ EXTRADEFS = -DCOM_NO_WINDOWS_H
C_SRCS
=
\
hlink.c
\
htmlbody.c
\
htmldoc.c
\
htmldoc3.c
\
htmlelem.c
\
...
...
dlls/mshtml/htmlbody.c
0 → 100644
View file @
26b9c5e0
This diff is collapsed.
Click to expand it.
dlls/mshtml/htmlelem.c
View file @
26b9c5e0
...
...
@@ -922,6 +922,7 @@ void HTMLElement_Create(HTMLDOMNode *node)
const
PRUnichar
*
class_name
;
nsresult
nsres
;
static
const
WCHAR
wszBODY
[]
=
{
'B'
,
'O'
,
'D'
,
'Y'
,
0
};
static
const
WCHAR
wszINPUT
[]
=
{
'I'
,
'N'
,
'P'
,
'U'
,
'T'
,
0
};
static
const
WCHAR
wszSELECT
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
0
};
static
const
WCHAR
wszTEXTAREA
[]
=
{
'T'
,
'E'
,
'X'
,
'T'
,
'A'
,
'R'
,
'E'
,
'A'
,
0
};
...
...
@@ -945,7 +946,9 @@ void HTMLElement_Create(HTMLDOMNode *node)
nsAString_GetData
(
&
class_name_str
,
&
class_name
,
NULL
);
if
(
!
strcmpW
(
class_name
,
wszINPUT
))
if
(
!
strcmpW
(
class_name
,
wszBODY
))
HTMLBodyElement_Create
(
ret
);
else
if
(
!
strcmpW
(
class_name
,
wszINPUT
))
HTMLInputElement_Create
(
ret
);
else
if
(
!
strcmpW
(
class_name
,
wszSELECT
))
HTMLSelectElement_Create
(
ret
);
...
...
dlls/mshtml/mshtml_private.h
View file @
26b9c5e0
...
...
@@ -212,6 +212,7 @@ nsIInputStream *create_nsstream(const char*,PRInt32);
IHlink
*
Hlink_Create
(
void
);
void
HTMLElement_Create
(
HTMLDOMNode
*
);
void
HTMLBodyElement_Create
(
HTMLElement
*
);
void
HTMLInputElement_Create
(
HTMLElement
*
);
void
HTMLSelectElement_Create
(
HTMLElement
*
);
void
HTMLTextAreaElement_Create
(
HTMLElement
*
);
...
...
dlls/mshtml/nsiface.idl
View file @
26b9c5e0
...
...
@@ -464,6 +464,26 @@ interface nsIDOMWindow : nsISupports
[
object,
uuid(a6cf908e-15b3-11d2-932e-00805f8add32)
]
interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
{
nsresult GetALink(nsAString *aALink);
nsresult SetALink(const nsAString *aALink);
nsresult GetBackground(nsAString *aBackground);
nsresult SetBackground(const nsAString *aBackground);
nsresult GetBgColor(nsAString *aBgColor);
nsresult SetBgColor(const nsAString *aBgColor);
nsresult GetLink(nsAString *aLink);
nsresult SetLink(const nsAString *aLink);
nsresult GetText(nsAString *aText);
nsresult SetText(const nsAString *aText);
nsresult GetVLink(nsAString *aVLink);
nsresult SetVLink(const nsAString *aVLink);
}
[
object,
uuid(a6cf9093-15b3-11d2-932e-00805f8add32)
]
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment