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
{{ message }}
Repository navigation
Bug with vertical positioning of nested <ul>s #43355
<!doctype html><style>div{display:inline-block;position:relative;border:1px solid brown;background: tan;height:40px;}</style><ul><div>
Foo
<ul>
Bar
</ul></div></ul>
This ONLY works with both elements as <ul>.
Firefox
Chrome
Servo
My theory is that the useragent CSS for browsers gives ul the good old padding-inline-start: 40px;, and somehow on Servo this is being applied twice to the second ul… even though that's the wrong axis.
Activity
Loirooriol commentedon Mar 18, 2026
servo/components/layout/stylesheets/user-agent.css
Lines 243 to 247 in e61298e
Should just use
:is().Firefox: https://searchfox.org/firefox-main/rev/804ffad3df416ac8418f3c0df7679a8fe3d718fa/layout/style/res/html.css#586-588,591-592,602,605-606,616-622
layout: Replace UA stylesheet usage of legacy :matches by :is
layout: Replace UA stylesheet usage of legacy :matches by :is (servo#…