Closed Bug 2071796 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62668 - [css-overflow] Support text-overflow in textarea elements

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 62668 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62668
Details from upstream follow.

Minseong Kim <jja08111@gmail.com> wrote:

[css-overflow] Support text-overflow in textarea elements

Blink did not apply text-overflow to \<textarea>. The inner editor style
skipped it for multiline controls, so ellipsis or a string was never
shown. Add support behind the new TextOverflowInTextarea flag.

Key changes:

  • Apply text-overflow style to the textarea's inner editor.
  • Propagate text-overflow to the anonymous line blocks via
    UpdateAnonymousChildStyle(), since text-overflow is not inherited.
  • Mark truncated lines for layout invalidation when textarea scroll
    state changes to ensure ellipsis renders correctly.

Fixed: 556432992
Change-Id: I0ec7780ff59038413c357ccf1734f98dd9d7192a

Reviewed-on: https://chromium-review.googlesource.com/8377322
WPT-Export-Revision: f8f8e379f1161b10e1fcfbbd08d836c0a586bf12

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 898 tests and 8 subtests

Status Summary

Firefox

OK : 221
PASS : 14[GitHub] 39[Gecko-linux2204-64-wayland-debug] 40[Gecko-linux2204-64-wayland-opt] 884[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1262[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1284[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1287[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL : 366[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 586[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 589[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 609[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
TIMEOUT: 3[Gecko-linux2204-64-wayland-opt] 4[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR : 1
NOTRUN : 1

Chrome

PASS : 6
FAIL : 8

Safari

PASS : 6
FAIL : 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: