summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/editing/dnd/overlay/034.xhtml
blob: d6b64da7540e87204fd77f4c309ca008169af7ea (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
28
29
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Drag and drop of overlapping elements: negative margins</title>
<style type="text/css">
div
	{height:100px;
	width:100px;
	margin-top:-50px;
	background-color:navy;}
div:nth-child(odd)
	{background-color:maroon;
	margin-left:50px;}
div[draggable]
	{background-color:teal;}
</style>
</head>
<body>
<div/>
<div/>
<div draggable="true"/>
<div/>
<div/>
<div draggable="true"/>
<div/>
<div/>
<p>Only green areas should be draggable.</p>
</body>
</html>