From 0bbf271f115a429b62a4aff3bb2ec71c16f10833 Mon Sep 17 00:00:00 2001 From: Ojan Vafai Date: Mon, 26 Jan 2015 22:45:30 -0800 Subject: [PATCH] Fix border painting on self-painting layers. Commit efc3afd428bd85fd3d12e0dc941b5eb7248ca30b broke it because we'd computed an empty foreground layer. Now that background painting is part of the foreground phase, we need to use the background rect for clipping. As best I can tell, the background rect is always >= the size of the foreground rect, so it should be safe to use. R=abarth@chromium.org Review URL: https://codereview.chromium.org/876243002 --- engine/src/flutter/examples/flights-app/app-toast.sky | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/examples/flights-app/app-toast.sky b/engine/src/flutter/examples/flights-app/app-toast.sky index 4e06178e147..d7c1c5ae597 100644 --- a/engine/src/flutter/examples/flights-app/app-toast.sky +++ b/engine/src/flutter/examples/flights-app/app-toast.sky @@ -16,6 +16,7 @@ display: flex; align-items: center; font-size: 0.8em; + overflow: hidden; } .header {