Side navigation
#13761 closed bug (notabug)
Opened April 10, 2013 07:33AM UTC
Closed April 10, 2013 03:04PM UTC
offsetWidth in IE9
Reported by: | nic-t@163.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
<!DOCTYPE html>
<html >
<head>
<script type="text/javascript" src="jquery-1.9.1.js" ></script>
</head>
<body>
<div id="test" style="border:5px solid red; width:16px; padding:13px; margin:24px;overflow:scroll;">
test
</div>
<script>
alert($('#test').width());
</script>
</body>
</html>
if the width is less than 17px, IE9 will return 17, other browswer will return what you specified.
Attachments (0)
Change History (1)
Changed April 10, 2013 03:04PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
Please ask for help on the forums or in the #jquery irc channel.