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:
Michał Gołębiowski
2013-04-04 22:04:39 +02:00
committed by Dave Methvin
parent 1b61026650
commit dca7681284
9 changed files with 25 additions and 18 deletions

View File

@@ -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 ) {