At present, some special HTML elements compute display: contents to display: none.(https://drafts.csswg.org/css-display/#unbox).
By default, web browsers hide <style> and <script> elements using the display: none property. However, when display: contents is applied, the script will be displayed as text. Should we create specific exceptions for <style> and <script> elements as well?