今天我有一個主要的頭破克。「錯誤」似乎取決於圓形div內的畫布大小。誰可以解釋這種行爲,小提琴,並具有在Firefox這個「錯誤」 16.0.2./chrome請與FF,IE和Chrome的小提琴的解決方案......Div與溢出:隱藏,邊界半徑和畫布作爲孩子。溢出越野車根據大小畫布
overflow not hidden in firefox 16
<div class="round" >
<canvas width="300px" height="300px">
Your browser needs canvas support</canvas>
</div>
overflow hidden in firefox 16
<div class="round" >
<canvas width="12000px" height="7200px">
Your browser needs canvas support</canvas>
</div>
它似乎只是取決於畫布的寬度。當畫布寬度=或> 8193px時,該錯誤得到解決。這可能取決於屏幕分辨率(我的屏幕寬度是1366像素)......沒有對其他srceen尺寸進行測試。 –