aboutsummaryrefslogtreecommitdiffstats
path: root/src/css.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2011-04-22 00:02:08 -0400
committerJohn Resig <jeresig@gmail.com>2011-04-22 00:02:08 -0400
commit3d9445e3fce84448b4b569a1a6f1aa454a898265 (patch)
treea98ed83a55f82be8db20447651f9821bbc874d16 /src/css.js
parent16312c6b0627602153e8069f6c2018578289faea (diff)
downloadjquery-3d9445e3fce84448b4b569a1a6f1aa454a898265.tar.gz
jquery-3d9445e3fce84448b4b569a1a6f1aa454a898265.zip
Landing pull request 340. Adds widows, orphans to cssNumber hash; includes tests. Fixes #8936.
More Details: - https://github.com/jquery/jquery/pull/340 - http://bugs.jquery.com/ticket/8936
Diffstat (limited to 'src/css.js')
-rw-r--r--src/css.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js
index c5c01ecac..318cd5979 100644
--- a/src/css.js
+++ b/src/css.js
@@ -59,7 +59,9 @@ jQuery.extend({
"fontWeight": true,
"opacity": true,
"zoom": true,
- "lineHeight": true
+ "lineHeight": true,
+ "widows": true,
+ "orphans": true
},
// Add in properties whose names you wish to fix before