Bug 119650 - Shadows (or lengths) need to support viewport units
Summary: Shadows (or lengths) need to support viewport units
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-08-09 20:25 PDT by Dean Jackson
Modified: 2023-12-21 17:21 PST (History)
3 users (show)

See Also:


Attachments
Test case (428 bytes, text/html)
2023-12-21 17:21 PST, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.