Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 24a47dd197933b56dd372a9c4d181515a2c60354
      
https://github.com/WebKit/WebKit/commit/24a47dd197933b56dd372a9c4d181515a2c60354
  Author: Tim Nguyen <[email protected]>
  Date:   2026-08-28 (Fri, 28 Aug 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/text-overflow-string-in-input-expected-mismatch.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/text-overflow-string-in-input-notref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/text-overflow-string-in-input.html
    M Source/WebCore/html/HTMLInputElement.cpp

  Log Message:
  -----------
  [css-overflow-4] `text-overflow: <string>` should work on `<input>`
https://bugs.webkit.org/show_bug.cgi?id=322843
rdar://186085377

Reviewed by Alan Baradlay.

Stop checking explicitly for ellipsis text-overflow, and instead check for 
non-clip text-overflow.

Transfer non-clip text-overflow value into the inner text element.

Tests: 
imported/w3c/web-platform-tests/css/css-overflow/text-overflow-string-in-input-notref.html
       
imported/w3c/web-platform-tests/css/css-overflow/text-overflow-string-in-input.html

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/text-overflow-string-in-input-expected-mismatch.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/text-overflow-string-in-input-notref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/text-overflow-string-in-input.html:
 Added.
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::shouldTruncateText const):
(WebCore::HTMLInputElement::invalidateStyleOnFocusChangeIfNeeded):
(WebCore::HTMLInputElement::createInnerTextStyle):

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



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

Reply via email to