Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
| diff --git a/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp b/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
| index 5f7fc8a17f3c1d09fd9f0ed2abf4569176403a33..6cb3a73041f68f4e32646b398d72dd3c8a61df53 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
| @@ -44,6 +44,7 @@ void HTMLImageFallbackHelper::createAltTextShadowTree(Element& element) |
| container->setInlineStyleProperty(CSSPropertyDisplay, CSSValueInlineBlock); |
| container->setInlineStyleProperty(CSSPropertyBoxSizing, CSSValueBorderBox); |
| container->setInlineStyleProperty(CSSPropertyPadding, 1, CSSPrimitiveValue::UnitType::Pixels); |
| + container->setInlineStyleProperty(CSSPropertyBorderRadius, ("inherit")); |
|
esprehn
2016/04/06 17:50:08
This is not right.
|
| RawPtr<HTMLImageElement> brokenImage = HTMLImageElement::create(element.document()); |
| container->appendChild(brokenImage); |