Performance: List styles (unstyled, inline)
MEDIUM IMPACT
This affects how quickly the browser can render lists by controlling default styles and layout behavior.
<ul class="list-inline"><li class="list-inline-item">Home</li><li class="list-inline-item">About</li><li class="list-inline-item">Contact</li></ul>
<ul><li>Home</li><li>About</li><li>Contact</li></ul>
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Default <ul> with bullets | Minimal | 2 reflows (bullets + vertical stacking) | Medium paint cost | [X] Bad |
| Inline list with Bootstrap classes | Minimal | 1 reflow (inline layout) | Low paint cost | [OK] Good |
| Unstyled list with inline styles | Minimal | 1 reflow (padding removal) | Medium paint cost | [OK] Good |
| Unstyled list with Bootstrap class | Minimal | 0 reflows | Low paint cost | [OK] Good |