Bug 156744

Summary: text-shadow inside background-size cover shows extra shadow artifact
Product: WebKit Reporter: Mike Griffith <bikegriffith>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: mmaxfield, simon.fraser, zalan
Priority: P2    
Version: Safari 9   
Hardware: iPhone / iPad   
OS: iOS 9.3   
Description Flags
Screenshot showing extra shadow artifact
Test reduction none

Description Mike Griffith 2016-04-19 06:52:33 PDT
Created attachment 276723 [details]
Screenshot showing extra shadow artifact

The following CSS rules cause an additional shadow to be applied around a box that is not accounted for by any of the elements.

  <div style="padding:100px 0;
    <h1 style="font-weight:100;
               text-shadow:0 0 10px rgba(0,0,0,0.5);">Meet the Team</h1>

Runnable example: https://output.jsbin.com/govopuzape

NOTE: I cannot reproduce this inside the iOS simulator; it only appears on a physical device (iPhone 6 / iOS 9.3).
Comment 1 zalan 2016-04-21 20:28:10 PDT
Created attachment 277001 [details]
Test reduction
Comment 2 zalan 2016-04-21 20:32:21 PDT
When either the text (size position) or the text-shadow change, the artifact changes too. Also it can be clipped out with overflow hidden.