| Index: Source/core/html/HTMLImageElement.cpp
|
| diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
|
| index 42284dad9ce7057d9197d4d93ed4e9993bcca952..516fa7deea4eec46cc4f729afb89b0f56499df96 100644
|
| --- a/Source/core/html/HTMLImageElement.cpp
|
| +++ b/Source/core/html/HTMLImageElement.cpp
|
| @@ -449,6 +449,7 @@ void HTMLImageElement::setWidth(int value)
|
|
|
| int HTMLImageElement::x() const
|
| {
|
| + document().updateLayoutIgnorePendingStylesheets();
|
| RenderObject* r = renderer();
|
| if (!r)
|
| return 0;
|
| @@ -460,6 +461,7 @@ int HTMLImageElement::x() const
|
|
|
| int HTMLImageElement::y() const
|
| {
|
| + document().updateLayoutIgnorePendingStylesheets();
|
| RenderObject* r = renderer();
|
| if (!r)
|
| return 0;
|
|
|