Bug 119650

Summary: Shadows (or lengths) need to support viewport units
Product: WebKit Reporter: Dean Jackson <dino>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: eoconnor, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case none

Description Dean Jackson 2013-08-09 20:25:59 PDT
Shadows currently ASSERT on viewport units because they can't convert a Length into a value. In CSSPrimitiveValue::computeLengthDouble we only have the RenderStyle, not the RenderView.
Comment 1 Radar WebKit Bug Importer 2013-08-09 20:26:12 PDT
<rdar://problem/14703586>
Comment 2 Simon Fraser (smfr) 2023-12-21 17:21:27 PST
Created attachment 469166 [details]
Test case
Comment 3 Simon Fraser (smfr) 2023-12-21 17:21:44 PST
This works now. See test case.