OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/html/HTMLImageFallbackHelper.h" | 5 #include "core/html/HTMLImageFallbackHelper.h" |
6 | 6 |
7 #include "core/HTMLNames.h" | 7 #include "core/HTMLNames.h" |
8 #include "core/InputTypeNames.h" | 8 #include "core/InputTypeNames.h" |
9 #include "core/dom/ElementRareData.h" | 9 #include "core/dom/ElementRareData.h" |
10 #include "core/dom/Text.h" | 10 #include "core/dom/Text.h" |
11 #include "core/dom/shadow/ShadowRoot.h" | 11 #include "core/dom/shadow/ShadowRoot.h" |
12 #include "core/fetch/ImageResource.h" | |
13 #include "core/html/HTMLDivElement.h" | 12 #include "core/html/HTMLDivElement.h" |
14 #include "core/html/HTMLElement.h" | 13 #include "core/html/HTMLElement.h" |
15 #include "core/html/HTMLImageElement.h" | 14 #include "core/html/HTMLImageElement.h" |
16 #include "core/html/HTMLImageLoader.h" | 15 #include "core/html/HTMLImageLoader.h" |
17 #include "core/html/HTMLInputElement.h" | 16 #include "core/html/HTMLInputElement.h" |
18 #include "core/html/HTMLStyleElement.h" | 17 #include "core/html/HTMLStyleElement.h" |
19 #include "wtf/text/StringBuilder.h" | 18 #include "wtf/text/StringBuilder.h" |
20 | 19 |
21 namespace blink { | 20 namespace blink { |
22 | 21 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // managed by LayoutImage. | 129 // managed by LayoutImage. |
131 if (noImageSourceSpecified(element)) | 130 if (noImageSourceSpecified(element)) |
132 brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone); | 131 brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone); |
133 else | 132 else |
134 brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueInline); | 133 brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueInline); |
135 | 134 |
136 return newStyle; | 135 return newStyle; |
137 } | 136 } |
138 | 137 |
139 } // namespace blink | 138 } // namespace blink |
OLD | NEW |