Bug 240638 - "-webkit-box-reflect" does not work on textarea
Summary: "-webkit-box-reflect" does not work on textarea
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 15
Hardware: All All
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-19 03:14 PDT by Chijin
Modified: 2023-09-10 04:14 PDT (History)
6 users (show)

See Also:


Attachments
webkit screenshot (87.00 KB, image/png)
2022-05-19 03:14 PDT, Chijin
no flags Details
chrome screenshot (203.13 KB, image/png)
2022-05-19 03:14 PDT, Chijin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chijin 2022-05-19 03:14:35 PDT
Created attachment 459577 [details]
webkit screenshot

reprodiciable example: https://codepen.io/chijinz/pen/eYVWrpd

code:
```
<html>
<head>
<style>
</style>
<script>
function jsfuzzer() {
document.getElementById("htmlvar00005").style["-webkit-box-reflect"] = "right"
}
</script>
</head>
<body onload=jsfuzzer()>
<textarea id="htmlvar00005">2(cag)6(Dssadalala</textarea>
</body>
</html>

```

version: all webkit products (including Safari)

description:

The textarea element does not have reflect even though the "-webkit-box-reflect" is set. Chrome works fine with it.
Comment 1 Chijin 2022-05-19 03:14:47 PDT
Created attachment 459578 [details]
chrome screenshot
Comment 2 Radar WebKit Bug Importer 2022-05-26 03:15:13 PDT
<rdar://problem/93960622>
Comment 3 Ahmad Saleem 2023-09-10 04:14:24 PDT
I am able to reproduce this bug in WebKit ToT (267839@main) as well.