2017-08-03 16:47:35 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Text-decoration:underline tests</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<script type="text/javascript" src="../../test.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
function setUp() {
|
|
|
|
$('body').empty();
|
2019-05-26 01:54:41 +03:00
|
|
|
$.each(['arial','verdana','courier new'],function(i,e){
|
2017-08-03 16:47:35 +03:00
|
|
|
var div = $('<div />').css('font-family',e).appendTo('body');
|
2017-08-30 17:20:42 +03:00
|
|
|
for(var i=0;i<=5;i++){
|
2017-08-03 16:47:35 +03:00
|
|
|
$('<div />').text('Testing texts').css('margin-top',1).css('border','1px solid black').css('font-size',(16+i*6)).appendTo(div);
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.small{
|
|
|
|
font-size:14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.medium{
|
|
|
|
font-size:18px;
|
|
|
|
}
|
|
|
|
.large{
|
|
|
|
font-size:24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div{
|
|
|
|
text-decoration:underline overline line-through;
|
|
|
|
text-decoration-color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lineheight{
|
|
|
|
line-height:40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
clear:both;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
Creating content through JavaScript
|
|
|
|
</body>
|
|
|
|
</html>
|