| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #include "core/rendering/RenderTextFragment.h" | 65 #include "core/rendering/RenderTextFragment.h" |
| 66 #include "core/rendering/RenderView.h" | 66 #include "core/rendering/RenderView.h" |
| 67 #include "core/rendering/RenderWidget.h" | 67 #include "core/rendering/RenderWidget.h" |
| 68 #include "core/svg/SVGDocument.h" | 68 #include "core/svg/SVGDocument.h" |
| 69 #include "core/svg/SVGSVGElement.h" | 69 #include "core/svg/SVGSVGElement.h" |
| 70 #include "core/svg/graphics/SVGImage.h" | 70 #include "core/svg/graphics/SVGImage.h" |
| 71 #include "platform/text/PlatformLocale.h" | 71 #include "platform/text/PlatformLocale.h" |
| 72 #include "wtf/StdLibExtras.h" | 72 #include "wtf/StdLibExtras.h" |
| 73 | 73 |
| 74 using blink::WebLocalizedString; | 74 using blink::WebLocalizedString; |
| 75 using namespace std; | |
| 76 | 75 |
| 77 namespace WebCore { | 76 namespace WebCore { |
| 78 | 77 |
| 79 using namespace HTMLNames; | 78 using namespace HTMLNames; |
| 80 | 79 |
| 81 static inline RenderObject* firstChildInContinuation(RenderObject* renderer) | 80 static inline RenderObject* firstChildInContinuation(RenderObject* renderer) |
| 82 { | 81 { |
| 83 RenderObject* r = toRenderInline(renderer)->continuation(); | 82 RenderObject* r = toRenderInline(renderer)->continuation(); |
| 84 | 83 |
| 85 while (r) { | 84 while (r) { |
| (...skipping 2257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2343 if (label && label->renderer()) { | 2342 if (label && label->renderer()) { |
| 2344 LayoutRect labelRect = axObjectCache()->getOrCreate(label)->elementR
ect(); | 2343 LayoutRect labelRect = axObjectCache()->getOrCreate(label)->elementR
ect(); |
| 2345 result.unite(labelRect); | 2344 result.unite(labelRect); |
| 2346 } | 2345 } |
| 2347 } | 2346 } |
| 2348 | 2347 |
| 2349 return result; | 2348 return result; |
| 2350 } | 2349 } |
| 2351 | 2350 |
| 2352 } // namespace WebCore | 2351 } // namespace WebCore |
| OLD | NEW |