[Webkit-unassigned] [Bug 212197] New: Rendering artifacts on contenteditable element with box-shadow and outline
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 21 04:37:01 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212197
Bug ID: 212197
Summary: Rendering artifacts on contenteditable element with
box-shadow and outline
Product: WebKit
Version: Safari 13
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: robbert.brak at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 399950
--> https://bugs.webkit.org/attachment.cgi?id=399950&action=review
Rendering artifacts
To reproduce:
1) Create a page with the following HTML:
<div class="editor" contenteditable="true" />
and the following CSS:
.editor {
width: 400px;
min-height: 40px;
border: 1px solid blue;
border-radius: 2px;
box-shadow: 0 0 4px rgba(51,136,221,0.5);
outline: 4px solid transparent;
padding: 4px;
}
See also https://codepen.io/rubrick/pen/rNOPLGW.
2) Put the cursor in the contenteditable box and press <enter> a few times.
Result: rendering artifacts appear along the edges of the box, as seen in the attachment. These artifacts disappear when you resize the browser.
--
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/20200521/2ca9d184/attachment-0001.htm>
More information about the webkit-unassigned
mailing list