summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/editing/dnd/navigation/023.xhtml
blob: 4f7b80939b89d3af739f86d9b8c663461fa41ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Reload during cross page drag and drop with text/uri-list data</title>
<style type="text/css">
div[ondragstart]
  {width:40px;
  min-height:40px;
  margin-top:20px;
  padding:40px;
  color:white;
  background-color:navy;}
</style>
</head>
<body>
<div draggable="true" ondragstart="event.dataTransfer.effectAllowed = 'copy';event.dataTransfer.setData('text/uri-list','data:text/plain,PASS');window.location = '023-1.xhtml'"/>
<p>Drag blue box. You should be redirected to the new page and be able to drop it there.</p>
</body>
</html>