[haiku-bugs] Re: [Haiku] #9728: Webkit: missing text-shadow, box-shadow support, broken border-radius support

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 10 Jan 2021 10:45:26 -0000

#9728: Webkit: missing text-shadow, box-shadow  support, broken border-radius
support
---------------------------+----------------------------
  Reporter:  dsjonny       |      Owner:  leavengood
      Type:  bug           |     Status:  reopened
  Priority:  normal        |  Milestone:  R1
 Component:  Kits/Web Kit  |    Version:  R1/Development
Resolution:                |   Keywords:
Blocked By:  7407          |   Blocking:
  Platform:  All           |
---------------------------+----------------------------
Comment (by pulkomandy):

 This should be implemented in GraphicsContextHaiku:
 
https://github.com/haiku/webkit/blob/rebased/Source/WebCore/platform/graphics/haiku/GraphicsContextHaiku.cpp#L288

 The specific lines I linked should simply be re-enabled since we now have
 support for the composite operators.

 Similar things should be done in various other places in the
 GraphicsContext implementatiom, using the other platform implementations
 as a reference. Searching for "shadowstate" in
 
https://github.com/haiku/webkit/blob/rebased/Source/WebCore/platform/graphics/cairo/GraphicsContextImplCairo.cpp
 gives a good idea of where shadows are needed.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/9728#comment:11>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: