## Steps to reproduce the problem: Go to https://codepen.io/kizu/pen/ZvxMoz or 1. Create an element with width fitted to content (like inline-block) 2. Add pseudo with content containing multiple CSS counters (more than 1) 3. Add negative text-indent that would cover the width of all added symbols. ## What is the expected behavior? The element's width should be equal to zero ## What went wrong? The element's width would be equal to the number of counters minus one in characters (really strange) Other browsers: Firefox and Edge render this properly.
Wanted to post an update: this was fixed in Chromium, so Safari would become the only one still having this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=800985
<rdar://problem/52022022>
Created attachment 461773 [details] STP 151 matches with all other browsers but differ from Safari 15.6.1 I am able to reproduce this bug using CodePen from Comment 0 in Safari 15.6.1 but not in Safari Technology Preview 151, which matches with other browsers (Chrome Canary 106 and Firefox Nightly 105). I am going to mark this as "RESOLVED CONFIGURATION CHANGED", please reopen if I am testing incorrectly. Thanks!