normalize-fixes.css

Same filename in this branch
  1. 9 core/misc/normalize-fixes.css
  2. 9 core/themes/stable/css/core/normalize-fixes.css
Same filename in other branches
  1. 8.9.x core/misc/normalize-fixes.css

Fixes for core/assets/vendor/normalize-css/normalize.css since version 8.0.1.

File

core/themes/stable9/css/core/normalize-fixes.css

View source
  1. /**
  2. * @file
  3. * Fixes for core/assets/vendor/normalize-css/normalize.css since version 8.0.1.
  4. */
  5. /**
  6. * Add SVG styling for IE that was mistakenly removed from normalize.css in
  7. * 8.0.0.
  8. */
  9. svg:not(:root) {
  10. overflow: hidden;
  11. }
  12. /**
  13. * Prevent regression due to normalize.css no longer hiding the cancel search
  14. * button in 8.0.0.
  15. * @todo Remove this rule in https://drupal.org/node/3114878
  16. */
  17. input[type="search"]::-webkit-search-cancel-button {
  18. -webkit-appearance: none;
  19. }
  20. /**
  21. * Prevent IE11 and Edge elements from being displayed as list-item.
  22. * due to a rule added in normalize.css 5.0.0. For browsers that support
  23. * , this is the correct styling. For IE11 and Edge, which do not
  24. * support this element, this results in an unwanted list-item bullet.
  25. */
  26. /* Target IE11 */
  27. @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  28. summary {
  29. display: block;
  30. }
  31. }
  32. /* Target Edge */
  33. @supports (-ms-ime-align:auto) {
  34. summary {
  35. display: block;
  36. }
  37. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.