#17665: WebKit: Text disappears and bad content clipping with opacity<1 and
transform:rotate
---------------------------+----------------------------
Reporter: thebuck | Owner: madmax
Type: bug | Status: in-progress
Priority: high | Milestone: Unscheduled
Component: Kits/Web Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
---------------------------+----------------------------
Comment (by thebuck):
More to the point, `IntRect GraphicsContextHaiku::clipBounds() const`
cannot be correct for transformations other than translate/scale because
it ensures visibility of only two of the four rectangle corners.
Taking a 45°-rotated square as example, it will be entirely(*) clipped
away.\\
(*) IntRect shall keep a one pixel row or column due to its extend-only
rounding scheme (not sure whether that is properly implemented, though).
Determining the (wrong) bounding rectangle of a transformed bounding
rectangle produces an unnecessarily big rectangle anyway. Could the
`region.Frame()` be called such that it takes the view transformation into
account by itself?
--
Ticket URL: <https://dev.haiku-os.org/ticket/17665#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.