Skip to content

Commit e708998

Browse files
usmonsterkswedberg
authored andcommitted
jQuery.boxModel: removed since 1.8 Closes gh451
1 parent 1b7e2e7 commit e708998

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

entries/jQuery.boxModel.xml

+3-30
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,13 @@
11
<?xml version="1.0"?>
2-
<entry type="property" name="jQuery.boxModel" return="Boolean" deprecated="1.3">
2+
<entry type="property" name="jQuery.boxModel" return="Boolean" deprecated="1.3" removed="1.8">
33
<title>jQuery.boxModel</title>
44
<signature>
55
<added>1.0</added>
66
</signature>
7-
<desc><strong>Deprecated in jQuery 1.3 (see <a href="/jQuery.support/">jQuery.support</a>)</strong>. States if the current page, in the user's browser, is being rendered using the <a href="http://www.w3.org/TR/REC-CSS2/box.html">W3C CSS Box Model</a>.</desc>
7+
<desc>States if the current page, in the user's browser, is being rendered using the <a href="http://www.w3.org/TR/REC-CSS2/box.html">W3C CSS Box Model</a>. <strong>This property was removed in jQuery 1.8</strong>. Please try to use feature detection instead.</desc>
88
<longdesc/>
9-
<example>
10-
<desc>Returns the box model for the iframe.</desc>
11-
<code><![CDATA[
12-
$( "p" ).html( "The box model for this iframe is: <span>" +
13-
jQuery.boxModel + "</span>" );
14-
]]></code>
15-
<css><![CDATA[
16-
p {
17-
color: blue;
18-
margin: 20px;
19-
}
20-
span {
21-
color: red;
22-
}
23-
]]></css>
24-
<html><![CDATA[
25-
<p></p>
26-
]]></html>
27-
</example>
28-
<example>
29-
<desc>Returns false if the page is in Quirks Mode in Internet Explorer</desc>
30-
<code><![CDATA[
31-
$.boxModel
32-
]]></code>
33-
<results><![CDATA[
34-
false
35-
]]></results>
36-
</example>
379
<category slug="utilities"/>
3810
<category slug="version/1.0"/>
3911
<category slug="deprecated/deprecated-1.3"/>
12+
<category slug="removed"/>
4013
</entry>

0 commit comments

Comments
 (0)