Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(808)

Unified Diff: third_party/WebKit/Source/core/paint/FieldsetPainter.cpp

Issue 2834583005: Fix box-shadow painting for fieldset with legend, background, and border-radius (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/background/fieldset-legend-background-shadow-border-radius-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/FieldsetPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FieldsetPainter.cpp b/third_party/WebKit/Source/core/paint/FieldsetPainter.cpp
index 503063a4a231e84f07b887cd5d24b6802e04ed55..e516a87a5cdcc0ab50cb3daff4e1d4bf7e888b69 100644
--- a/third_party/WebKit/Source/core/paint/FieldsetPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FieldsetPainter.cpp
@@ -49,10 +49,8 @@ void FieldsetPainter::PaintBoxDecorationBackground(
paint_info.phase, paint_rect);
BoxDecorationData box_decoration_data(layout_fieldset_);
- if (box_decoration_data.bleed_avoidance == kBackgroundBleedNone) {
- BoxPainter::PaintNormalBoxShadow(paint_info, paint_rect,
- layout_fieldset_.StyleRef());
- }
+ BoxPainter::PaintNormalBoxShadow(paint_info, paint_rect,
+ layout_fieldset_.StyleRef());
BoxPainter(layout_fieldset_)
.PaintFillLayers(paint_info, box_decoration_data.background_color,
layout_fieldset_.Style()->BackgroundLayers(),
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/background/fieldset-legend-background-shadow-border-radius-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698