mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
24 lines
413 B
HTML
24 lines
413 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
#test {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
width: 100px;
|
|
height: 100px;
|
|
padding: 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="test"></div>
|
|
<script src="../../jquery.js"></script>
|
|
<script>
|
|
window.parent.iframeCallback( jQuery( "#test" ).css( 'width' ) );
|
|
</script>
|
|
</body>
|
|
</html>
|