[haiku-bugs] Re: [Haiku] #17305: webkit: elements disappear when scrolling page

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 19 Mar 2022 19:07:03 -0000

#17305: webkit: elements disappear when scrolling page
---------------------------+----------------------------
  Reporter:  humdinger     |      Owner:  pulkomandy
      Type:  bug           |     Status:  new
  Priority:  high          |  Milestone:  Unscheduled
 Component:  Kits/Web Kit  |    Version:  R1/Development
Resolution:                |   Keywords:
Blocked By:                |   Blocking:
  Platform:  All           |
---------------------------+----------------------------
Comment (by madmax):

 For the SVG cases the problem is in `GraphicsContextHaiku::clipBounds()`.
 In converting the clipping region to drawing space it doesn't take into
 account that `BView::Transform()` returns the transform for the current
 state, not the compound transform with the stacked ones. Keeping a stack
 of compound transforms in `GraphicsContextHaiku::save()`/`restore()` and
 using it in `clipBounds` seems to work. It doesn't solve the opacity-
 scroll test, though, but that may be due to the opacity and more for
 #17665.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17305#comment:8>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: