[Webkit-unassigned] [Bug 276294] New: Remove `overflow: auto` for `textarea` from `StyleAdjuster.cpp`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jul 6 19:21:11 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=276294
Bug ID: 276294
Summary: Remove `overflow: auto` for `textarea` from
`StyleAdjuster.cpp`
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
CC: annevk at annevk.nl, ntim at apple.com
Hi Team,
While exploring WPT failures on InterOp 2023, I noticed that we fail one test (also Chrome) for textarea:
http://wpt.live/html/rendering/non-replaced-elements/form-controls/resets.html
> <textarea> - overflow
and noticed that we have following in `StyleAdjuster.cpp`:
https://searchfox.org/wubkat/rev/426186a23c4afc5565407d381766d9cfb9620156/Source/WebCore/style/StyleAdjuster.cpp#570
Remove this:
// Textarea considers overflow visible as auto.
if (is<HTMLTextAreaElement>(*m_element)) {
style.setOverflowX(style.overflowX() == Overflow::Visible ? Overflow::Auto : style.overflowX());
style.setOverflowY(style.overflowY() == Overflow::Visible ? Overflow::Auto : style.overflowY());
}
and we progress above but I tried to find reference in HTML WHATWG but couldn't manage to find it.
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240707/ddc44ba7/attachment-0001.htm>
More information about the webkit-unassigned
mailing list