Bug 106959

Summary: Reflections should force transform-style to be flat
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dino, menard, simon.fraser, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2013-01-15 16:38:50 PST
Reflections, like opacity and filters, should force transform-style to be flat. It would go here in StyleResolver::adjustRenderStyle(): // FIXME: when dropping the -webkit prefix on transform-style, we should also have opacity < 1 cause flattening. if (style->preserves3D() && (style->overflowX() != OVISIBLE || style->overflowY() != OVISIBLE || style->hasFilter())) style->setTransformStyle3D(TransformStyle3DFlat);
Attachments
Note You need to log in before you can comment on or make changes to this bug.