Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a787642717c38407728df6739d096e868793dc57
      
https://github.com/WebKit/WebKit/commit/a787642717c38407728df6739d096e868793dc57
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-02-22 (Sun, 22 Feb 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp

  Log Message:
  -----------
  Fix MathML fraction bar not painted when thickness equals width
https://bugs.webkit.org/show_bug.cgi?id=308440
rdar://170934351

Reviewed by Frédéric Wang.

GraphicsContext::drawLine() misidentifies horizontal lines as
vertical when stroke thickness equals the distance between
endpoints. This causes the fraction bar to not render when
FractionRuleThickness produces a thickness equal to the bar
width.

Replace drawLine() with fillRect() to draw the fraction bar
as an explicit rectangle, avoiding the heuristic entirely.

* LayoutTests/TestExpectations: Progressions
* Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp:
(WebCore::RenderMathMLFraction::paint):

Canonical link: https://commits.webkit.org/308025@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to