[wpt-sync] Sync PR 33057 - Remove DCHECKs in FloatRoundedRect::Radii::Expand()
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33057 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33057
Details from upstream follow.
Xianzhu Wang <wangxianzhu@chromium.org> wrote:
Remove DCHECKs in FloatRoundedRect::Radii::Expand()
The DCHECK failed when we calculated the inner bounds of an outline
with border-radius, if the outline had big negative outline-offset
and was on a box whose size was bigger than 2x outline width in one
dimension and smaller than 2x outline width in the other dimension.
In the case, FloatRoundedRect::Radii::Expand() was called with a
gfx::OutsetsF with mixed positive/negative components.Remove the DCHECK as the case is valid. Will follow up for refactors
and cleanups.Bug: 1301077
Change-Id: Id76b5587b83a6fd0c8fbf0dcea010dc1670f7c58Reviewed-on: https://chromium-review.googlesource.com/3499896
WPT-Export-Revision: 0f5f63e0590cb5e7aae4ee2346bf5528e24dd335
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
Comment 5•3 years ago
|
||
bugherder |
Description
•