Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / content-editable-image-maps.html
bloba6619239e21a76aa67cb0b57ff75ccb74a5077c0
1 <!DOCTYPE HTML>
2 <style>
3 * {
4 margin: 0;
5 padding: 0;
7 </style>
9 <!-- Image, map, and area are all not content editable. -->
10 <img id="imageANotEditable" width="100" height="100" src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=" usemap="#imageMapANotEditable">
11 <map id="imageMapANotEditable" name="imageMapANotEditable">
12 <area id="areaANotEditable" shape="rect" coords="0,0,50,50" href="#" role="img">
13 </map>
14 <br>
16 <!--Image is content editable, map and area are not. -->
17 <img id="imageBEditable" width="100" height="100" src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=" usemap="#imageMapBNotEditable" contentEditable="true">
18 <map id="imageMapBNotEditable" name="imageMapBNotEditable" contentEditable="false">
19 <area id="areaBNotEditable" shape="rect" coords="0,0,50,50" href="#" role="img">
20 </map>
21 <br>
23 <!-- Map is content editable, image and area are not. -->
24 <img id="imageCNotEditable" width="100" height="100" src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=" usemap="#imageMapCEditable">
25 <map id="imageMapCEditable" name="imageMapCEditable" contentEditable="true">
26 <area id="areaCNotEditable" shape="rect" coords="0,0,50,50" href="#" role="img" contentEditable="false">
27 </map>
28 <br>
30 <!-- Area is content editable, image and map are not. -->
31 <img id="imageDNotEditable" width="100" height="100" src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=" usemap="#imageMapDNotEditable">
32 <map id="imageMapDNotEditable" name="imageMapDNotEditable">
33 <area id="areaDEditable" shape="rect" coords="0,0,50,50" href="#" role="img" contentEditable="true">
34 </map>