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
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
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
29f9237f73
Fix XSS in Alert, Carousel, Collapse, Dropdown and Modal
2017-09-14 10:07:51 +02: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
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
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
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
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
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
XhmikosR
315907c97c
Use https
when possible.
2015-05-17 12:43:20 +03:00
XhmikosR
1eba173c9e
Update jQuery to v1.11.3.
2015-05-10 01:22:23 +03:00
XhmikosR
a2f81ceb57
phantom.js: switch to unicode characters that work on Windows too.
2015-05-05 06:58:54 +03:00
XhmikosR
49c4556354
Comply to the new JSCS rules.
2015-05-05 06:50:18 +03:00
Chris Rebert
aa2c5b5672
Merge pull request #16014 from redbmk/issue-16008
...
Multiple tooltip triggers don't play well together
2015-05-04 15:07:17 -07:00
Patrick H. Lauke
a254782ca4
Merge pull request #16404 from patrickhlauke/radio-checkbox-kbd-toggle-fix
...
Fix radio and checkbox keyboard handling in .btn-group
2015-05-03 17:05:12 +01:00
Carlo Stearns
0689117f13
Fix issue where affixed element has incorrect positioning
...
when used with a sticky footer layout.
Adds visual test for affix with sticky footer.
Closes #15694 .
Refs #15032 .
2015-05-02 17:59:31 -07:00
Patrick H. Lauke
0c1daaf2ce
Remove broken/vestigial unit test
...
Overall logic for this test appears broken, possibly relating to an
older version of Bootstrap that did not require explicit
`data-toggle="button"` on single toggle buttons?
2015-05-01 12:58:10 +01:00
Braden M. Kelley
4b269037cb
Multiple tooltip triggers don't play well together
...
Fixes issue #16008
2015-04-27 23:03:56 -07:00
F A T
aa479892d5
Merge pull request #16152 from jarthod/tooltip-placement-viewport-fix
...
Tooltip/popover: Fix auto placement to use viewport
2015-04-27 11:28:54 -07:00
Chris Rebert
cdb37dce3a
Set box-sizing: border-box
on .container-viewport in #16142 testcase
...
Otherwise, the test doesn't properly fail when the fix is reverted.
2015-04-27 01:23:39 -07:00
Adrien
37a10d37c1
Compare tooltip right offset to viewport right offset (and not width)
...
Closes #16142 by merging it.
2015-04-27 01:13:16 -07:00
Chris Rebert
fc372952e2
Throw error when tooltip/popover template has multiple top-level elements
...
Closes #16219 .
2015-04-25 13:16:53 -07:00
Adrien Siami
e949505b89
Allow viewport option to be a function
...
Closes #16151 by merging a rebased version of it that adds docs and 1 more assertion.
2015-04-21 22:20:15 -07:00
Chris Rebert
c6b62f0cd9
Merge pull request #16147 from Johann-S/event_inserted
...
Fixes #16124 .
2015-04-21 21:40:14 -07:00
Patrick H. Lauke
66d71136e6
Fix existing radio button unit test
2015-04-11 19:24:21 +02:00
Johann-S
3d71eae301
Add event after template inserted
2015-04-08 13:10:53 +02:00
Adrien Jarthon
5921724d9c
fixed IE incompatible CSS
2015-03-29 19:16:59 +02:00
Adrien Jarthon
df96c3e615
Added non-regression test & fixed existing one
2015-03-29 14:59:21 +02:00
Chris Rebert
6c5e7dfce1
rm redundant aria-hidden usage from Modals; fixes #16020
2015-03-25 18:06:47 -07:00
Chris Rebert
d37bc2ae65
Merge pull request #15987 from twbs/fix-15972
...
add role="button" to a[data-toggle="collapse"]
2015-03-24 08:57:56 -07:00
Emmanuel Bourgerie
fa9d28b634
Fix #16072 : Clicking into input field within dropdown no longer closes the dropdown
...
Closes #16073 by merging it
2015-03-21 16:00:15 -07:00
Maxim Andrukhovych
83371735fc
Fixed proper navigation element selection on backward scrolling (from the bottom to the top)
2015-03-10 20:04:15 +00:00
Chris Rebert
725c6848c3
Disable jQuery event aliases when running test suite
...
To ensure that we don't accidentally use any of the aliases.
This should prevent any future regressions from #12761 .
Also updates the test suite since it now can't use these aliases either.
2015-03-09 01:05:43 -07:00