Skip to content

Commit

Permalink
8334124: Rendering issues with CSS "text-shadow" in WebView
Browse files Browse the repository at this point in the history
  • Loading branch information
Schmidor committed Aug 27, 2024
1 parent b88ac04 commit e86686e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,11 @@ void GraphicsContextJava::didUpdateState(GraphicsContextState& state)
if (dropShadowOpt.has_value()) {
const auto& dropShadow = dropShadowOpt.value();
setPlatformShadow(dropShadow.offset,dropShadow.radius, dropShadow.color);
} else {
float clr = 0.0f;
platformContext()->rq().freeSpace(32)
<< (jint)com_sun_webkit_graphics_GraphicsDecoder_SETSHADOW
<< clr << clr << clr << clr << clr << clr << clr;;
}
}

Expand Down

0 comments on commit e86686e

Please sign in to comment.