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
cf19259a
Commit
cf19259a
authored
Oct 21, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed spaces handling in range object.
parent
11d62d7f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
193 additions
and
73 deletions
+193
-73
dom.c
dlls/mshtml/tests/dom.c
+3
-1
txtrange.c
dlls/mshtml/txtrange.c
+190
-72
No files found.
dlls/mshtml/tests/dom.c
View file @
cf19259a
...
...
@@ -32,7 +32,7 @@
static
const
char
doc_blank
[]
=
"<html></html>"
;
static
const
char
doc_str1
[]
=
"<html><body>test</body></html>"
;
static
const
char
doc_str2
[]
=
"<html><body>test
a<font size=
\"
2
\"
>bc 123<br />it's
</font>text<br /></body></html>"
;
"<html><body>test
\n
a<font size=
\"
2
\"
>bc
\t
123<br /> it's
\r\n
\t
</font>text<br /></body></html>"
;
static
const
char
doc_str3
[]
=
"<html><head><title>test</title><body>"
"<a href=
\"
http://test
\"
name=
\"
x
\"
>link</a><input />"
...
...
@@ -876,6 +876,8 @@ static void test_txtrange(IHTMLDocument2 *doc)
test_range_parent
(
range
,
ET_BODY
);
test_range_expand
(
range
,
texteditW
,
VARIANT_TRUE
,
"wordabc 123
\r\n
it's text"
);
test_range_expand
(
range
,
texteditW
,
VARIANT_TRUE
,
"wordabc 123
\r\n
it's text"
);
test_range_move
(
range
,
characterW
,
3
,
3
);
test_range_expand
(
range
,
wordW
,
VARIANT_TRUE
,
"wordabc "
);
IHTMLTxtRange_Release
(
range
);
}
...
...
dlls/mshtml/txtrange.c
View file @
cf19259a
This diff is collapsed.
Click to expand it.
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