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
c32ae1b3
Commit
c32ae1b3
authored
Mar 18, 2014
by
Zhenbo Li
Committed by
Alexandre Julliard
Mar 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLTableRow::sectionRowIndex property implementation.
parent
0e90cebc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
htmltablerow.c
dlls/mshtml/htmltablerow.c
+11
-4
dom.c
dlls/mshtml/tests/dom.c
+5
-0
No files found.
dlls/mshtml/htmltablerow.c
View file @
c32ae1b3
...
...
@@ -237,11 +237,18 @@ static HRESULT WINAPI HTMLTableRow_get_rowIndex(IHTMLTableRow *iface, LONG *p)
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLTableRow_get_se
le
ctionRowIndex
(
IHTMLTableRow
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLTableRow_get_sectionRowIndex
(
IHTMLTableRow
*
iface
,
LONG
*
p
)
{
HTMLTableRow
*
This
=
impl_from_IHTMLTableRow
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMHTMLTableRowElement_GetSectionRowIndex
(
This
->
nsrow
,
p
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Get selectionRowIndex failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLTableRow_get_cells
(
IHTMLTableRow
*
iface
,
IHTMLElementCollection
**
p
)
...
...
@@ -299,7 +306,7 @@ static const IHTMLTableRowVtbl HTMLTableRowVtbl = {
HTMLTableRow_put_borderColorDark
,
HTMLTableRow_get_borderColorDark
,
HTMLTableRow_get_rowIndex
,
HTMLTableRow_get_se
le
ctionRowIndex
,
HTMLTableRow_get_sectionRowIndex
,
HTMLTableRow_get_cells
,
HTMLTableRow_insertCell
,
HTMLTableRow_deleteCell
...
...
dlls/mshtml/tests/dom.c
View file @
c32ae1b3
...
...
@@ -5623,6 +5623,11 @@ static void test_tr_elem(IHTMLElement *elem)
ok
(
hres
==
S_OK
,
"get_rowIndex failed: %08x
\n
"
,
hres
);
ok
(
lval
==
1
,
"get_rowIndex returned %d
\n
"
,
lval
);
lval
=
0xdeadbeef
;
hres
=
IHTMLTableRow_get_sectionRowIndex
(
row
,
&
lval
);
ok
(
hres
==
S_OK
,
"get_sectionRowIndex failed: %08x
\n
"
,
hres
);
ok
(
lval
==
1
,
"get_sectionRowIndex returned %d
\n
"
,
lval
);
IHTMLTableRow_Release
(
row
);
}
...
...
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