jquery/test/data/css/cssWidthBeforeDocReady.html
Michał Gołębiowski 622db29d9c Docs:Tests: Remove legacy code & add support comments where needed
This commits backports some changes done in the patch to the then-existing
compat branch that removed support for old browsers and added some support
comments.

Refs 90d7cc1d8b
2016-03-30 11:21:36 +02:00

22 lines
346 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
#test {
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>