XhmikosR
b9e59e96af
Replace master
with v3-dev
after the branch switch. ( #28287 )
2019-02-15 23:36:44 +02:00
Johann-S
2ccfa57467
handle # selector for dropdown
2019-02-13 17:55:38 +02:00
XhmikosR
a43077d3c3
Bump version to 3.4.1.
2019-02-13 17:55:38 +02:00
XhmikosR
d6b8501e4c
ES5 fixes.
2019-02-13 17:55:38 +02:00
Johann-S
2c8abb9a43
Add sanitize for tooltips and popovers html content.
...
On browsers that `createHTMLDocument` isn't available just return the unsafe HTML.
2019-02-13 17:55:38 +02:00
XhmikosR
d4129dff60
Bump year.
2019-02-13 17:55:38 +02:00
XhmikosR
f77c7a3c92
Switch to lowercase doctype
.
2018-10-18 11:27:47 +03:00
XhmikosR
e105d15642
Use https, fix broken links and unneeded redirects.
2018-10-18 11:27:47 +03:00
Andrew Luca
cf6f867190
fix: add padding to navbar-fixed-*
on modal open
2018-10-18 10:14:05 +02:00
Andrew Luca
0b78f465d3
test: ensure .navbar-fixed-* padding on modal open
2018-10-18 10:14:05 +02:00
XhmikosR
82dd279656
Cache length variables.
2018-10-08 20:12:34 +03:00
XhmikosR
5cce25d515
Minor indentation fixes.
2018-10-08 20:12:34 +03:00
XhmikosR
bfc052ad5a
Fix HTML validation errors and lint tests too.
2018-10-08 20:12:34 +03:00
XhmikosR
08529515e5
Bump year to 2018.
2018-10-08 20:12:34 +03:00
Johann-S
4ebe2b8753
Use BrowserStack for our unit tests.
2018-09-28 09:53:59 +03:00
Johann-S
9c4c72e31e
fix unit tests
2018-08-19 16:57:25 +02:00
don-spyker
2a5ba23ce8
Fix/xss issues on data attributes ( #27047 )
...
* fix(collapse): xss CVE-2018-14040
Fixes #26625
* fix(tooltip): xss CVE-2018-14042
Fixes #26628
* fix(tooltip): XSS on data-viewport attribute
Fixes #27044
* fix(affix): XSS on target config
Fixes #27045
2018-08-13 18:09:18 +02:00
Johann-S
13bf8aeae3
fix(tab): remove xss
2018-05-07 11:22:05 +03:00
Mark Otto
e1bdfc2b52
Merge remote-tracking branch 'origin/master' into v3.4.0-dev
2018-04-06 22:11:55 -07:00
Craig Main
2c2ac33564
Prevent empty carousel from throwing, and staying in a 'sliding' state.
...
Fixes #24132 .
2017-10-04 10:51:34 +03:00
Johann-S
29f9237f73
Fix XSS in Alert, Carousel, Collapse, Dropdown and Modal
2017-09-14 10:07:51 +02:00
Mark Otto
332a1905f2
bump version
2017-07-04 13:48:46 -07:00
Chris Rebert
df08d95495
Update version numbers in preparation for v3.3.7 release ( #20357 )
...
[skip sauce]
2016-07-25 08:24:11 -07:00
Chris Rebert
c2404d30e9
Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3; fixes #20280 ( #20313 )
...
Refs https://github.com/jquery/jquery/issues/3137
[skip validator]
2016-07-20 17:21:56 -07:00
Chris Rebert
e67e3e9b19
button.js: Set disabled property in addition to disabled attribute to preserve behavior under jQuery 3 ( #20278 )
...
This code ought to have used .prop instead of .attr in the first place,
but we can't get rid of the attr manipulation now due to backward compatibility constraints.
Refs https://github.com/jquery/jquery-migrate/blob/3.0.0/warnings.md#jqmigrate-jqueryfnremoveattr-no-longer-sets-boolean-properties
Refs #16834
[skip validator]
2016-07-12 04:04:40 -07:00
Dave Methvin
1956146787
alert: Avoid calling jQuery('#'), it's a syntax error in jQuery 3.0 ( #20019 )
2016-07-12 00:29:04 -07:00
Dave Methvin
bc05ef16ec
Port #20198 to v3
...
ScrollSpy unit test: Use single done() in a then() instead of multiple done()s
Fixes test flakiness on OS X Safari and Android when using jQuery 3.
Fixes #20182 more
Refs #20191
2016-07-07 23:32:50 -07:00
Dave Methvin
4a8b29fbf5
Port #20190 to v3
...
Scrollspy test: Allow for async .then() in jQuery 3; fixes #20182
Instead of doing a new assert.async(), just do a single one for the entire test
and let the .then() be async as well.
2016-07-07 23:32:18 -07:00
Greg Sheremeta
f01f3e5f34
Clear tooltip's $element to prevent leaking memory. Fixes #17973
...
Closes #19659
2016-05-29 17:43:40 -07:00
Jonathan Persson
fc26740876
Merge two jQuery is()
calls in the button component by using the OR operator in the selector instead of two function calls with the OR operator between them.
...
Closes #16918 .
2016-05-29 12:18:29 +03:00
XhmikosR
20103dac18
Update jQuery to v1.12.4.
2016-05-26 15:33:43 +03:00
XhmikosR
ebc2d2badc
Update jQuery to v1.12.2.
2016-03-19 15:18:33 +02:00
XhmikosR
14fa65ea29
Update QUnit to v1.22.0.
2016-03-10 13:44:17 +02:00
XhmikosR
9b412a7435
Fix JSHint errors.
...
[skip sauce]
2016-03-10 13:44:16 +02:00
alberto
741b4eca20
Update jQuery to 1.12.1
2016-02-23 18:50:43 +01:00
Chris Rebert
851e3f1b04
Bump html5shiv to v3.7.3
...
Fixes #19262
Thanks to @coliff for pointing out that we were using an outdated version.
2016-02-18 00:59:27 -08:00
Chris Rebert
66c81fe4a1
Port #19220 to v3
...
js/tests/index.html: Replace jQuery event alias methods with functions that throw explanatory errors, instead of with undefined
Refs https://github.com/twbs/bootstrap/pull/19219#issuecomment-184653699
[skip validator]
2016-02-16 14:24:39 -08:00
Patrick H. Lauke
eabdad7208
Visual/manual test for checkbox/radio button kbd behavior
2016-02-16 22:13:55 +00:00
Fabrice Daugan
ad1e98d094
button.js: Fix keyboard navigation
...
This PR fixes the keyboard navigation again while still keeping #16223 fixed.
Closes #19192
2016-02-16 04:38:05 -08:00
Sean Jones
9f2f51073c
enforceFocus event.target - event is undefined
...
event.target should be e.target within enforceFocus method.
2016-01-15 12:13:40 +00:00
Chris Rebert
cf3f8e0d58
Update copyright years to 2016
...
[ci skip]
2016-01-01 12:22:03 -08:00
Chris Rebert
aeb25ba521
Modal: Ignore spurious focus
event that Firefox fires at document
when switching back to its tab
...
Fixes #18365
Ports #18638 to v3
Refs https://bugzilla.mozilla.org/show_bug.cgi?id=1228802
2015-12-22 23:21:51 -07:00
Chris Rebert
50ce63b5e5
Add visual test for #18365
...
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1228802
2015-12-22 23:18:06 -07:00
Chris Rebert
40996725ce
js/tests/unit/modal.js: Fix typo
...
[ci skip]
2015-12-22 17:11:18 -07:00
Mark Otto
910400e897
bump version
2015-11-24 11:07:36 -08:00
Baraa Hamodi
85bc0338d1
Documentation clean up and consistency; closes #17625
...
[skip sauce]
2015-09-28 12:37:35 -07:00
Johann-S
ef1ce9ac0b
Fix triggering of {shown,hidden}.bs.dropdown events so relatedTarget gets set properly
...
Fixes #16828
Closes #16865
2015-07-27 00:58:51 -07:00
Melinda Sarnicki Bernardo
cebea5b6f6
Removes unnecessary period at end of comment
2015-07-02 19:30:11 -07:00
Mark Otto
83bfff7f07
bump version
2015-06-16 09:10:22 -07:00
Patrick H. Lauke
5fd7bc1554
generalize dropdowns / drop role="menu"
...
as role="menu" is a very specific (and strict) ARIA pattern for
desktop-like application menus, and our dropdowns are often used
as pure navigation dropdowns, this change abandons ARIA menus for
a more open-ended and light-weight approach
(see http://heydonworks.com/practical_aria_examples/#submenus and
http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria )
note that in dropdown.js, switched to now target ``.dropdown-menu``
instead of ``role["menu"]`` - this also prevents bootstrap scripts
from "bleeding" into non-bootstrap components on the same page.
also removed the ``role=["listbox"]`` part, which appears to be
vestigial/unused (only place in bootstrap that uses that
role are carousels, and their key handling is done separately)
2015-06-02 11:03:21 +01:00