Skip to main content

Bug Tracker

Side navigation

Ticket #4616: test.html


File test.html, 0.7 KB (added by Panman01, May 01, 2009 11:28PM UTC)

Test Case for Bug

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>CSS Test</title>
<style type="text/css">
.apply-border {
	border: 1px solid blue;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('#byStyle').append($('#byStyle').css('border'));
	$('#byClass').append($('#byClass').css('border'));
});
</script>
</head><body>
<p id="byStyle" style="border: 1px solid green;">Border applied by style = </p>
<p id="byClass" class="apply-border">Border applied by class = </p>
</body></html>

Download in other formats:

Original Format