* Change CSS output file name to style.css
* Fix test against CSS file
* Update documentation after output file rename
* Bump 'package.json' after running build
* Documents change in 'CHANGELOG.md'
+all tests pass.
Note: the build removes `-webkit-box-shadow: none !important;` from the compiled CSS. I don't think that should have been there before. The webkit prefixed version hasn't been needed for a looooooong time. https://caniuse.com/#feat=mdn-css_properties_box-shadow
* Update Dev Dependencies
mocha, modernizr, gulp-autoprefixer updates.
The build tests run fine with no changes. The dist CSS is different as the PR from 2025 didn't include changes in the dist dir.
* Update Normalize
Chrome currently has a bug (when printing) that results in
::first-letter being vertically misaligned under certain (seemingly
unrelated) conditions. This PR fixes issue by removing the CSS that
causes the issue.
*:first-line pseudo-selector freezes window with print preview in IE 11
(tested on Windows 7 with IE 11.0.9600.17420 and 11.0.9600.18204,
Windows 8.1 with IE 11.0.9600.16663, Windows 10 with IE 11.63.10586.0)
To reproduce just open: http://demo.html5boilerplate.com/
or /dist/index.html and select Print > Print preview...
Add `dppx` variant of `min-resolution` to the high resolution media
query as `dppx` is more accurate¹ than `dpi`.
Notes:
* since `dppx` is not supported by all browsers the media query
still needs the `dpi` fallback
* this change removes the `dppx` related warning² from Blink based
browsers (e.g.: Chrome, Opera)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
¹ `dpi` (dots per inch) refers to a defined size of pixels where one
inch is `96px` no matter what, so it does not take into consideration
the physical inches.
² "Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch,
not dots-per-physical-inch, so does not correspond to the actual 'dpi'
of a screen. In media query expression: print,
(-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi)"
Fixh5bp/html5-boilerplate#1474Closeh5bp/html5-boilerplate#1691