diff options
author | Herst <Herst@users.noreply.github.com> | 2018-09-18 10:52:46 +0300 |
---|---|---|
committer | Herst <Herst@users.noreply.github.com> | 2019-07-26 11:03:55 +0300 |
commit | e1223a85ff547b00d0c1f6bbd273789b856a6c07 (patch) | |
tree | e433a1211215855449d3aa5dc3422d3c8af1df2d | |
parent | 28ee2331f93d31c394f67ac70e5938c908f1170b (diff) |
Disable most tests in prep for next major version
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | test/.eslintrc.json | 4 | ||||
-rw-r--r-- | test/_old_fixtures/alert-dismiss-close/close-preceded-by-elem.html (renamed from test/fixtures/alert-dismiss-close/close-preceded-by-elem.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/alert-dismiss-close/close-preceded-by-nothing.html (renamed from test/fixtures/alert-dismiss-close/close-preceded-by-nothing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/alert-dismiss-close/close-preceded-by-text.html (renamed from test/fixtures/alert-dismiss-close/close-preceded-by-text.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/alert-dismiss-close/missing-alert-dismissible.html (renamed from test/fixtures/alert-dismiss-close/missing-alert-dismissible.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/alert-dismiss-close/valid.html (renamed from test/fixtures/alert-dismiss-close/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/bs-v2.html (renamed from test/fixtures/bs-v2.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons-plugin/checkbox-bad.html (renamed from test/fixtures/buttons-plugin/checkbox-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons-plugin/radio-bad.html (renamed from test/fixtures/buttons-plugin/radio-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons-plugin/valid.html (renamed from test/fixtures/buttons-plugin/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/btn-correct-element.html (renamed from test/fixtures/buttons/btn-correct-element.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/btn-incorrect-element.html (renamed from test/fixtures/buttons/btn-incorrect-element.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/btn-toggle-after-btn.html (renamed from test/fixtures/buttons/btn-toggle-after-btn.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/btn-toggle.html (renamed from test/fixtures/buttons/btn-toggle.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/button-disabled-class.html (renamed from test/fixtures/buttons/button-disabled-class.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/disabled-attribute.html (renamed from test/fixtures/buttons/disabled-attribute.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/input-btn-disabled-class.html (renamed from test/fixtures/buttons/input-btn-disabled-class.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/with-type.html (renamed from test/fixtures/buttons/with-type.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/buttons/without-type.html (renamed from test/fixtures/buttons/without-type.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/carousel/controls.html (renamed from test/fixtures/carousel/controls.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/carousel/indicators.html (renamed from test/fixtures/carousel/indicators.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/carousel/missing-active-item.html (renamed from test/fixtures/carousel/missing-active-item.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/carousel/missing-inner.html (renamed from test/fixtures/carousel/missing-inner.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/carousel/multiple-active-item.html (renamed from test/fixtures/carousel/multiple-active-item.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/carousel/multiple-inner.html (renamed from test/fixtures/carousel/multiple-inner.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/carousel/valid.html (renamed from test/fixtures/carousel/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/charset/missing.html (renamed from test/fixtures/charset/missing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/charset/not-utf8.html (renamed from test/fixtures/charset/not-utf8.html) | bin | 2154 -> 2154 bytes | |||
-rw-r--r-- | test/_old_fixtures/charset/utf8-meta.html (renamed from test/fixtures/charset/utf8-meta.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/charset/utf8.html (renamed from test/fixtures/charset/utf8.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/checkboxes-radios/checkbox-block-bad.html (renamed from test/fixtures/checkboxes-radios/checkbox-block-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/checkboxes-radios/checkbox-inline-bad-structure.html (renamed from test/fixtures/checkboxes-radios/checkbox-inline-bad-structure.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/checkboxes-radios/checkbox-inline-non-label.html (renamed from test/fixtures/checkboxes-radios/checkbox-inline-non-label.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/checkboxes-radios/radio-block-bad.html (renamed from test/fixtures/checkboxes-radios/radio-block-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/checkboxes-radios/radio-inline-bad-structure.html (renamed from test/fixtures/checkboxes-radios/radio-inline-bad-structure.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/checkboxes-radios/radio-inline-non-label.html (renamed from test/fixtures/checkboxes-radios/radio-inline-non-label.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/checkboxes-radios/valid.html (renamed from test/fixtures/checkboxes-radios/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/cli/x-ua-compatible-missing.output.txt (renamed from test/fixtures/cli/x-ua-compatible-missing.output.txt) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/ancestor.html (renamed from test/fixtures/containers/ancestor.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/columns.html (renamed from test/fixtures/containers/columns.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/fixed-row-same-elem.html (renamed from test/fixtures/containers/fixed-row-same-elem.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/fixed.html (renamed from test/fixtures/containers/fixed.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/fluid-row-same-elem.html (renamed from test/fixtures/containers/fluid-row-same-elem.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/fluid.html (renamed from test/fixtures/containers/fluid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/missing.html (renamed from test/fixtures/containers/missing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/nested-fixed-fixed.html (renamed from test/fixtures/containers/nested-fixed-fixed.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/nested-fixed-fluid.html (renamed from test/fixtures/containers/nested-fixed-fluid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/nested-fluid-fixed.html (renamed from test/fixtures/containers/nested-fluid-fixed.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/containers/nested-fluid-fluid.html (renamed from test/fixtures/containers/nested-fluid-fluid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/doctype/html4.html | 25 | ||||
-rw-r--r-- | test/_old_fixtures/doctype/html5-legacy.html | 23 | ||||
-rw-r--r-- | test/_old_fixtures/doctype/html5-normal.html (renamed from test/fixtures/jquery/present.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/doctype/missing.html | 24 | ||||
-rw-r--r-- | test/_old_fixtures/feedback/form-control-bad.html (renamed from test/fixtures/feedback/form-control-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/feedback/form-control-valid.html (renamed from test/fixtures/feedback/form-control-valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/feedback/nested-form-control-bad.html (renamed from test/fixtures/feedback/nested-form-control-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/span-invalid.html (renamed from test/fixtures/form-control/span-invalid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-button.html (renamed from test/fixtures/form-control/type-button.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-checkbox.html (renamed from test/fixtures/form-control/type-checkbox.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-file.html (renamed from test/fixtures/form-control/type-file.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-hidden.html (renamed from test/fixtures/form-control/type-hidden.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-image.html (renamed from test/fixtures/form-control/type-image.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-radio.html (renamed from test/fixtures/form-control/type-radio.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-range.html (renamed from test/fixtures/form-control/type-range.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-reset.html (renamed from test/fixtures/form-control/type-reset.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/type-submit.html (renamed from test/fixtures/form-control/type-submit.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/valid.html (renamed from test/fixtures/form-control/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/with-type.html (renamed from test/fixtures/form-control/with-type.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form-control/without-type.html (renamed from test/fixtures/form-control/without-type.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form/form-horizontal-group.html (renamed from test/fixtures/form/form-horizontal-group.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form/form-inline-group.html (renamed from test/fixtures/form/form-inline-group.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form/nested-form-groups.html (renamed from test/fixtures/form/nested-form-groups.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/form/valid.html (renamed from test/fixtures/form/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/glyphicons/missing-glyphicon-class.html (renamed from test/fixtures/glyphicons/missing-glyphicon-class.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/glyphicons/on-elem-with-child.html (renamed from test/fixtures/glyphicons/on-elem-with-child.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/glyphicons/on-elem-with-text.html (renamed from test/fixtures/glyphicons/on-elem-with-text.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/glyphicons/valid.html (renamed from test/fixtures/glyphicons/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/col-lg-0.html (renamed from test/fixtures/grid/col-lg-0.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/col-md-0.html (renamed from test/fixtures/grid/col-md-0.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/col-no-float.html (renamed from test/fixtures/grid/col-no-float.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/col-sm-0.html (renamed from test/fixtures/grid/col-sm-0.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/col-xs-0.html (renamed from test/fixtures/grid/col-xs-0.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/cols-not-redundant.html (renamed from test/fixtures/grid/cols-not-redundant.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/cols-outside-row-and-form-group.html (renamed from test/fixtures/grid/cols-outside-row-and-form-group.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/cols-redundant.html (renamed from test/fixtures/grid/cols-redundant.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/cols-within-form-group.html (renamed from test/fixtures/grid/cols-within-form-group.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/cols-within-row.html (renamed from test/fixtures/grid/cols-within-row.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/non-col-row-children.html (renamed from test/fixtures/grid/non-col-row-children.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/row-col-same-elem.html (renamed from test/fixtures/grid/row-col-same-elem.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/row-no-float.html (renamed from test/fixtures/grid/row-no-float.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/script-child-of-row.html (renamed from test/fixtures/grid/script-child-of-row.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/blank-text.html (renamed from test/fixtures/grid/spacer-col/blank-text.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/child-with-text.html (renamed from test/fixtures/grid/spacer-col/child-with-text.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/child-without-text.html (renamed from test/fixtures/grid/spacer-col/child-without-text.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/col-element.html (renamed from test/fixtures/grid/spacer-col/col-element.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/last-child.html (renamed from test/fixtures/grid/spacer-col/last-child.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/multiple-reversed-order.html (renamed from test/fixtures/grid/spacer-col/multiple-reversed-order.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/no-child-no-text.html (renamed from test/fixtures/grid/spacer-col/no-child-no-text.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/non-blank-text.html (renamed from test/fixtures/grid/spacer-col/non-blank-text.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/tricky-classes.html (renamed from test/fixtures/grid/spacer-col/tricky-classes.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/grid/spacer-col/void-elements.html (renamed from test/fixtures/grid/spacer-col/void-elements.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/images/img-responsive-bad.html (renamed from test/fixtures/images/img-responsive-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/images/img-responsive-valid.html (renamed from test/fixtures/images/img-responsive-valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/missing-form-control.html (renamed from test/fixtures/input-group/missing-form-control.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/missing-input-group-addon.html (renamed from test/fixtures/input-group/missing-input-group-addon.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/missing-input-group-sizing.html (renamed from test/fixtures/input-group/missing-input-group-sizing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/mixed-with-form-group.html (renamed from test/fixtures/input-group/mixed-with-form-group.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/mixed-with-grid-col.html (renamed from test/fixtures/input-group/mixed-with-grid-col.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/multiple-add-on-left.html (renamed from test/fixtures/input-group/multiple-add-on-left.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/multiple-add-on-right.html (renamed from test/fixtures/input-group/multiple-add-on-right.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/multiple-btn-add-on-left.html (renamed from test/fixtures/input-group/multiple-btn-add-on-left.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/multiple-btn-add-on-right.html (renamed from test/fixtures/input-group/multiple-btn-add-on-right.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/multiple-form-controls.html (renamed from test/fixtures/input-group/multiple-form-controls.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/multiple-mixed-add-on-left.html (renamed from test/fixtures/input-group/multiple-mixed-add-on-left.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/select.html (renamed from test/fixtures/input-group/select.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/textarea.html (renamed from test/fixtures/input-group/textarea.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/input-group/valid.html (renamed from test/fixtures/input-group/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/jquery/and_bs_js_both_missing.html (renamed from test/fixtures/jquery/and_bs_js_both_missing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/jquery/custom.html (renamed from test/fixtures/jquery/custom.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/jquery/jquery-plugin.html (renamed from test/fixtures/jquery/jquery-plugin.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/jquery/missing.html (renamed from test/fixtures/jquery/missing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/jquery/old-attr.html (renamed from test/fixtures/jquery/old-attr.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/jquery/old-url.html (renamed from test/fixtures/jquery/old-url.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/jquery/present.html (renamed from test/fixtures/viewport/present.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/js/both.html (renamed from test/fixtures/js/both.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/js/one.html (renamed from test/fixtures/js/one.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/js/similar.html (renamed from test/fixtures/js/similar.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/js/weird.html (renamed from test/fixtures/js/weird.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/media/deprecated-pull-classes.html (renamed from test/fixtures/media/deprecated-pull-classes.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/media/media-classes.html (renamed from test/fixtures/media/media-classes.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/media/media-pull-on-media.html (renamed from test/fixtures/media/media-pull-on-media.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/media/misplaced-media-left.html (renamed from test/fixtures/media/misplaced-media-left.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/media/misplaced-media-right.html (renamed from test/fixtures/media/misplaced-media-right.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/body-outside-content.html (renamed from test/fixtures/modal/body-outside-content.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/content-outside-dialog.html (renamed from test/fixtures/modal/content-outside-dialog.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/dialog-outside-modal.html (renamed from test/fixtures/modal/dialog-outside-modal.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/footer-outside-content.html (renamed from test/fixtures/modal/footer-outside-content.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/header-outside-content.html (renamed from test/fixtures/modal/header-outside-content.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/missing-role-dialog.html (renamed from test/fixtures/modal/missing-role-dialog.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/missing-role-document.html (renamed from test/fixtures/modal/missing-role-document.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/remote.html (renamed from test/fixtures/modal/remote.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/tabindex-missing.html (renamed from test/fixtures/modal/tabindex-missing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/title-outside-header.html (renamed from test/fixtures/modal/title-outside-header.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/valid.html (renamed from test/fixtures/modal/valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/with-hide.html (renamed from test/fixtures/modal/with-hide.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/within-navbar.html (renamed from test/fixtures/modal/within-navbar.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/modal/within-table.html (renamed from test/fixtures/modal/within-table.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/navbar/btn-bad.html (renamed from test/fixtures/navbar/btn-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/navbar/navbar-btn-bad.html (renamed from test/fixtures/navbar/navbar-btn-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/navbar/navbar-container.html (renamed from test/fixtures/navbar/navbar-container.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/navbar/navbar-left-bad.html (renamed from test/fixtures/navbar/navbar-left-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/navbar/navbar-left-right-on-navbar.html (renamed from test/fixtures/navbar/navbar-left-right-on-navbar.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/navbar/navbar-left-right-valid.html (renamed from test/fixtures/navbar/navbar-left-right-valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/navbar/navbar-right-bad.html (renamed from test/fixtures/navbar/navbar-right-bad.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/outdated/bootstrap-css.html (renamed from test/fixtures/outdated/bootstrap-css.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/outdated/bootstrap-extensions-okay.html (renamed from test/fixtures/outdated/bootstrap-extensions-okay.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/outdated/bootstrap-js.html (renamed from test/fixtures/outdated/bootstrap-js.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/outdated/bootstrap-min-css.html (renamed from test/fixtures/outdated/bootstrap-min-css.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/outdated/bootstrap-min-js.html (renamed from test/fixtures/outdated/bootstrap-min-js.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/outdated/js-version-not-in-url-current.html (renamed from test/fixtures/outdated/js-version-not-in-url-current.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/outdated/js-version-not-in-url-outdated.html (renamed from test/fixtures/outdated/js-version-not-in-url-outdated.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/panels/panel-body-missing-parent.html (renamed from test/fixtures/panels/panel-body-missing-parent.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/panels/panel-footer-missing-parent.html (renamed from test/fixtures/panels/panel-footer-missing-parent.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/panels/panel-heading-missing-parent.html (renamed from test/fixtures/panels/panel-heading-missing-parent.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/panels/panel-title-missing-parent.html (renamed from test/fixtures/panels/panel-title-missing-parent.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/panels/panels.html (renamed from test/fixtures/panels/panels.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/table/responsive-incorrect.html (renamed from test/fixtures/table/responsive-incorrect.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/table/responsive-valid.html (renamed from test/fixtures/table/responsive-valid.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/tooltips/in-btn-groups.html (renamed from test/fixtures/tooltips/in-btn-groups.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/tooltips/on-disabled-elems.html (renamed from test/fixtures/tooltips/on-disabled-elems.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/version-4/bootstrap-css.html (renamed from test/fixtures/version-4/bootstrap-css.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/version-4/bootstrap-extensions-okay.html (renamed from test/fixtures/version-4/bootstrap-extensions-okay.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/version-4/bootstrap-js.html (renamed from test/fixtures/version-4/bootstrap-js.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/version-4/bootstrap-min-css.html (renamed from test/fixtures/version-4/bootstrap-min-css.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/version-4/bootstrap-min-js.html (renamed from test/fixtures/version-4/bootstrap-min-js.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/version-4/js-version-not-in-url-4.0.0.html (renamed from test/fixtures/version-4/js-version-not-in-url-4.0.0.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/viewport/missing.html (renamed from test/fixtures/viewport/missing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/viewport/present.html (renamed from test/fixtures/x-ua-compatible/present.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/x-ua-compatible/lowercase.html (renamed from test/fixtures/x-ua-compatible/lowercase.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/x-ua-compatible/missing.html (renamed from test/fixtures/x-ua-compatible/missing.html) | 0 | ||||
-rw-r--r-- | test/_old_fixtures/x-ua-compatible/present.html | 23 | ||||
-rw-r--r-- | test/bootlint_test.js | 144 |
183 files changed, 221 insertions, 28 deletions
diff --git a/.travis.yml b/.travis.yml index 7645511..3c39f33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,9 @@ before_script: - pushd bootstrap && bundle exec jekyll build && popd script: - if [ "$TRAVIS_NODE_VERSION" = "10" ]; then npm run nyc -- npm run test && npm run qunit; else npm run test; fi || travis_terminate 1 - - node ./src/cli-main.js --disable W003,W005 "bootstrap/_gh_pages/**/index.html" || travis_terminate 1 - - node ./src/cli-main.js test/fixtures/x-ua-compatible/missing.html &> x-ua-compatible-missing.output.actual.txt || true - - diff test/fixtures/cli/x-ua-compatible-missing.output.txt x-ua-compatible-missing.output.actual.txt + # - node ./src/cli-main.js --disable W003,W005 "bootstrap/_gh_pages/**/index.html" || travis_terminate 1 + # - node ./src/cli-main.js test/fixtures/x-ua-compatible/missing.html &> x-ua-compatible-missing.output.actual.txt || true + # - diff test/fixtures/cli/x-ua-compatible-missing.output.txt x-ua-compatible-missing.output.actual.txt after_success: - if [ "$TRAVIS_NODE_VERSION" = "10" ]; then npm run coveralls; fi matrix: diff --git a/test/.eslintrc.json b/test/.eslintrc.json index 089c9d0..7fa9ff2 100644 --- a/test/.eslintrc.json +++ b/test/.eslintrc.json @@ -1,6 +1,8 @@ { "extends": "../.eslintrc.json", "rules": { - "no-process-env": "off" + "no-process-env": "off", + "comma-dangle": "off", + "no-unused-vars": "off" } } diff --git a/test/fixtures/alert-dismiss-close/close-preceded-by-elem.html b/test/_old_fixtures/alert-dismiss-close/close-preceded-by-elem.html index ae93f4b..ae93f4b 100644 --- a/test/fixtures/alert-dismiss-close/close-preceded-by-elem.html +++ b/test/_old_fixtures/alert-dismiss-close/close-preceded-by-elem.html diff --git a/test/fixtures/alert-dismiss-close/close-preceded-by-nothing.html b/test/_old_fixtures/alert-dismiss-close/close-preceded-by-nothing.html index 4fd4eaf..4fd4eaf 100644 --- a/test/fixtures/alert-dismiss-close/close-preceded-by-nothing.html +++ b/test/_old_fixtures/alert-dismiss-close/close-preceded-by-nothing.html diff --git a/test/fixtures/alert-dismiss-close/close-preceded-by-text.html b/test/_old_fixtures/alert-dismiss-close/close-preceded-by-text.html index bb8f6c4..bb8f6c4 100644 --- a/test/fixtures/alert-dismiss-close/close-preceded-by-text.html +++ b/test/_old_fixtures/alert-dismiss-close/close-preceded-by-text.html diff --git a/test/fixtures/alert-dismiss-close/missing-alert-dismissible.html b/test/_old_fixtures/alert-dismiss-close/missing-alert-dismissible.html index 0427d3c..0427d3c 100644 --- a/test/fixtures/alert-dismiss-close/missing-alert-dismissible.html +++ b/test/_old_fixtures/alert-dismiss-close/missing-alert-dismissible.html diff --git a/test/fixtures/alert-dismiss-close/valid.html b/test/_old_fixtures/alert-dismiss-close/valid.html index d239b24..d239b24 100644 --- a/test/fixtures/alert-dismiss-close/valid.html +++ b/test/_old_fixtures/alert-dismiss-close/valid.html diff --git a/test/fixtures/bs-v2.html b/test/_old_fixtures/bs-v2.html index a7a5f8b..a7a5f8b 100644 --- a/test/fixtures/bs-v2.html +++ b/test/_old_fixtures/bs-v2.html diff --git a/test/fixtures/buttons-plugin/checkbox-bad.html b/test/_old_fixtures/buttons-plugin/checkbox-bad.html index 69ff24e..69ff24e 100644 --- a/test/fixtures/buttons-plugin/checkbox-bad.html +++ b/test/_old_fixtures/buttons-plugin/checkbox-bad.html diff --git a/test/fixtures/buttons-plugin/radio-bad.html b/test/_old_fixtures/buttons-plugin/radio-bad.html index 1de7f7e..1de7f7e 100644 --- a/test/fixtures/buttons-plugin/radio-bad.html +++ b/test/_old_fixtures/buttons-plugin/radio-bad.html diff --git a/test/fixtures/buttons-plugin/valid.html b/test/_old_fixtures/buttons-plugin/valid.html index e513501..e513501 100644 --- a/test/fixtures/buttons-plugin/valid.html +++ b/test/_old_fixtures/buttons-plugin/valid.html diff --git a/test/fixtures/buttons/btn-correct-element.html b/test/_old_fixtures/buttons/btn-correct-element.html index 9edd41d..9edd41d 100644 --- a/test/fixtures/buttons/btn-correct-element.html +++ b/test/_old_fixtures/buttons/btn-correct-element.html diff --git a/test/fixtures/buttons/btn-incorrect-element.html b/test/_old_fixtures/buttons/btn-incorrect-element.html index c4cc9d1..c4cc9d1 100644 --- a/test/fixtures/buttons/btn-incorrect-element.html +++ b/test/_old_fixtures/buttons/btn-incorrect-element.html diff --git a/test/fixtures/buttons/btn-toggle-after-btn.html b/test/_old_fixtures/buttons/btn-toggle-after-btn.html index 804c122..804c122 100644 --- a/test/fixtures/buttons/btn-toggle-after-btn.html +++ b/test/_old_fixtures/buttons/btn-toggle-after-btn.html diff --git a/test/fixtures/buttons/btn-toggle.html b/test/_old_fixtures/buttons/btn-toggle.html index a1ee15a..a1ee15a 100644 --- a/test/fixtures/buttons/btn-toggle.html +++ b/test/_old_fixtures/buttons/btn-toggle.html diff --git a/test/fixtures/buttons/button-disabled-class.html b/test/_old_fixtures/buttons/button-disabled-class.html index 27dc062..27dc062 100644 --- a/test/fixtures/buttons/button-disabled-class.html +++ b/test/_old_fixtures/buttons/button-disabled-class.html diff --git a/test/fixtures/buttons/disabled-attribute.html b/test/_old_fixtures/buttons/disabled-attribute.html index d44cee8..d44cee8 100644 --- a/test/fixtures/buttons/disabled-attribute.html +++ b/test/_old_fixtures/buttons/disabled-attribute.html diff --git a/test/fixtures/buttons/input-btn-disabled-class.html b/test/_old_fixtures/buttons/input-btn-disabled-class.html index 46f4529..46f4529 100644 --- a/test/fixtures/buttons/input-btn-disabled-class.html +++ b/test/_old_fixtures/buttons/input-btn-disabled-class.html diff --git a/test/fixtures/buttons/with-type.html b/test/_old_fixtures/buttons/with-type.html index c60c5d9..c60c5d9 100644 --- a/test/fixtures/buttons/with-type.html +++ b/test/_old_fixtures/buttons/with-type.html diff --git a/test/fixtures/buttons/without-type.html b/test/_old_fixtures/buttons/without-type.html index dd77742..dd77742 100644 --- a/test/fixtures/buttons/without-type.html +++ b/test/_old_fixtures/buttons/without-type.html diff --git a/test/fixtures/carousel/controls.html b/test/_old_fixtures/carousel/controls.html index b8e4047..b8e4047 100644 --- a/test/fixtures/carousel/controls.html +++ b/test/_old_fixtures/carousel/controls.html diff --git a/test/fixtures/carousel/indicators.html b/test/_old_fixtures/carousel/indicators.html index d43aca4..d43aca4 100644 --- a/test/fixtures/carousel/indicators.html +++ b/test/_old_fixtures/carousel/indicators.html diff --git a/test/fixtures/carousel/missing-active-item.html b/test/_old_fixtures/carousel/missing-active-item.html index bf4a44e..bf4a44e 100644 --- a/test/fixtures/carousel/missing-active-item.html +++ b/test/_old_fixtures/carousel/missing-active-item.html diff --git a/test/fixtures/carousel/missing-inner.html b/test/_old_fixtures/carousel/missing-inner.html index 0b42492..0b42492 100644 --- a/test/fixtures/carousel/missing-inner.html +++ b/test/_old_fixtures/carousel/missing-inner.html diff --git a/test/fixtures/carousel/multiple-active-item.html b/test/_old_fixtures/carousel/multiple-active-item.html index 439e90c..439e90c 100644 --- a/test/fixtures/carousel/multiple-active-item.html +++ b/test/_old_fixtures/carousel/multiple-active-item.html diff --git a/test/fixtures/carousel/multiple-inner.html b/test/_old_fixtures/carousel/multiple-inner.html index 75c5aac..75c5aac 100644 --- a/test/fixtures/carousel/multiple-inner.html +++ b/test/_old_fixtures/carousel/multiple-inner.html diff --git a/test/fixtures/carousel/valid.html b/test/_old_fixtures/carousel/valid.html index ab4c49c..ab4c49c 100644 --- a/test/fixtures/carousel/valid.html +++ b/test/_old_fixtures/carousel/valid.html diff --git a/test/fixtures/charset/missing.html b/test/_old_fixtures/charset/missing.html index 2f89ef8..2f89ef8 100644 --- a/test/fixtures/charset/missing.html +++ b/test/_old_fixtures/charset/missing.html diff --git a/test/fixtures/charset/not-utf8.html b/test/_old_fixtures/charset/not-utf8.html Binary files differindex a10cf12..a10cf12 100644 --- a/test/fixtures/charset/not-utf8.html +++ b/test/_old_fixtures/charset/not-utf8.html diff --git a/test/fixtures/charset/utf8-meta.html b/test/_old_fixtures/charset/utf8-meta.html index 5a2d186..5a2d186 100644 --- a/test/fixtures/charset/utf8-meta.html +++ b/test/_old_fixtures/charset/utf8-meta.html diff --git a/test/fixtures/charset/utf8.html b/test/_old_fixtures/charset/utf8.html index 2e4c098..2e4c098 100644 --- a/test/fixtures/charset/utf8.html +++ b/test/_old_fixtures/charset/utf8.html diff --git a/test/fixtures/checkboxes-radios/checkbox-block-bad.html b/test/_old_fixtures/checkboxes-radios/checkbox-block-bad.html index 8a484c9..8a484c9 100644 --- a/test/fixtures/checkboxes-radios/checkbox-block-bad.html +++ b/test/_old_fixtures/checkboxes-radios/checkbox-block-bad.html diff --git a/test/fixtures/checkboxes-radios/checkbox-inline-bad-structure.html b/test/_old_fixtures/checkboxes-radios/checkbox-inline-bad-structure.html index c4f60ad..c4f60ad 100644 --- a/test/fixtures/checkboxes-radios/checkbox-inline-bad-structure.html +++ b/test/_old_fixtures/checkboxes-radios/checkbox-inline-bad-structure.html diff --git a/test/fixtures/checkboxes-radios/checkbox-inline-non-label.html b/test/_old_fixtures/checkboxes-radios/checkbox-inline-non-label.html index 3f40de4..3f40de4 100644 --- a/test/fixtures/checkboxes-radios/checkbox-inline-non-label.html +++ b/test/_old_fixtures/checkboxes-radios/checkbox-inline-non-label.html diff --git a/test/fixtures/checkboxes-radios/radio-block-bad.html b/test/_old_fixtures/checkboxes-radios/radio-block-bad.html index 57ef5ca..57ef5ca 100644 --- a/test/fixtures/checkboxes-radios/radio-block-bad.html +++ b/test/_old_fixtures/checkboxes-radios/radio-block-bad.html diff --git a/test/fixtures/checkboxes-radios/radio-inline-bad-structure.html b/test/_old_fixtures/checkboxes-radios/radio-inline-bad-structure.html index dfa762c..dfa762c 100644 --- a/test/fixtures/checkboxes-radios/radio-inline-bad-structure.html +++ b/test/_old_fixtures/checkboxes-radios/radio-inline-bad-structure.html diff --git a/test/fixtures/checkboxes-radios/radio-inline-non-label.html b/test/_old_fixtures/checkboxes-radios/radio-inline-non-label.html index f4a17a5..f4a17a5 100644 --- a/test/fixtures/checkboxes-radios/radio-inline-non-label.html +++ b/test/_old_fixtures/checkboxes-radios/radio-inline-non-label.html diff --git a/test/fixtures/checkboxes-radios/valid.html b/test/_old_fixtures/checkboxes-radios/valid.html index 8c4d5e5..8c4d5e5 100644 --- a/test/fixtures/checkboxes-radios/valid.html +++ b/test/_old_fixtures/checkboxes-radios/valid.html diff --git a/test/fixtures/cli/x-ua-compatible-missing.output.txt b/test/_old_fixtures/cli/x-ua-compatible-missing.output.txt index 071621a..071621a 100644 --- a/test/fixtures/cli/x-ua-compatible-missing.output.txt +++ b/test/_old_fixtures/cli/x-ua-compatible-missing.output.txt diff --git a/test/fixtures/containers/ancestor.html b/test/_old_fixtures/containers/ancestor.html index c036961..c036961 100644 --- a/test/fixtures/containers/ancestor.html +++ b/test/_old_fixtures/containers/ancestor.html diff --git a/test/fixtures/containers/columns.html b/test/_old_fixtures/containers/columns.html index a041d90..a041d90 100644 --- a/test/fixtures/containers/columns.html +++ b/test/_old_fixtures/containers/columns.html diff --git a/test/fixtures/containers/fixed-row-same-elem.html b/test/_old_fixtures/containers/fixed-row-same-elem.html index cfaf4a1..cfaf4a1 100644 --- a/test/fixtures/containers/fixed-row-same-elem.html +++ b/test/_old_fixtures/containers/fixed-row-same-elem.html diff --git a/test/fixtures/containers/fixed.html b/test/_old_fixtures/containers/fixed.html index d219ab7..d219ab7 100644 --- a/test/fixtures/containers/fixed.html +++ b/test/_old_fixtures/containers/fixed.html diff --git a/test/fixtures/containers/fluid-row-same-elem.html b/test/_old_fixtures/containers/fluid-row-same-elem.html index 960ceaf..960ceaf 100644 --- a/test/fixtures/containers/fluid-row-same-elem.html +++ b/test/_old_fixtures/containers/fluid-row-same-elem.html diff --git a/test/fixtures/containers/fluid.html b/test/_old_fixtures/containers/fluid.html index e7201ca..e7201ca 100644 --- a/test/fixtures/containers/fluid.html +++ b/test/_old_fixtures/containers/fluid.html diff --git a/test/fixtures/containers/missing.html b/test/_old_fixtures/containers/missing.html index f48b6c0..f48b6c0 100644 --- a/test/fixtures/containers/missing.html +++ b/test/_old_fixtures/containers/missing.html diff --git a/test/fixtures/containers/nested-fixed-fixed.html b/test/_old_fixtures/containers/nested-fixed-fixed.html index 59730c2..59730c2 100644 --- a/test/fixtures/containers/nested-fixed-fixed.html +++ b/test/_old_fixtures/containers/nested-fixed-fixed.html diff --git a/test/fixtures/containers/nested-fixed-fluid.html b/test/_old_fixtures/containers/nested-fixed-fluid.html index 226fdca..226fdca 100644 --- a/test/fixtures/containers/nested-fixed-fluid.html +++ b/test/_old_fixtures/containers/nested-fixed-fluid.html diff --git a/test/fixtures/containers/nested-fluid-fixed.html b/test/_old_fixtures/containers/nested-fluid-fixed.html index 226fdca..226fdca 100644 --- a/test/fixtures/containers/nested-fluid-fixed.html +++ b/test/_old_fixtures/containers/nested-fluid-fixed.html diff --git a/test/fixtures/containers/nested-fluid-fluid.html b/test/_old_fixtures/containers/nested-fluid-fluid.html index 85e54cb..85e54cb 100644 --- a/test/fixtures/containers/nested-fluid-fluid.html +++ b/test/_old_fixtures/containers/nested-fluid-fluid.html diff --git a/test/_old_fixtures/doctype/html4.html b/test/_old_fixtures/doctype/html4.html new file mode 100644 index 0000000..c9db714 --- /dev/null +++ b/test/_old_fixtures/doctype/html4.html @@ -0,0 +1,25 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Test</title> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> + <![endif]--> + <script src="../../lib/jquery.min.js"></script> + + <link rel="stylesheet" href="../../lib/qunit.css"> + <script src="../../lib/qunit.js"></script> + <script src="../../../dist/browser/bootlint.js"></script> + <script src="../generic-qunit.js"></script> + </head> + <body> + <div id="qunit"></div> + <ol id="bootlint"> + <li data-lint="Document declares a non-HTML5 DOCTYPE"></li> + </ol> + </body> +</html> diff --git a/test/_old_fixtures/doctype/html5-legacy.html b/test/_old_fixtures/doctype/html5-legacy.html new file mode 100644 index 0000000..691b4d4 --- /dev/null +++ b/test/_old_fixtures/doctype/html5-legacy.html @@ -0,0 +1,23 @@ +<!DOCTYPE html SYSTEM "about:legacy-compat"> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Test</title> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> + <![endif]--> + <script src="../../lib/jquery.min.js"></script> + + <link rel="stylesheet" href="../../lib/qunit.css"> + <script src="../../lib/qunit.js"></script> + <script src="../../../dist/browser/bootlint.js"></script> + <script src="../generic-qunit.js"></script> + </head> + <body> + <div id="qunit"></div> + <ol id="bootlint"></ol> + </body> +</html> diff --git a/test/fixtures/jquery/present.html b/test/_old_fixtures/doctype/html5-normal.html index 2e4c098..2e4c098 100644 --- a/test/fixtures/jquery/present.html +++ b/test/_old_fixtures/doctype/html5-normal.html diff --git a/test/_old_fixtures/doctype/missing.html b/test/_old_fixtures/doctype/missing.html new file mode 100644 index 0000000..e703294 --- /dev/null +++ b/test/_old_fixtures/doctype/missing.html @@ -0,0 +1,24 @@ +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Test</title> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> + <![endif]--> + <script src="../../lib/jquery.min.js"></script> + + <link rel="stylesheet" href="../../lib/qunit.css"> + <script src="../../lib/qunit.js"></script> + <script src="../../../dist/browser/bootlint.js"></script> + <script src="../generic-qunit.js"></script> + </head> + <body> + <div id="qunit"></div> + <ol id="bootlint"> + <li data-lint="Document is missing a DOCTYPE declaration"></li> + </ol> + </body> +</html> diff --git a/test/fixtures/feedback/form-control-bad.html b/test/_old_fixtures/feedback/form-control-bad.html index a21f595..a21f595 100644 --- a/test/fixtures/feedback/form-control-bad.html +++ b/test/_old_fixtures/feedback/form-control-bad.html diff --git a/test/fixtures/feedback/form-control-valid.html b/test/_old_fixtures/feedback/form-control-valid.html index 74f9f10..74f9f10 100644 --- a/test/fixtures/feedback/form-control-valid.html +++ b/test/_old_fixtures/feedback/form-control-valid.html diff --git a/test/fixtures/feedback/nested-form-control-bad.html b/test/_old_fixtures/feedback/nested-form-control-bad.html index a1505fd..a1505fd 100644 --- a/test/fixtures/feedback/nested-form-control-bad.html +++ b/test/_old_fixtures/feedback/nested-form-control-bad.html diff --git a/test/fixtures/form-control/span-invalid.html b/test/_old_fixtures/form-control/span-invalid.html index a46e9c1..a46e9c1 100644 --- a/test/fixtures/form-control/span-invalid.html +++ b/test/_old_fixtures/form-control/span-invalid.html diff --git a/test/fixtures/form-control/type-button.html b/test/_old_fixtures/form-control/type-button.html index 45b12d4..45b12d4 100644 --- a/test/fixtures/form-control/type-button.html +++ b/test/_old_fixtures/form-control/type-button.html diff --git a/test/fixtures/form-control/type-checkbox.html b/test/_old_fixtures/form-control/type-checkbox.html index 5854ed9..5854ed9 100644 --- a/test/fixtures/form-control/type-checkbox.html +++ b/test/_old_fixtures/form-control/type-checkbox.html diff --git a/test/fixtures/form-control/type-file.html b/test/_old_fixtures/form-control/type-file.html index 6672d3c..6672d3c 100644 --- a/test/fixtures/form-control/type-file.html +++ b/test/_old_fixtures/form-control/type-file.html diff --git a/test/fixtures/form-control/type-hidden.html b/test/_old_fixtures/form-control/type-hidden.html index 7934714..7934714 100644 --- a/test/fixtures/form-control/type-hidden.html +++ b/test/_old_fixtures/form-control/type-hidden.html diff --git a/test/fixtures/form-control/type-image.html b/test/_old_fixtures/form-control/type-image.html index b8a0a47..b8a0a47 100644 --- a/test/fixtures/form-control/type-image.html +++ b/test/_old_fixtures/form-control/type-image.html diff --git a/test/fixtures/form-control/type-radio.html b/test/_old_fixtures/form-control/type-radio.html index 174305e..174305e 100644 --- a/test/fixtures/form-control/type-radio.html +++ b/test/_old_fixtures/form-control/type-radio.html diff --git a/test/fixtures/form-control/type-range.html b/test/_old_fixtures/form-control/type-range.html index 7696c27..7696c27 100644 --- a/test/fixtures/form-control/type-range.html +++ b/test/_old_fixtures/form-control/type-range.html diff --git a/test/fixtures/form-control/type-reset.html b/test/_old_fixtures/form-control/type-reset.html index e953c73..e953c73 100644 --- a/test/fixtures/form-control/type-reset.html +++ b/test/_old_fixtures/form-control/type-reset.html diff --git a/test/fixtures/form-control/type-submit.html b/test/_old_fixtures/form-control/type-submit.html index 653a469..653a469 100644 --- a/test/fixtures/form-control/type-submit.html +++ b/test/_old_fixtures/form-control/type-submit.html diff --git a/test/fixtures/form-control/valid.html b/test/_old_fixtures/form-control/valid.html index 292e983..292e983 100644 --- a/test/fixtures/form-control/valid.html +++ b/test/_old_fixtures/form-control/valid.html diff --git a/test/fixtures/form-control/with-type.html b/test/_old_fixtures/form-control/with-type.html index 5ba0019..5ba0019 100644 --- a/test/fixtures/form-control/with-type.html +++ b/test/_old_fixtures/form-control/with-type.html diff --git a/test/fixtures/form-control/without-type.html b/test/_old_fixtures/form-control/without-type.html index 98efc2c..98efc2c 100644 --- a/test/fixtures/form-control/without-type.html +++ b/test/_old_fixtures/form-control/without-type.html diff --git a/test/fixtures/form/form-horizontal-group.html b/test/_old_fixtures/form/form-horizontal-group.html index 03a51bf..03a51bf 100644 --- a/test/fixtures/form/form-horizontal-group.html +++ b/test/_old_fixtures/form/form-horizontal-group.html diff --git a/test/fixtures/form/form-inline-group.html b/test/_old_fixtures/form/form-inline-group.html index 610c551..610c551 100644 --- a/test/fixtures/form/form-inline-group.html +++ b/test/_old_fixtures/form/form-inline-group.html diff --git a/test/fixtures/form/nested-form-groups.html b/test/_old_fixtures/form/nested-form-groups.html index 47ef0a0..47ef0a0 100644 --- a/test/fixtures/form/nested-form-groups.html +++ b/test/_old_fixtures/form/nested-form-groups.html diff --git a/test/fixtures/form/valid.html b/test/_old_fixtures/form/valid.html index a127f4e..a127f4e 100644 --- a/test/fixtures/form/valid.html +++ b/test/_old_fixtures/form/valid.html diff --git a/test/fixtures/glyphicons/missing-glyphicon-class.html b/test/_old_fixtures/glyphicons/missing-glyphicon-class.html index 0f355bd..0f355bd 100644 --- a/test/fixtures/glyphicons/missing-glyphicon-class.html +++ b/test/_old_fixtures/glyphicons/missing-glyphicon-class.html diff --git a/test/fixtures/glyphicons/on-elem-with-child.html b/test/_old_fixtures/glyphicons/on-elem-with-child.html index 5483bc5..5483bc5 100644 --- a/test/fixtures/glyphicons/on-elem-with-child.html +++ b/test/_old_fixtures/glyphicons/on-elem-with-child.html diff --git a/test/fixtures/glyphicons/on-elem-with-text.html b/test/_old_fixtures/glyphicons/on-elem-with-text.html index add8f8c..add8f8c 100644 --- a/test/fixtures/glyphicons/on-elem-with-text.html +++ b/test/_old_fixtures/glyphicons/on-elem-with-text.html diff --git a/test/fixtures/glyphicons/valid.html b/test/_old_fixtures/glyphicons/valid.html index 86c189c..86c189c 100644 --- a/test/fixtures/glyphicons/valid.html +++ b/test/_old_fixtures/glyphicons/valid.html diff --git a/test/fixtures/grid/col-lg-0.html b/test/_old_fixtures/grid/col-lg-0.html index 903bf9d..903bf9d 100644 --- a/test/fixtures/grid/col-lg-0.html +++ b/test/_old_fixtures/grid/col-lg-0.html diff --git a/test/fixtures/grid/col-md-0.html b/test/_old_fixtures/grid/col-md-0.html index e0671c5..e0671c5 100644 --- a/test/fixtures/grid/col-md-0.html +++ b/test/_old_fixtures/grid/col-md-0.html diff --git a/test/fixtures/grid/col-no-float.html b/test/_old_fixtures/grid/col-no-float.html index 12d6065..12d6065 100644 --- a/test/fixtures/grid/col-no-float.html +++ b/test/_old_fixtures/grid/col-no-float.html diff --git a/test/fixtures/grid/col-sm-0.html b/test/_old_fixtures/grid/col-sm-0.html index f990332..f990332 100644 --- a/test/fixtures/grid/col-sm-0.html +++ b/test/_old_fixtures/grid/col-sm-0.html diff --git a/test/fixtures/grid/col-xs-0.html b/test/_old_fixtures/grid/col-xs-0.html index 9f568d3..9f568d3 100644 --- a/test/fixtures/grid/col-xs-0.html +++ b/test/_old_fixtures/grid/col-xs-0.html diff --git a/test/fixtures/grid/cols-not-redundant.html b/test/_old_fixtures/grid/cols-not-redundant.html index 83421e0..83421e0 100644 --- a/test/fixtures/grid/cols-not-redundant.html +++ b/test/_old_fixtures/grid/cols-not-redundant.html diff --git a/test/fixtures/grid/cols-outside-row-and-form-group.html b/test/_old_fixtures/grid/cols-outside-row-and-form-group.html index b4538fa..b4538fa 100644 --- a/test/fixtures/grid/cols-outside-row-and-form-group.html +++ b/test/_old_fixtures/grid/cols-outside-row-and-form-group.html diff --git a/test/fixtures/grid/cols-redundant.html b/test/_old_fixtures/grid/cols-redundant.html index e3d6228..e3d6228 100644 --- a/test/fixtures/grid/cols-redundant.html +++ b/test/_old_fixtures/grid/cols-redundant.html diff --git a/test/fixtures/grid/cols-within-form-group.html b/test/_old_fixtures/grid/cols-within-form-group.html index 6d4295f..6d4295f 100644 --- a/test/fixtures/grid/cols-within-form-group.html +++ b/test/_old_fixtures/grid/cols-within-form-group.html diff --git a/test/fixtures/grid/cols-within-row.html b/test/_old_fixtures/grid/cols-within-row.html index add0cba..add0cba 100644 --- a/test/fixtures/grid/cols-within-row.html +++ b/test/_old_fixtures/grid/cols-within-row.html diff --git a/test/fixtures/grid/non-col-row-children.html b/test/_old_fixtures/grid/non-col-row-children.html index 8cdd3c5..8cdd3c5 100644 --- a/test/fixtures/grid/non-col-row-children.html +++ b/test/_old_fixtures/grid/non-col-row-children.html diff --git a/test/fixtures/grid/row-col-same-elem.html b/test/_old_fixtures/grid/row-col-same-elem.html index e583ba5..e583ba5 100644 --- a/test/fixtures/grid/row-col-same-elem.html +++ b/test/_old_fixtures/grid/row-col-same-elem.html diff --git a/test/fixtures/grid/row-no-float.html b/test/_old_fixtures/grid/row-no-float.html index a5fb8d8..a5fb8d8 100644 --- a/test/fixtures/grid/row-no-float.html +++ b/test/_old_fixtures/grid/row-no-float.html diff --git a/test/fixtures/grid/script-child-of-row.html b/test/_old_fixtures/grid/script-child-of-row.html index c22efb6..c22efb6 100644 --- a/test/fixtures/grid/script-child-of-row.html +++ b/test/_old_fixtures/grid/script-child-of-row.html diff --git a/test/fixtures/grid/spacer-col/blank-text.html b/test/_old_fixtures/grid/spacer-col/blank-text.html index 8f7b9b2..8f7b9b2 100644 --- a/test/fixtures/grid/spacer-col/blank-text.html +++ b/test/_old_fixtures/grid/spacer-col/blank-text.html diff --git a/test/fixtures/grid/spacer-col/child-with-text.html b/test/_old_fixtures/grid/spacer-col/child-with-text.html index 112c7ce..112c7ce 100644 --- a/test/fixtures/grid/spacer-col/child-with-text.html +++ b/test/_old_fixtures/grid/spacer-col/child-with-text.html diff --git a/test/fixtures/grid/spacer-col/child-without-text.html b/test/_old_fixtures/grid/spacer-col/child-without-text.html index 2e509cb..2e509cb 100644 --- a/test/fixtures/grid/spacer-col/child-without-text.html +++ b/test/_old_fixtures/grid/spacer-col/child-without-text.html diff --git a/test/fixtures/grid/spacer-col/col-element.html b/test/_old_fixtures/grid/spacer-col/col-element.html index 6cc2735..6cc2735 100644 --- a/test/fixtures/grid/spacer-col/col-element.html +++ b/test/_old_fixtures/grid/spacer-col/col-element.html diff --git a/test/fixtures/grid/spacer-col/last-child.html b/test/_old_fixtures/grid/spacer-col/last-child.html index 9d75a0a..9d75a0a 100644 --- a/test/fixtures/grid/spacer-col/last-child.html +++ b/test/_old_fixtures/grid/spacer-col/last-child.html diff --git a/test/fixtures/grid/spacer-col/multiple-reversed-order.html b/test/_old_fixtures/grid/spacer-col/multiple-reversed-order.html index 01a935a..01a935a 100644 --- a/test/fixtures/grid/spacer-col/multiple-reversed-order.html +++ b/test/_old_fixtures/grid/spacer-col/multiple-reversed-order.html diff --git a/test/fixtures/grid/spacer-col/no-child-no-text.html b/test/_old_fixtures/grid/spacer-col/no-child-no-text.html index e52ddc6..e52ddc6 100644 --- a/test/fixtures/grid/spacer-col/no-child-no-text.html +++ b/test/_old_fixtures/grid/spacer-col/no-child-no-text.html diff --git a/test/fixtures/grid/spacer-col/non-blank-text.html b/test/_old_fixtures/grid/spacer-col/non-blank-text.html index 9223d9f..9223d9f 100644 --- a/test/fixtures/grid/spacer-col/non-blank-text.html +++ b/test/_old_fixtures/grid/spacer-col/non-blank-text.html diff --git a/test/fixtures/grid/spacer-col/tricky-classes.html b/test/_old_fixtures/grid/spacer-col/tricky-classes.html index 2d8c867..2d8c867 100644 --- a/test/fixtures/grid/spacer-col/tricky-classes.html +++ b/test/_old_fixtures/grid/spacer-col/tricky-classes.html diff --git a/test/fixtures/grid/spacer-col/void-elements.html b/test/_old_fixtures/grid/spacer-col/void-elements.html index 83a7813..83a7813 100644 --- a/test/fixtures/grid/spacer-col/void-elements.html +++ b/test/_old_fixtures/grid/spacer-col/void-elements.html diff --git a/test/fixtures/images/img-responsive-bad.html b/test/_old_fixtures/images/img-responsive-bad.html index a098964..a098964 100644 --- a/test/fixtures/images/img-responsive-bad.html +++ b/test/_old_fixtures/images/img-responsive-bad.html diff --git a/test/fixtures/images/img-responsive-valid.html b/test/_old_fixtures/images/img-responsive-valid.html index 9590c1a..9590c1a 100644 --- a/test/fixtures/images/img-responsive-valid.html +++ b/test/_old_fixtures/images/img-responsive-valid.html diff --git a/test/fixtures/input-group/missing-form-control.html b/test/_old_fixtures/input-group/missing-form-control.html index 5a10af8..5a10af8 100644 --- a/test/fixtures/input-group/missing-form-control.html +++ b/test/_old_fixtures/input-group/missing-form-control.html diff --git a/test/fixtures/input-group/missing-input-group-addon.html b/test/_old_fixtures/input-group/missing-input-group-addon.html index d90edd2..d90edd2 100644 --- a/test/fixtures/input-group/missing-input-group-addon.html +++ b/test/_old_fixtures/input-group/missing-input-group-addon.html diff --git a/test/fixtures/input-group/missing-input-group-sizing.html b/test/_old_fixtures/input-group/missing-input-group-sizing.html index 478fb3e..478fb3e 100644 --- a/test/fixtures/input-group/missing-input-group-sizing.html +++ b/test/_old_fixtures/input-group/missing-input-group-sizing.html diff --git a/test/fixtures/input-group/mixed-with-form-group.html b/test/_old_fixtures/input-group/mixed-with-form-group.html index 74d4d18..74d4d18 100644 --- a/test/fixtures/input-group/mixed-with-form-group.html +++ b/test/_old_fixtures/input-group/mixed-with-form-group.html diff --git a/test/fixtures/input-group/mixed-with-grid-col.html b/test/_old_fixtures/input-group/mixed-with-grid-col.html index 805bdd5..805bdd5 100644 --- a/test/fixtures/input-group/mixed-with-grid-col.html +++ b/test/_old_fixtures/input-group/mixed-with-grid-col.html diff --git a/test/fixtures/input-group/multiple-add-on-left.html b/test/_old_fixtures/input-group/multiple-add-on-left.html index 1a5eb9c..1a5eb9c 100644 --- a/test/fixtures/input-group/multiple-add-on-left.html +++ b/test/_old_fixtures/input-group/multiple-add-on-left.html diff --git a/test/fixtures/input-group/multiple-add-on-right.html b/test/_old_fixtures/input-group/multiple-add-on-right.html index 7f9608b..7f9608b 100644 --- a/test/fixtures/input-group/multiple-add-on-right.html +++ b/test/_old_fixtures/input-group/multiple-add-on-right.html diff --git a/test/fixtures/input-group/multiple-btn-add-on-left.html b/test/_old_fixtures/input-group/multiple-btn-add-on-left.html index ce404e8..ce404e8 100644 --- a/test/fixtures/input-group/multiple-btn-add-on-left.html +++ b/test/_old_fixtures/input-group/multiple-btn-add-on-left.html diff --git a/test/fixtures/input-group/multiple-btn-add-on-right.html b/test/_old_fixtures/input-group/multiple-btn-add-on-right.html index 00a7776..00a7776 100644 --- a/test/fixtures/input-group/multiple-btn-add-on-right.html +++ b/test/_old_fixtures/input-group/multiple-btn-add-on-right.html diff --git a/test/fixtures/input-group/multiple-form-controls.html b/test/_old_fixtures/input-group/multiple-form-controls.html index e4c96e3..e4c96e3 100644 --- a/test/fixtures/input-group/multiple-form-controls.html +++ b/test/_old_fixtures/input-group/multiple-form-controls.html diff --git a/test/fixtures/input-group/multiple-mixed-add-on-left.html b/test/_old_fixtures/input-group/multiple-mixed-add-on-left.html index e276812..e276812 100644 --- a/test/fixtures/input-group/multiple-mixed-add-on-left.html +++ b/test/_old_fixtures/input-group/multiple-mixed-add-on-left.html diff --git a/test/fixtures/input-group/select.html b/test/_old_fixtures/input-group/select.html index 710383f..710383f 100644 --- a/test/fixtures/input-group/select.html +++ b/test/_old_fixtures/input-group/select.html diff --git a/test/fixtures/input-group/textarea.html b/test/_old_fixtures/input-group/textarea.html index f57e410..f57e410 100644 --- a/test/fixtures/input-group/textarea.html +++ b/test/_old_fixtures/input-group/textarea.html diff --git a/test/fixtures/input-group/valid.html b/test/_old_fixtures/input-group/valid.html index a9489fd..a9489fd 100644 --- a/test/fixtures/input-group/valid.html +++ b/test/_old_fixtures/input-group/valid.html diff --git a/test/fixtures/jquery/and_bs_js_both_missing.html b/test/_old_fixtures/jquery/and_bs_js_both_missing.html index f636ef3..f636ef3 100644 --- a/test/fixtures/jquery/and_bs_js_both_missing.html +++ b/test/_old_fixtures/jquery/and_bs_js_both_missing.html diff --git a/test/fixtures/jquery/custom.html b/test/_old_fixtures/jquery/custom.html index 35f0a3a..35f0a3a 100644 --- a/test/fixtures/jquery/custom.html +++ b/test/_old_fixtures/jquery/custom.html diff --git a/test/fixtures/jquery/jquery-plugin.html b/test/_old_fixtures/jquery/jquery-plugin.html index fa1fe92..fa1fe92 100644 --- a/test/fixtures/jquery/jquery-plugin.html +++ b/test/_old_fixtures/jquery/jquery-plugin.html diff --git a/test/fixtures/jquery/missing.html b/test/_old_fixtures/jquery/missing.html index aa4f2c6..aa4f2c6 100644 --- a/test/fixtures/jquery/missing.html +++ b/test/_old_fixtures/jquery/missing.html diff --git a/test/fixtures/jquery/old-attr.html b/test/_old_fixtures/jquery/old-attr.html index 0513a2b..0513a2b 100644 --- a/test/fixtures/jquery/old-attr.html +++ b/test/_old_fixtures/jquery/old-attr.html diff --git a/test/fixtures/jquery/old-url.html b/test/_old_fixtures/jquery/old-url.html index efbf172..efbf172 100644 --- a/test/fixtures/jquery/old-url.html +++ b/test/_old_fixtures/jquery/old-url.html diff --git a/test/fixtures/viewport/present.html b/test/_old_fixtures/jquery/present.html index 2e4c098..2e4c098 100644 --- a/test/fixtures/viewport/present.html +++ b/test/_old_fixtures/jquery/present.html diff --git a/test/fixtures/js/both.html b/test/_old_fixtures/js/both.html index 957fe29..957fe29 100644 --- a/test/fixtures/js/both.html +++ b/test/_old_fixtures/js/both.html diff --git a/test/fixtures/js/one.html b/test/_old_fixtures/js/one.html index 2132e78..2132e78 100644 --- a/test/fixtures/js/one.html +++ b/test/_old_fixtures/js/one.html diff --git a/test/fixtures/js/similar.html b/test/_old_fixtures/js/similar.html index e51a379..e51a379 100644 --- a/test/fixtures/js/similar.html +++ b/test/_old_fixtures/js/similar.html diff --git a/test/fixtures/js/weird.html b/test/_old_fixtures/js/weird.html index ba3df13..ba3df13 100644 --- a/test/fixtures/js/weird.html +++ b/test/_old_fixtures/js/weird.html diff --git a/test/fixtures/media/deprecated-pull-classes.html b/test/_old_fixtures/media/deprecated-pull-classes.html index d1cacba..d1cacba 100644 --- a/test/fixtures/media/deprecated-pull-classes.html +++ b/test/_old_fixtures/media/deprecated-pull-classes.html diff --git a/test/fixtures/media/media-classes.html b/test/_old_fixtures/media/media-classes.html index 24b3176..24b3176 100644 --- a/test/fixtures/media/media-classes.html +++ b/test/_old_fixtures/media/media-classes.html diff --git a/test/fixtures/media/media-pull-on-media.html b/test/_old_fixtures/media/media-pull-on-media.html index 2797d3d..2797d3d 100644 --- a/test/fixtures/media/media-pull-on-media.html +++ b/test/_old_fixtures/media/media-pull-on-media.html diff --git a/test/fixtures/media/misplaced-media-left.html b/test/_old_fixtures/media/misplaced-media-left.html index e6fd970..e6fd970 100644 --- a/test/fixtures/media/misplaced-media-left.html +++ b/test/_old_fixtures/media/misplaced-media-left.html diff --git a/test/fixtures/media/misplaced-media-right.html b/test/_old_fixtures/media/misplaced-media-right.html index 1ed04ce..1ed04ce 100644 --- a/test/fixtures/media/misplaced-media-right.html +++ b/test/_old_fixtures/media/misplaced-media-right.html diff --git a/test/fixtures/modal/body-outside-content.html b/test/_old_fixtures/modal/body-outside-content.html index b268518..b268518 100644 --- a/test/fixtures/modal/body-outside-content.html +++ b/test/_old_fixtures/modal/body-outside-content.html diff --git a/test/fixtures/modal/content-outside-dialog.html b/test/_old_fixtures/modal/content-outside-dialog.html index 7e96002..7e96002 100644 --- a/test/fixtures/modal/content-outside-dialog.html +++ b/test/_old_fixtures/modal/content-outside-dialog.html diff --git a/test/fixtures/modal/dialog-outside-modal.html b/test/_old_fixtures/modal/dialog-outside-modal.html index 53d667e..53d667e 100644 --- a/test/fixtures/modal/dialog-outside-modal.html +++ b/test/_old_fixtures/modal/dialog-outside-modal.html diff --git a/test/fixtures/modal/footer-outside-content.html b/test/_old_fixtures/modal/footer-outside-content.html index 1f15beb..1f15beb 100644 --- a/test/fixtures/modal/footer-outside-content.html +++ b/test/_old_fixtures/modal/footer-outside-content.html diff --git a/test/fixtures/modal/header-outside-content.html b/test/_old_fixtures/modal/header-outside-content.html index d6bdf8f..d6bdf8f 100644 --- a/test/fixtures/modal/header-outside-content.html +++ b/test/_old_fixtures/modal/header-outside-content.html diff --git a/test/fixtures/modal/missing-role-dialog.html b/test/_old_fixtures/modal/missing-role-dialog.html index 6c5a9c6..6c5a9c6 100644 --- a/test/fixtures/modal/missing-role-dialog.html +++ b/test/_old_fixtures/modal/missing-role-dialog.html diff --git a/test/fixtures/modal/missing-role-document.html b/test/_old_fixtures/modal/missing-role-document.html index 18fd70f..18fd70f 100644 --- a/test/fixtures/modal/missing-role-document.html +++ b/test/_old_fixtures/modal/missing-role-document.html diff --git a/test/fixtures/modal/remote.html b/test/_old_fixtures/modal/remote.html index 4e39e01..4e39e01 100644 --- a/test/fixtures/modal/remote.html +++ b/test/_old_fixtures/modal/remote.html diff --git a/test/fixtures/modal/tabindex-missing.html b/test/_old_fixtures/modal/tabindex-missing.html index 3af5c4b..3af5c4b 100644 --- a/test/fixtures/modal/tabindex-missing.html +++ b/test/_old_fixtures/modal/tabindex-missing.html diff --git a/test/fixtures/modal/title-outside-header.html b/test/_old_fixtures/modal/title-outside-header.html index 1bf18dc..1bf18dc 100644 --- a/test/fixtures/modal/title-outside-header.html +++ b/test/_old_fixtures/modal/title-outside-header.html diff --git a/test/fixtures/modal/valid.html b/test/_old_fixtures/modal/valid.html index 523f161..523f161 100644 --- a/test/fixtures/modal/valid.html +++ b/test/_old_fixtures/modal/valid.html diff --git a/test/fixtures/modal/with-hide.html b/test/_old_fixtures/modal/with-hide.html index 9a7ce73..9a7ce73 100644 --- a/test/fixtures/modal/with-hide.html +++ b/test/_old_fixtures/modal/with-hide.html diff --git a/test/fixtures/modal/within-navbar.html b/test/_old_fixtures/modal/within-navbar.html index bfa1032..bfa1032 100644 --- a/test/fixtures/modal/within-navbar.html +++ b/test/_old_fixtures/modal/within-navbar.html diff --git a/test/fixtures/modal/within-table.html b/test/_old_fixtures/modal/within-table.html index 2e7aa2b..2e7aa2b 100644 --- a/test/fixtures/modal/within-table.html +++ b/test/_old_fixtures/modal/within-table.html diff --git a/test/fixtures/navbar/btn-bad.html b/test/_old_fixtures/navbar/btn-bad.html index 6fbd447..6fbd447 100644 --- a/test/fixtures/navbar/btn-bad.html +++ b/test/_old_fixtures/navbar/btn-bad.html diff --git a/test/fixtures/navbar/navbar-btn-bad.html b/test/_old_fixtures/navbar/navbar-btn-bad.html index 0485b55..0485b55 100644 --- a/test/fixtures/navbar/navbar-btn-bad.html +++ b/test/_old_fixtures/navbar/navbar-btn-bad.html diff --git a/test/fixtures/navbar/navbar-container.html b/test/_old_fixtures/navbar/navbar-container.html index 7e1062f..7e1062f 100644 --- a/test/fixtures/navbar/navbar-container.html +++ b/test/_old_fixtures/navbar/navbar-container.html diff --git a/test/fixtures/navbar/navbar-left-bad.html b/test/_old_fixtures/navbar/navbar-left-bad.html index 923614a..923614a 100644 --- a/test/fixtures/navbar/navbar-left-bad.html +++ b/test/_old_fixtures/navbar/navbar-left-bad.html diff --git a/test/fixtures/navbar/navbar-left-right-on-navbar.html b/test/_old_fixtures/navbar/navbar-left-right-on-navbar.html index 25d2237..25d2237 100644 --- a/test/fixtures/navbar/navbar-left-right-on-navbar.html +++ b/test/_old_fixtures/navbar/navbar-left-right-on-navbar.html diff --git a/test/fixtures/navbar/navbar-left-right-valid.html b/test/_old_fixtures/navbar/navbar-left-right-valid.html index ba2de3d..ba2de3d 100644 --- a/test/fixtures/navbar/navbar-left-right-valid.html +++ b/test/_old_fixtures/navbar/navbar-left-right-valid.html diff --git a/test/fixtures/navbar/navbar-right-bad.html b/test/_old_fixtures/navbar/navbar-right-bad.html index 6aa8441..6aa8441 100644 --- a/test/fixtures/navbar/navbar-right-bad.html +++ b/test/_old_fixtures/navbar/navbar-right-bad.html diff --git a/test/fixtures/outdated/bootstrap-css.html b/test/_old_fixtures/outdated/bootstrap-css.html index 008a2a5..008a2a5 100644 --- a/test/fixtures/outdated/bootstrap-css.html +++ b/test/_old_fixtures/outdated/bootstrap-css.html diff --git a/test/fixtures/outdated/bootstrap-extensions-okay.html b/test/_old_fixtures/outdated/bootstrap-extensions-okay.html index 72c55f8..72c55f8 100644 --- a/test/fixtures/outdated/bootstrap-extensions-okay.html +++ b/test/_old_fixtures/outdated/bootstrap-extensions-okay.html diff --git a/test/fixtures/outdated/bootstrap-js.html b/test/_old_fixtures/outdated/bootstrap-js.html index e3002d8..e3002d8 100644 --- a/test/fixtures/outdated/bootstrap-js.html +++ b/test/_old_fixtures/outdated/bootstrap-js.html diff --git a/test/fixtures/outdated/bootstrap-min-css.html b/test/_old_fixtures/outdated/bootstrap-min-css.html index 38612a9..38612a9 100644 --- a/test/fixtures/outdated/bootstrap-min-css.html +++ b/test/_old_fixtures/outdated/bootstrap-min-css.html diff --git a/test/fixtures/outdated/bootstrap-min-js.html b/test/_old_fixtures/outdated/bootstrap-min-js.html index 32a328b..32a328b 100644 --- a/test/fixtures/outdated/bootstrap-min-js.html +++ b/test/_old_fixtures/outdated/bootstrap-min-js.html diff --git a/test/fixtures/outdated/js-version-not-in-url-current.html b/test/_old_fixtures/outdated/js-version-not-in-url-current.html index e54ed9c..e54ed9c 100644 --- a/test/fixtures/outdated/js-version-not-in-url-current.html +++ b/test/_old_fixtures/outdated/js-version-not-in-url-current.html diff --git a/test/fixtures/outdated/js-version-not-in-url-outdated.html b/test/_old_fixtures/outdated/js-version-not-in-url-outdated.html index e8dcaf0..e8dcaf0 100644 --- a/test/fixtures/outdated/js-version-not-in-url-outdated.html +++ b/test/_old_fixtures/outdated/js-version-not-in-url-outdated.html diff --git a/test/fixtures/panels/panel-body-missing-parent.html b/test/_old_fixtures/panels/panel-body-missing-parent.html index 1f3653b..1f3653b 100644 --- a/test/fixtures/panels/panel-body-missing-parent.html +++ b/test/_old_fixtures/panels/panel-body-missing-parent.html diff --git a/test/fixtures/panels/panel-footer-missing-parent.html b/test/_old_fixtures/panels/panel-footer-missing-parent.html index e34687e..e34687e 100644 --- a/test/fixtures/panels/panel-footer-missing-parent.html +++ b/test/_old_fixtures/panels/panel-footer-missing-parent.html diff --git a/test/fixtures/panels/panel-heading-missing-parent.html b/test/_old_fixtures/panels/panel-heading-missing-parent.html index 3d3117a..3d3117a 100644 --- a/test/fixtures/panels/panel-heading-missing-parent.html +++ b/test/_old_fixtures/panels/panel-heading-missing-parent.html diff --git a/test/fixtures/panels/panel-title-missing-parent.html b/test/_old_fixtures/panels/panel-title-missing-parent.html index 009163f..009163f 100644 --- a/test/fixtures/panels/panel-title-missing-parent.html +++ b/test/_old_fixtures/panels/panel-title-missing-parent.html diff --git a/test/fixtures/panels/panels.html b/test/_old_fixtures/panels/panels.html index 55793fb..55793fb 100644 --- a/test/fixtures/panels/panels.html +++ b/test/_old_fixtures/panels/panels.html diff --git a/test/fixtures/table/responsive-incorrect.html b/test/_old_fixtures/table/responsive-incorrect.html index 62236da..62236da 100644 --- a/test/fixtures/table/responsive-incorrect.html +++ b/test/_old_fixtures/table/responsive-incorrect.html diff --git a/test/fixtures/table/responsive-valid.html b/test/_old_fixtures/table/responsive-valid.html index 38706a1..38706a1 100644 --- a/test/fixtures/table/responsive-valid.html +++ b/test/_old_fixtures/table/responsive-valid.html diff --git a/test/fixtures/tooltips/in-btn-groups.html b/test/_old_fixtures/tooltips/in-btn-groups.html index 11d3733..11d3733 100644 --- a/test/fixtures/tooltips/in-btn-groups.html +++ b/test/_old_fixtures/tooltips/in-btn-groups.html diff --git a/test/fixtures/tooltips/on-disabled-elems.html b/test/_old_fixtures/tooltips/on-disabled-elems.html index 44910c6..44910c6 100644 --- a/test/fixtures/tooltips/on-disabled-elems.html +++ b/test/_old_fixtures/tooltips/on-disabled-elems.html diff --git a/test/fixtures/version-4/bootstrap-css.html b/test/_old_fixtures/version-4/bootstrap-css.html index 1a9a959..1a9a959 100644 --- a/test/fixtures/version-4/bootstrap-css.html +++ b/test/_old_fixtures/version-4/bootstrap-css.html diff --git a/test/fixtures/version-4/bootstrap-extensions-okay.html b/test/_old_fixtures/version-4/bootstrap-extensions-okay.html index f428e0c..f428e0c 100644 --- a/test/fixtures/version-4/bootstrap-extensions-okay.html +++ b/test/_old_fixtures/version-4/bootstrap-extensions-okay.html diff --git a/test/fixtures/version-4/bootstrap-js.html b/test/_old_fixtures/version-4/bootstrap-js.html index ec220ba..ec220ba 100644 --- a/test/fixtures/version-4/bootstrap-js.html +++ b/test/_old_fixtures/version-4/bootstrap-js.html diff --git a/test/fixtures/version-4/bootstrap-min-css.html b/test/_old_fixtures/version-4/bootstrap-min-css.html index 3e7dd34..3e7dd34 100644 --- a/test/fixtures/version-4/bootstrap-min-css.html +++ b/test/_old_fixtures/version-4/bootstrap-min-css.html diff --git a/test/fixtures/version-4/bootstrap-min-js.html b/test/_old_fixtures/version-4/bootstrap-min-js.html index 1f8790d..1f8790d 100644 --- a/test/fixtures/version-4/bootstrap-min-js.html +++ b/test/_old_fixtures/version-4/bootstrap-min-js.html diff --git a/test/fixtures/version-4/js-version-not-in-url-4.0.0.html b/test/_old_fixtures/version-4/js-version-not-in-url-4.0.0.html index 369d665..369d665 100644 --- a/test/fixtures/version-4/js-version-not-in-url-4.0.0.html +++ b/test/_old_fixtures/version-4/js-version-not-in-url-4.0.0.html diff --git a/test/fixtures/viewport/missing.html b/test/_old_fixtures/viewport/missing.html index 679ee2b..679ee2b 100644 --- a/test/fixtures/viewport/missing.html +++ b/test/_old_fixtures/viewport/missing.html diff --git a/test/fixtures/x-ua-compatible/present.html b/test/_old_fixtures/viewport/present.html index 2e4c098..2e4c098 100644 --- a/test/fixtures/x-ua-compatible/present.html +++ b/test/_old_fixtures/viewport/present.html diff --git a/test/fixtures/x-ua-compatible/lowercase.html b/test/_old_fixtures/x-ua-compatible/lowercase.html index 26b1381..26b1381 100644 --- a/test/fixtures/x-ua-compatible/lowercase.html +++ b/test/_old_fixtures/x-ua-compatible/lowercase.html diff --git a/test/fixtures/x-ua-compatible/missing.html b/test/_old_fixtures/x-ua-compatible/missing.html index abe26b1..abe26b1 100644 --- a/test/fixtures/x-ua-compatible/missing.html +++ b/test/_old_fixtures/x-ua-compatible/missing.html diff --git a/test/_old_fixtures/x-ua-compatible/present.html b/test/_old_fixtures/x-ua-compatible/present.html new file mode 100644 index 0000000..a1bd00e --- /dev/null +++ b/test/_old_fixtures/x-ua-compatible/present.html @@ -0,0 +1,23 @@ +<!doctype html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Test</title> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> + <![endif]--> + <script src="../../lib/jquery.min.js"></script> + + <link rel="stylesheet" href="../../lib/qunit.css"> + <script src="../../lib/qunit.js"></script> + <script src="../../../dist/browser/bootlint.js"></script> + <script src="../generic-qunit.js"></script> + </head> + <body> + <div id="qunit"></div> + <ol id="bootlint"></ol> + </body> +</html> diff --git a/test/bootlint_test.js b/test/bootlint_test.js index 15161c8..a5e058a 100644 --- a/test/bootlint_test.js +++ b/test/bootlint_test.js @@ -56,6 +56,7 @@ exports.bootlint = { 'should not complain when the legacy-compatibility HTML5 doctype is used.'); test.done(); }, + /* 'disabling lint checks': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('bs-v2.html'), ['E002', 'E013']), @@ -63,6 +64,8 @@ exports.bootlint = { 'should complain when Bootstrap v2 grid classes are present.'); test.done(); }, + */ + /* 'UTF-8 charset meta tag': function (test) { test.expect(4); test.deepEqual(lintHtml(utf8Fixture('charset/utf8.html')), @@ -79,6 +82,8 @@ exports.bootlint = { 'should complain when <meta> tag specifies non-UTF-8 charset.'); test.done(); }, + */ + /* 'X-UA-Compatible': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('x-ua-compatible/present.html')), @@ -92,6 +97,8 @@ exports.bootlint = { 'should complain when X-UA-Compatible <meta> tag is missing.'); test.done(); }, + */ + /* 'Bootstrap v2': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('bs-v2.html')), @@ -102,6 +109,8 @@ exports.bootlint = { 'should complain when Bootstrap v2 grid classes are present.'); test.done(); }, + */ + /* 'rows outside containers': function (test) { test.expect(6); test.deepEqual(lintHtml(utf8Fixture('containers/fixed.html')), @@ -124,6 +133,8 @@ exports.bootlint = { 'should not complain when rows are children of `.modal-body`.'); test.done(); }, + */ + /* 'nested containers': function (test) { test.expect(4); test.deepEqual(lintHtml(utf8Fixture('containers/nested-fixed-fixed.html')), @@ -140,6 +151,8 @@ exports.bootlint = { 'should complain when a container is within a container.'); test.done(); }, + */ + /* 'viewport meta tag': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('viewport/present.html')), @@ -150,6 +163,8 @@ exports.bootlint = { 'should complain when viewport <meta> tag is missing.'); test.done(); }, + */ + /* 'row and column classes on same element': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('grid/row-col-same-elem.html')), @@ -160,6 +175,8 @@ exports.bootlint = { 'should complain when .row and .col-*-* are used on the same element.'); test.done(); }, + */ + /* 'row and container classes on same element': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('containers/fixed-row-same-elem.html')), @@ -170,6 +187,8 @@ exports.bootlint = { 'should complain when .row and .container-fluid are used on the same element.'); test.done(); }, + */ + /* 'remote modals': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('modal/remote.html')), @@ -177,6 +196,8 @@ exports.bootlint = { 'should complain when remote modals are present.'); test.done(); }, + */ + /* 'jQuery': function (test) { test.expect(5); test.deepEqual(lintHtml(utf8Fixture('jquery/present.html')), @@ -196,6 +217,8 @@ exports.bootlint = { 'should complain differently when jQuery appears to be missing but Bootstrap\'s JS is also missing.'); test.done(); }, + */ + /* 'bootstrap[.min].js': function (test) { test.expect(4); test.deepEqual(lintHtml(utf8Fixture('js/both.html')), @@ -212,6 +235,8 @@ exports.bootlint = { 'should complain when both bootstrap.js and bootstrap.min.js are included, even when their URLs use fragments and query strings.'); test.done(); }, + */ + /* 'input groups with impermissible kind of form control': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('input-group/textarea.html')), @@ -225,6 +250,8 @@ exports.bootlint = { 'should not complain about input groups with text-based <input>s.'); test.done(); }, + */ + /* 'tooltips and popovers on disabled elements': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('tooltips/on-disabled-elems.html')), @@ -237,6 +264,8 @@ exports.bootlint = { 'should complain about tooltips and popovers on disabled elements.'); test.done(); }, + */ + /* 'tooltips and popovers within button groups should have their container set to body': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('tooltips/in-btn-groups.html')), @@ -244,6 +273,8 @@ exports.bootlint = { 'should complain when `data-*`-based tooltips or popovers lack `data-container="body"`.'); test.done(); }, + */ + /* 'btn/input sizing used without input-group-* size': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('input-group/missing-input-group-sizing.html')), @@ -251,6 +282,8 @@ exports.bootlint = { 'should complain when an input/btn sizes are used within input-group.'); test.done(); }, + */ + /* 'input groups with multiple form controls': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('input-group/multiple-form-controls.html')), @@ -258,6 +291,8 @@ exports.bootlint = { 'should complain when an input group contains multiple form controls.'); test.done(); }, + */ + /* 'mixing input groups with form groups': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('input-group/mixed-with-form-group.html')), @@ -265,6 +300,8 @@ exports.bootlint = { 'should complain when .input-group and .form-group are used on the same element.'); test.done(); }, + */ + /* 'mixing input groups with grid columns': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('input-group/mixed-with-grid-col.html')), @@ -272,6 +309,8 @@ exports.bootlint = { 'should complain when an input group has a grid column class on it.'); test.done(); }, + */ + /* 'input groups missing controls and addons': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('input-group/missing-input-group-addon.html')), @@ -282,6 +321,8 @@ exports.bootlint = { 'should complain when missing missing a `.input-group-addon`'); test.done(); }, + */ + /* 'non-column children of rows': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('grid/non-col-row-children.html')), @@ -292,6 +333,8 @@ exports.bootlint = { 'should not complain about <script> child of row'); test.done(); }, + */ + /* 'multiple columns on the same side of an input group': function (test) { test.expect(5); test.deepEqual(lintHtml(utf8Fixture('input-group/multiple-add-on-left.html')), @@ -311,6 +354,8 @@ exports.bootlint = { 'should complain when both a normal add-on and a button add-on are on the left side of an input group.'); test.done(); }, + */ + /* 'dropdown-toggle comes before btn': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('buttons/btn-toggle.html')), @@ -321,6 +366,8 @@ exports.bootlint = { 'should complain when `.dropdown-toggle` is on the left side of a btn'); test.done(); }, + */ + /* 'buttons should set type': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('buttons/without-type.html')), @@ -331,6 +378,8 @@ exports.bootlint = { 'should not complain when type is set on buttons'); test.done(); }, + */ + /* 'use disabled attribute on button.btn and input.btn instead of .disabled': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('buttons/button-disabled-class.html')), @@ -344,6 +393,8 @@ exports.bootlint = { 'should not complain when disabled attribute is set on buttons'); test.done(); }, + */ + /* 'inputs should set type': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('form-control/without-type.html')), @@ -354,6 +405,8 @@ exports.bootlint = { 'should not complain when type is set on inputs'); test.done(); }, + */ + /* 'incorrect markup for .checkbox, .radio, .checkbox-inline, and .radio-inline classes': function (test) { test.expect(7); @@ -384,7 +437,8 @@ exports.bootlint = { test.done(); }, - + */ + /* '.active class and checked attribute for buttons plugin do not match': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('buttons-plugin/valid.html')), @@ -398,6 +452,8 @@ exports.bootlint = { 'should complain when .active and checked do not correspond correctly in a radio button group.'); test.done(); }, + */ + /* 'modals within other components': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('modal/within-table.html')), @@ -408,7 +464,8 @@ exports.bootlint = { 'should complain when a modal is placed within a `.navbar`.'); test.done(); }, - + */ + /* 'panel structure': function (test) { test.expect(5); test.deepEqual(lintHtml(utf8Fixture('panels/panels.html')), @@ -428,7 +485,8 @@ exports.bootlint = { 'should complain when .panel-heading is missing .panel parent'); test.done(); }, - + */ + /* 'columns outside of rows and form groups': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('grid/cols-within-row.html')), @@ -445,7 +503,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* '.table-responsive on the table itself': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('table/responsive-valid.html')), @@ -458,7 +517,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'redundant grid column classes': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('grid/cols-not-redundant.html')), @@ -478,7 +538,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'empty spacer grid columns': function (test) { test.expect(10); test.deepEqual(lintHtml(utf8Fixture('grid/spacer-col/blank-text.html')), @@ -523,7 +584,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* '.form-control-feedback without a .has-feedback ancestor': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('feedback/form-control-valid.html')), @@ -540,7 +602,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'Glyphicons on non-empty elements': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('glyphicons/valid.html')), @@ -557,7 +620,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'Glyphicons missing the .glyphicon class': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('glyphicons/valid.html')), @@ -570,7 +634,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'modal structure': function (test) { test.expect(7); test.deepEqual(lintHtml(utf8Fixture('modal/valid.html')), @@ -603,7 +668,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'form classes used directly on form groups': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('form/form-inline-group.html')), @@ -616,7 +682,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'incorrect alerts with dismiss/close buttons': function (test) { test.expect(5); test.deepEqual(lintHtml(utf8Fixture('alert-dismiss-close/valid.html')), @@ -641,7 +708,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'pull classes inside media': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('media/deprecated-pull-classes.html')), @@ -654,7 +722,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'invalid nonexistent .col-*-0 classes': function (test) { test.expect(4); test.deepEqual(lintHtml(utf8Fixture('grid/col-xs-0.html')), @@ -687,7 +756,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'outdated version of Bootstrap': function (test) { test.expect(5); test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-css.html')), @@ -707,7 +777,8 @@ exports.bootlint = { 'should not complain about outdated libraries that just have "bootstrap" in their name.'); test.done(); }, - + */ + /* 'version 4 of Bootstrap': function (test) { test.expect(5); test.deepEqual(lintHtml(utf8Fixture('version-4/bootstrap-css.html')), @@ -727,7 +798,8 @@ exports.bootlint = { 'should not complain about v4.0.0+ libraries that just have "bootstrap" in their name.'); test.done(); }, - + */ + /* 'carousel control target': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('carousel/indicators.html')), @@ -748,7 +820,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'media pulls outside of media objects': function (test) { test.expect(4); test.deepEqual(lintHtml(utf8Fixture('media/media-classes.html')), @@ -769,7 +842,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'navbar pulls outside of navbars': function (test) { test.expect(4); test.deepEqual(lintHtml(utf8Fixture('navbar/navbar-left-bad.html')), @@ -790,7 +864,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'modal with .hide class': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('modal/with-hide.html')), @@ -803,7 +878,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'carousel structure': function (test) { test.expect(5); test.deepEqual(lintHtml(utf8Fixture('carousel/valid.html')), @@ -828,7 +904,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* 'container inside navbar': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('navbar/navbar-container.html')), @@ -837,7 +914,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* '.form-control on wrong element or input type': function (test) { test.expect(11); test.deepEqual(lintHtml(utf8Fixture('form-control/span-invalid.html')), @@ -886,7 +964,8 @@ exports.bootlint = { ); test.done(); }, - + */ + /* '.img-responsive not on image': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('images/img-responsive-bad.html')), @@ -899,6 +978,8 @@ exports.bootlint = { ); test.done(); }, + */ + /* 'btn classes on anchors within .navbar-nav': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('navbar/btn-bad.html')), @@ -911,6 +992,8 @@ exports.bootlint = { ); test.done(); }, + */ + /* 'modal missing tabindex': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('modal/tabindex-missing.html')), @@ -919,6 +1002,8 @@ exports.bootlint = { ); test.done(); }, + */ + /* '.btn not on <a>/<button>/<input>/<label>': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('buttons/btn-incorrect-element.html')), @@ -931,6 +1016,8 @@ exports.bootlint = { ); test.done(); }, + */ + /* 'modal missing role dialog': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('modal/missing-role-dialog.html')), @@ -939,6 +1026,8 @@ exports.bootlint = { ); test.done(); }, + */ + /* 'modal-dialog missing role document': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('modal/missing-role-document.html')), @@ -947,6 +1036,8 @@ exports.bootlint = { ); test.done(); }, + */ + /* 'nested form groups': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('form/valid.html')), @@ -959,6 +1050,8 @@ exports.bootlint = { ); test.done(); }, + */ + /* '.pull-right/left classes and manual float styles not allowed on .col-*-*': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('grid/col-no-float.html')), @@ -970,6 +1063,8 @@ exports.bootlint = { ); test.done(); }, + */ + /* '.pull-right/left classes and manual float styles not allowed on .row': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('grid/row-no-float.html')), @@ -981,4 +1076,5 @@ exports.bootlint = { ); test.done(); } + */ }; |