mirror of
https://github.com/jquery/jquery.git
synced 2026-02-15 14:34:58 -05:00
Improve CSS and Support: comments. Close gh-1220.
1) corrected box-sizing rules order - the unprefixed value should always be the last one 2) removed last semi-colons in CSS rules 3) updated support comments code review changes + more consistent comment spacing
This commit is contained in:
committed by
Dave Methvin
parent
1b61026650
commit
dca7681284
@@ -508,7 +508,7 @@ jQuery.event = {
|
||||
event[ prop ] = originalEvent[ prop ];
|
||||
}
|
||||
|
||||
// Support: Chrome 23+, Safari?
|
||||
// Support: Safari 6.0+, Chrome < 28
|
||||
// Target should not be a text node (#504, #13143)
|
||||
if ( event.target.nodeType === 3 ) {
|
||||
event.target = event.target.parentNode;
|
||||
@@ -554,7 +554,8 @@ jQuery.event = {
|
||||
beforeunload: {
|
||||
postDispatch: function( event ) {
|
||||
|
||||
// Support: Firefox 10+
|
||||
// Support: Firefox 20+
|
||||
// Firefox doesn't alert if the returnValue field is not set.
|
||||
if ( event.result !== undefined ) {
|
||||
event.originalEvent.returnValue = event.result;
|
||||
}
|
||||
@@ -685,7 +686,7 @@ jQuery.each({
|
||||
});
|
||||
|
||||
// Create "bubbling" focus and blur events
|
||||
// Support: Firefox 10+
|
||||
// Support: Firefox, Chrome, Safari
|
||||
if ( !jQuery.support.focusinBubbles ) {
|
||||
jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user