You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that Chrome & Firefox did not adjust position: static to absolute for the root element (<html>) in the top layer.
I had to make WebKit match behavior to prevent compatibility issues, given that implementing that adjustment leads to the root collapsing its width to 0.
Looking more closely at the spec, I do see this line is supposed to prevent that:
Unless overridden by another specification, its static position for left, right, and top is zero.
However, no browser implements that.
Also, another thing I noticed was that ::backdrop did not work on the root element in FF & Chrome.
It would be nice to specify this further and make the spec potentially match the reality of implementations.
The text was updated successfully, but these errors were encountered:
I noticed that Chrome & Firefox did not adjust
position: static
toabsolute
for the root element (<html>
) in the top layer.I had to make WebKit match behavior to prevent compatibility issues, given that implementing that adjustment leads to the root collapsing its width to 0.
Looking more closely at the spec, I do see this line is supposed to prevent that:
However, no browser implements that.
Also, another thing I noticed was that ::backdrop did not work on the root element in FF & Chrome.
It would be nice to specify this further and make the spec potentially match the reality of implementations.
The text was updated successfully, but these errors were encountered: