Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b4596ae8c90e243c15a3efee2d67d17d4b0e2edf
      
https://github.com/WebKit/WebKit/commit/b4596ae8c90e243c15a3efee2d67d17d4b0e2edf
  Author: Alan Baradlay <[email protected]>
  Date:   2025-10-23 (Thu, 23 Oct 2025)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/reference/text-underline-position-horizontal2-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-underline-position-horizontal2-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-underline-position-horizontal2.html
    M Source/WebCore/style/InlineTextBoxStyle.cpp

  Log Message:
  -----------
  Underline appears on top of the line instead of under in horizontal writing 
mode
https://bugs.webkit.org/show_bug.cgi?id=301358
<rdar://162551943>

Reviewed by Antti Koivisto and Elika Etemad.

In vertical writing-modes, 'text-underline-position: right' forces the line to 
be placed on the right side of the text. In horizontal writing-modes, it is a 
synonym of auto.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/reference/text-underline-position-horizontal2-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-underline-position-horizontal2-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-underline-position-horizontal2.html:
 Added.
* Source/WebCore/style/InlineTextBoxStyle.cpp:
(WebCore::computedUnderlineOffset):

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



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

Reply via email to