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
d35e6fea
Commit
d35e6fea
authored
Sep 12, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use dispex_compat_mode in update_filter.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d58163b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
htmlstyle.c
dlls/mshtml/htmlstyle.c
+1
-6
No files found.
dlls/mshtml/htmlstyle.c
View file @
d35e6fea
...
@@ -449,11 +449,6 @@ static const style_tbl_entry_t *lookup_style_tbl(const WCHAR *name)
...
@@ -449,11 +449,6 @@ static const style_tbl_entry_t *lookup_style_tbl(const WCHAR *name)
return
NULL
;
return
NULL
;
}
}
static
inline
compat_mode_t
get_style_compat_mode
(
HTMLStyle
*
style
)
{
return
style
->
elem
&&
style
->
elem
->
node
.
doc
?
style
->
elem
->
node
.
doc
->
document_mode
:
COMPAT_MODE_QUIRKS
;
}
static
LPWSTR
fix_px_value
(
LPCWSTR
val
)
static
LPWSTR
fix_px_value
(
LPCWSTR
val
)
{
{
LPCWSTR
ptr
=
val
;
LPCWSTR
ptr
=
val
;
...
@@ -2704,7 +2699,7 @@ static void update_filter(HTMLStyle *This)
...
@@ -2704,7 +2699,7 @@ static void update_filter(HTMLStyle *This)
static
const
WCHAR
alphaW
[]
=
{
'a'
,
'l'
,
'p'
,
'h'
,
'a'
};
static
const
WCHAR
alphaW
[]
=
{
'a'
,
'l'
,
'p'
,
'h'
,
'a'
};
if
(
get_style_compat_mode
(
This
)
>=
COMPAT_MODE_IE10
)
if
(
dispex_compat_mode
(
&
This
->
dispex
)
>=
COMPAT_MODE_IE10
)
return
;
return
;
ptr
=
This
->
elem
->
filter
;
ptr
=
This
->
elem
->
filter
;
...
...
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