| Summary: | Some compositing reflections tests are broken | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
| Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, darin, esprehn+autocc, glenn, kondapallykalyan, simon.fraser | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Simon Fraser (smfr)
2014-12-22 17:27:55 PST
PlatformCALayerMac::updateCustomAppearance() nukes the background color under ScrollbarThemeMac::removeOverhangAreaBackground(). Created attachment 244104 [details]
Patch
Comment on attachment 244104 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=244104&action=review > Source/WebCore/rendering/RenderGeometryMap.cpp:143 > +// ASSERT(enclosingIntRect(rendererMappedResult) == enclosingIntRect(FloatQuad(result).boundingBox())); > + if (enclosingIntRect(rendererMappedResult) != enclosingIntRect(FloatQuad(result).boundingBox())) > + WTFLogAlways("Wah\n"); Ignore this bit. Comment on attachment 244104 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=244104&action=review > Source/WebCore/ChangeLog:9 > + color via resetting the custom appearance on the clone. Fix by having And it's OK to do this because we won't have reflections on custom appearance'd things? Can we add an assertion to that effect? > Source/WebCore/rendering/RenderGeometryMap.cpp:141 > +// ASSERT(enclosingIntRect(rendererMappedResult) == enclosingIntRect(FloatQuad(result).boundingBox())); no. > Source/WebCore/rendering/RenderGeometryMap.cpp:143 > + WTFLogAlways("Wah\n"); no. (In reply to comment #4) > Comment on attachment 244104 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=244104&action=review > > > Source/WebCore/ChangeLog:9 > > + color via resetting the custom appearance on the clone. Fix by having > > And it's OK to do this because we won't have reflections on custom > appearance'd things? Can we add an assertion to that effect? We are actually just copying over the custom appearance from the original. |