[haiku-bugs] Re: [Haiku] #12511: Text Becomes Invisible in Div With Opacity Set <1

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 05 Mar 2022 15:11:35 -0000

#12511: Text Becomes Invisible in Div With Opacity Set <1
---------------------------------------+-----------------------------------
  Reporter:  achmafooma                |      Owner:  jua
      Type:  bug                       |     Status:  closed
  Priority:  normal                    |  Milestone:  R1/beta2
 Component:  Applications/WebPositive  |    Version:  R1/Development
Resolution:  fixed                     |   Keywords:  opacity div text
                                       |  color
Blocked By:                            |   Blocking:  12545
  Platform:  All                       |
---------------------------------------+-----------------------------------
Changes (by thebuck):

 * Attachment "opacity-transform.html" added.

 With opacity<1 and a transform somewhat more complex than translation,
 text completely disappears (hover the skyblue block to start transform).
 Note that clipping is also wrong, GraphicsContextHaiku::clipBounds() looks
 like the culprit for that, TransformationMatrix::mapRect could be a better
 approach.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/12511>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: