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
ce80f1e4
Commit
ce80f1e4
authored
May 09, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
May 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added separated IE5 and quicks mode compatibility mode.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
97e26006
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
htmldoc.c
dlls/mshtml/htmldoc.c
+2
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
mutation.c
dlls/mshtml/mutation.c
+5
-1
No files found.
dlls/mshtml/htmldoc.c
View file @
ce80f1e4
...
...
@@ -2997,7 +2997,7 @@ static HRESULT WINAPI HTMLDocument5_get_compatMode(IHTMLDocument5 *iface, BSTR *
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
*
p
=
SysAllocString
(
This
->
doc_node
->
document_mode
==
COMPAT_MODE_QUIRKS
?
BackCompatW
:
CSS1CompatW
);
*
p
=
SysAllocString
(
This
->
doc_node
->
document_mode
<=
COMPAT_MODE_IE5
?
BackCompatW
:
CSS1CompatW
);
return
*
p
?
S_OK
:
E_OUTOFMEMORY
;
}
...
...
@@ -3098,6 +3098,7 @@ static HRESULT WINAPI HTMLDocument6_get_documentMode(IHTMLDocument6 *iface, VARI
static
const
int
docmode_values
[]
=
{
5
,
/* DOCMODE_QUIRKS */
5
,
/* DOCMODE_IE5 */
7
,
/* DOCMODE_IE7 */
8
,
/* DOCMODE_IE8 */
9
,
/* DOCMODE_IE8 */
...
...
dlls/mshtml/mshtml_private.h
View file @
ce80f1e4
...
...
@@ -233,6 +233,7 @@ TID_LIST
typedef
enum
{
COMPAT_MODE_QUIRKS
,
COMPAT_MODE_IE5
,
COMPAT_MODE_IE7
,
COMPAT_MODE_IE8
,
COMPAT_MODE_IE9
,
...
...
dlls/mshtml/mutation.c
View file @
ce80f1e4
...
...
@@ -388,6 +388,10 @@ static BOOL parse_ua_compatible(const WCHAR *p, compat_mode_t *r)
return
FALSE
;
switch
(
v
){
case
5
:
case
6
:
*
r
=
COMPAT_MODE_IE5
;
break
;
case
7
:
*
r
=
COMPAT_MODE_IE7
;
break
;
...
...
@@ -401,7 +405,7 @@ static BOOL parse_ua_compatible(const WCHAR *p, compat_mode_t *r)
*
r
=
COMPAT_MODE_IE10
;
break
;
default:
*
r
=
v
<
7
?
COMPAT_MODE_QUIRKS
:
COMPAT_MODE_IE11
;
*
r
=
v
<
5
?
COMPAT_MODE_QUIRKS
:
COMPAT_MODE_IE11
;
}
return
TRUE
;
...
...
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