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 8994abc89d7d3e8b5f940a23debdd022b3592f41..a21b8940f7853c8b074b58feac1ae78c4af04d40 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, AtomicString("inherit", AtomicString::ConstructFromLiteral)); |
|
pdr.
2016/03/31 04:20:11
I still don't see why this is needed. Which test f
Miyoung Shin(c)
2016/04/03 14:39:25
border-hittest-with-image-fallback.html is failed
|
| RefPtrWillBeRawPtr<HTMLImageElement> brokenImage = HTMLImageElement::create(element.document()); |
| container->appendChild(brokenImage); |