Zheming Sun
c5e8e12cef
CSS: Fix get upper case alpha opacity in IE8
...
Fixes gh-1705
Closes gh-1704
2014-11-08 17:43:33 +01:00
Timmy Willison
7b9b98d6e3
CSS: elements are hidden when either offsetWidth or offsetHeight is zero
...
- Note: this is a breaking change that has been delayed for several versions.
Fixes #10406
Fixes #13132
Conflicts:
src/css/hiddenVisibleSelectors.js
2014-07-17 17:33:29 -07:00
Oleg Gaidarenko
76294e1e9e
CSS: Do not throw on frame elements in FF
...
IE9-10 throws on elements created in popups (see #14150 ), FF meanwhile throws
on frame elements through "defaultView.getComputedStyle" (see #15098 )
Use "defaultView" if in the popup which would fix IE issue,
use "window.getComputedStyle" which would fix FF issue.
And everybody wins, except performance, but who cares right?
Fixes #15098
Ref e488d985cf
2014-06-16 03:21:34 +04:00
Michał Gołębiowski
e848b46cfc
Css: Use only positive integers as values for widows/orphans
...
According to http://www.w3.org/TR/CSS2/page.html#propdef-orphans , widows
and orphans can take only positive integer values. Together with a Chrome 34
regression this caused the test to fail.
(cherry-picked from def4841cfa
)
Fixes #15016
Closes gh-1563
2014-04-18 16:24:18 +02:00
Oleg Gaidarenko
6dcca6da36
CSS: jQuery#hide should always save display value
...
Fixes #14750
Closes gh-1509
(cherry picked from commit 5a8f769332
)
Conflicts:
src/css.js
2014-03-20 22:47:35 -04:00
Michał Gołębiowski
7ade83391e
Css: Fix tests
...
It's not easy to find a CSS property that is implemented even in
ancient browsers and that returns a consistent result among browsers
when passed through .css(). color didn't work since Firefox normalizes
it an empty value to rgb(0, 0, 0).
(cherry-picked from 0c12cb3910
)
2014-03-10 20:02:59 +01:00
Michał Gołębiowski
4a6d1631ea
Css: Revert 24e587929f
...
The workaround to be able to change !important styles broke the browser
keeping the old CSS value if the new one was rejected. Patching it would
involve a significant perf hit (~33%) so the initial patch needs to be
reverted instead.
Tests by m_gol & gibson042.
(cherry-picked from 10e654218a
)
Fixes #14836
Closes gh-1532
2014-03-10 19:20:54 +01:00
Dave Methvin
4adc5b2217
CSS: Return values should be numbers
...
Fixes #14792
(cherry picked from commit f4b37d8982
)
2014-03-04 21:50:42 -05:00
Michał Gołębiowski
a0677d54a6
Css: Don't check fill-opacity in Android 2.3, it's not supported
...
(cherry-picked from de75b3cc62
)
2014-02-13 16:01:09 -08:00
Michał Gołębiowski
63f5486007
Docs: Add support comments for prefixed box-sizing
2014-02-05 15:59:38 +01:00
cjqed
305eefe6ab
Tests: Avoid use of QUnit.reset() in tests by splitting them
...
Closes gh-1470
Ref #1457
2014-01-03 08:01:46 +04:00
Lihan Li
a5063ee2a1
Fix #14394 : Changing style !important in webkit. Close gh-1385.
...
(cherry picked from commit 24e587929f
)
Conflicts:
src/css.js
2013-10-15 16:38:38 -04:00
Richard Gibson
1ceecf4c64
No ticket: Test cleanup
...
(cherry picked from commit 8df348e9eb
)
Conflicts:
test/unit/css.js
2013-10-15 15:51:08 -04:00
George Kats
32d61d75e5
Fix #14432 : Always return string from .css("z-index"). Close gh-1395.
...
(cherry picked from commit 5ce4b06c28
)
Conflicts:
src/css/curCSS.js
2013-10-15 13:58:06 -04:00
Oleg
94a9a4f1c2
Correct test assertion of #10227 ticket for IE8
2013-09-17 18:21:26 +04:00
Oleg
ff156d77b2
Fix memory leaks in tests for css module
2013-09-17 17:53:26 +04:00
Oleg
fd2964237f
Fix #12723 and simplification and optmization of defaultDisplay helper
...
(cherry picked from commit a25343001e
)
2013-09-17 16:16:47 +04:00
Michał Gołębiowski
badcd1b6f3
Fix #10814 . Fix #14084 . Make support tests lazy and broken out to components.
2013-09-06 03:40:49 +02:00
Michał Gołębiowski
0f03378bdc
No ticket. Correct a support comment for the order
test. (cherry-picked from 2ac1cd91db
)
2013-08-20 15:54:27 +02:00
Michał Gołębiowski
f5f36dbd89
No ticket. Correct a support comment. (cherry-picked from f92a446ee8
)
2013-08-19 20:16:46 +02:00
Michał Gołębiowski
78a80c37a7
Remove redundant prefixes from the CSS order test. (cherry-picked from e3584179fe
)
2013-08-19 19:54:07 +02:00
Oleg
ae630c40ba
Correct assertion for #14049 ticket. Close gh-1327
2013-08-10 07:11:24 +04:00
Jason Merino
1c6641f0c8
Fixes #14049 : don't append px to CSS order value. Close gh-1300. (cherry picked from ec6eb38c64
)
2013-07-01 20:03:16 +02:00
Michał Gołębiowski
0db70aa1fa
Fix #13741 . Make wrap/unwrap methods optional; close gh-1236.
...
move size() test to unit/deprecated;
don't use size() in other tests;
make 2 unit tests actually fire;
code cleanup
2013-04-17 23:06:33 -04:00
Timmy Willison
d2435ead36
Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755 .
...
Conflicts:
src/.jshintrc
src/data.js
test/unit/attributes.js
test/unit/core.js
test/unit/data.js
test/unit/event.js
test/unit/manipulation.js
test/unit/queue.js
test/unit/traversing.js
test/unit/wrap.js
2013-04-09 12:21:54 -04:00
Richard Gibson
4ef516903e
Fix #13539 : Utilize Sizzle hooks. Close gh-1215.
2013-04-04 23:04:05 -04:00
Richard Gibson
1f76536650
No ticket: Revise unit tests in anticipation of Sizzle-free builds
...
(cherry picked from commit 59f5adb622
)
2013-02-22 20:33:00 -05:00
Oleg
8226666b13
Fix #13310 . Get the right display value for disconnected nodes. Close gh-1155.
2013-02-04 15:13:01 -05:00
Timmy Willison
dc931af877
Again, magic fixing for previous commit.
2013-01-30 20:52:06 -05:00
Timmy Willison
bb1d148345
Fix failing tests, add support for empty spans in Opera. Supplements #13132 , #10406 .
2013-01-21 18:12:16 -05:00
Timmy Willison
3015ee0b5a
Treat elements as hidden when either offsetWidth OR offsetHeight is 0. Fixes #13132 , #10406 .
2013-01-21 17:06:47 -05:00
Oleg
ce67f0ce64
Ref #8908 . Update IE9 css clone fix. Close gh-1120.
2013-01-08 01:50:18 +00:00
Oleg
643ecf9d63
Ref #8908 , gh-886. Avoid clone identity crisis in IE9/10. Close gh-1036.
2012-12-13 10:42:43 -05:00
Bennett Sorbo
32842ac365
Fix #12990 . Don't add 'px' to column-count. Close gh-1050.
2012-12-11 22:38:37 -05:00
Mike Sherov
ef6d8779de
Fixes #11938 : Adding array getter method to jQuery.fn.css
2012-12-11 13:58:14 -05:00
Richard Gibson
d343e6b9ed
Fix #12904 : Firefox defaultDisplay with body/iframe display:none. Report and solution by @maranomynet; test by @rwldrn.
2012-12-08 18:04:13 -05:00
Richard Gibson
3f51504580
No ticket: remove test suite external dependencies
2012-11-01 17:32:08 -04:00
yiminghe
c78a3ba657
Fix #12685 . Handle inconsistent opacity for ie < 9. Close gh-1005.
2012-10-30 10:20:54 -04:00
Oleg
bea5ecbba7
Fix #10416 . Don't trust computed styles on detached elements. Close gh-941.
2012-10-28 23:32:54 -04:00
Rick Waldron
8a4dc3657e
Adds missing expect() call, fixes failing IE tests
2012-10-15 14:04:58 -04:00
Rick Waldron
611d7660cd
Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js QUnit configurations.
2012-10-15 12:31:27 -04:00
James Huston
c2a6bad60a
Enforce expects in css.js ( https://github.com/jquery/2012-dev-summit/issues/53 )
2012-10-15 12:11:20 -04:00
Richard Gibson
cfe95a8643
fix failure from bad markup leaving an element behind. Closes gh-946
2012-10-05 20:31:43 -04:00
Rick Waldron
60f546acb1
body default display is always block. @mikesherov was right and this is the proof. Fixes #10227
2012-10-04 13:25:50 -04:00
Mike Sherov
9ced027465
Fix #12537 , element.css('filter') returns undefined in IE9. Close gh-942.
2012-09-30 22:14:49 -04:00
Mike Sherov
9f86dc922e
Fix #12324 , line-height "normal" isn't always "1". Close gh-898.
2012-08-19 22:46:06 -04:00
Dave Methvin
a475f1aa4d
Pull in unit tests from gh-877, thanks @orkel!
2012-07-25 21:58:59 -04:00
Dave Methvin
ed898c62c8
Fix #12148 . Let .toggle() call the public .hide() for punching.
...
There is a slightly shorter way to do this but it's not Closure-friendly.
2012-07-25 21:24:49 -04:00
Mike Sherov
aa3fabce46
Fix #12088 , Safari 5 and more percentages in getComputedStyle
...
In particular, min-width and max-width are taunting the awesome hack. Closes gh-865.
2012-07-22 22:03:27 -04:00
Chad Killingsworth
de9bed319e
Make unit tests friendly to Closure Compiler. Closes gh-845.
...
Conflicts:
test/unit/effects.js
test/unit/offset.js
2012-07-05 15:52:42 -04:00