Bug 216321

Summary: Wrapping placeholder does not render completely in textarea, after backspacing all characters
Product: WebKit Reporter: asefkow
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez, wenson_hsieh
Priority: P2    
Version: Safari 13   
Hardware: Mac   
OS: macOS 10.15   
Attachments:
Description Flags
test case none

Description asefkow 2020-09-09 12:09:17 PDT
Created attachment 408357 [details]
test case

See attached.  Type a character into the text area, then delete that character using backspace.  The placeholder text does not render completely.

<html>

<head>
    <title>Test</title>
    <style>
        textarea {
            font-size: 14px;
            font-family: -apple-system, 'Helvetica Neue', sans-serif;
            width: 300px;
            height: 60px;
            margin-top: 16px;
        }
    </style>
</head>

<body>
    <div>
        Type "a" into the textarea, then press backspace. Note the placeholder text
    </div>
    <textarea placeholder="This is a multi line placeholder that should wrap and take up around two lines."></textarea>
</body>

</html>
Comment 1 Alexey Proskuryakov 2020-09-09 15:26:50 PDT

*** This bug has been marked as a duplicate of bug 156399 ***