summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/editing/dnd/navigation/011-1.xhtml
blob: 85f016441ca9db6606d061bad2c8e5be088196e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Cross page drag and drop: helper file</title>
<style type="text/css">
div[ondragenter]
	{margin:200px 0 0 200px;
	width:200px;
	height:100px;
	color:white;
	background-color:navy;}
div[ondragenter]:before
	{display:block;
	content:"";
	border-style:solid;
	position:relative;
	top:-50px;
	left:-200px;
	border-width:100px;
	border-color:transparent navy transparent transparent;}
</style>
</head>
<body>
<p>Drag canvas to the blue arrow but don't drop it yet. You should be returned back to start page.</p>
<div ondragenter="event.preventDefault()" ondragover="history.go(-1)"/>
</body>
</html>