Closed graymatter00 closed 1 year ago
I've just noticed that @Awjin addressed this issue in PR #72 on July 4th.
Is there a reason this PR has not been merged?
This is one of the reasons I wondered why he chose this style for these and did not add them to the list of the main reset.
Good point @graymatter00, added every one of them box-sizing: border-box
behavior.
The reason for not changing the order is to keep the most common at the top.
Release a new version with those fixes (1.11), Issue Closed
Thanks @elad2412.
I have a follow-on question. Regarding...
The reason for not changing the order is to keep the most common at the top.
Is there a reason that pre
and dialog:modal
can't be added to the main where
statement on line 11?
That is, could...
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *))
...become...
*:where(:not(html, iframe, canvas, img, svg, video, audio, pre, dialog:modal):not(svg *, symbol *))
...and remove the need for the separate pre
and dialog:modal
references?
At the time of writing the current version of reset.css is 1.9.
The global
box-sizing
setting ofborder-box
starts at line 16.The
all: revert
settings forpre
anddialog:modal
start at line 60 and 97 respectively.This results in the
box-sizing
for bothpre
anddialog:modal
being set tocontent-box
(tested on Chrome, Edge and Firefox).If the intension of the reset is to have all elements set to
box-sizing: border-box
, would it perhaps be better to move thepre
anddialog:modal
settings to be positioned above the globalbox-sizing
setting?Or is it intentional to have
pre
anddialog:modal
with abox-sizing
ofcontent-box
? And if so, why?