获得徽章 0
- 今天遇到一个很有意思的问题。同一段 HTML 和 CSS 在 Chromium 89 和 Chromium 93 上的表现不一致,没搞清楚是什么的问题
。有大佬知道咋回事吗?
```javascript
document.body.innerHTML = `
<div class="wrapper" style="height: 500px; display: flex; flex-direction: column;">
<div class="content" style="flex: 1; display: flex; flex-direction: row;">
<div class="x" style="display: flex;height: 100%;width: 100%;overflow: overlay;flex-direction: column;">
<div class="y" style="flex: 1;height: 0;">
<div class="z" style="height: 100%; overflow: auto; border: 1px solid black;">
<div class="fuck" style="height: 1000px; background-color: blue;"></div>
</div>
</div>
</div>
</div>
</div>`
```展开评论3
。有大佬知道咋回事吗?![[捂脸]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_28.8981538.png)