Skip to content

Commit ea843f3

Browse files
committed
Formatting fixes
Follow up to #2691
1 parent 6692749 commit ea843f3

File tree

2 files changed

+13
-22
lines changed

2 files changed

+13
-22
lines changed
Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,32 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html>
33
<head>
44
<title>Drag&Drop Cursors Test</title>
55
<style>
6-
.dropzone {
7-
width: 80px;
8-
height: 70px;
9-
padding: 10px;
10-
display: inline-block;
11-
border: 1px solid #aaaaaa;
12-
background: white;
13-
}
6+
.dropzone { width: 80px; height: 70px; padding: 10px; display: inline-block; border: 1px solid #aaaaaa; background: white; }
147

15-
#drag {
16-
width: 200px;
17-
height: 50px;
18-
padding: 10px;
19-
border: 1px solid #aaaaaa;
20-
background: wheat;
21-
}
8+
#drag { width: 200px; height: 50px; padding: 10px; border: 1px solid #aaaaaa; background: wheat; }
229
</style>
2310
<script>
24-
function allowDrop(ev, effect) {
11+
function allowDrop(ev, effect)
12+
{
2513
ev.dataTransfer.dropEffect = effect;
2614
ev.preventDefault();
2715
}
2816

29-
function drag(ev) {
17+
function drag(ev)
18+
{
3019
ev.dataTransfer.effectAllowed = "all";
3120
ev.dataTransfer.setData("text/plain", ev.target.id);
3221
}
3322

34-
function drop(ev) {
23+
function drop(ev)
24+
{
3525
ev.preventDefault();
3626
var data = ev.dataTransfer.getData("text/plain");
3727
var element = document.getElementById(data);
38-
if (element) {
28+
if (element)
29+
{
3930
ev.target.appendChild(element);
4031
}
4132
alert(ev.dataTransfer.dropEffect + " | " + data);
@@ -51,4 +42,4 @@
5142
<br>
5243
<div id="drag" draggable="true" ondragstart="drag(event)">Drag me over the drop zones</div>
5344
</body>
54-
</html>
45+
</html>

CefSharp.Wpf/ChromiumWebBrowser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public class ChromiumWebBrowser : Control, IRenderWebBrowser, IWpfWebBrowser
109109
/// </summary>
110110
private IDragData currentDragData;
111111
/// <summary>
112-
/// Keep the current drag&drop effects to return the appropriate effects on drag over.
112+
/// Keep the current drag&amp;drop effects to return the appropriate effects on drag over.
113113
/// </summary>
114114
private DragDropEffects currentDragDropEffects;
115115
/// <summary>

0 commit comments

Comments
 (0)