| 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 21 matching lines...) Expand all Loading... |
| 32 #include "core/accessibility/AXObjectCache.h" | 32 #include "core/accessibility/AXObjectCache.h" |
| 33 #include "core/accessibility/AccessibilityImageMapLink.h" | 33 #include "core/accessibility/AccessibilityImageMapLink.h" |
| 34 #include "core/accessibility/AccessibilitySVGRoot.h" | 34 #include "core/accessibility/AccessibilitySVGRoot.h" |
| 35 #include "core/accessibility/AccessibilitySpinButton.h" | 35 #include "core/accessibility/AccessibilitySpinButton.h" |
| 36 #include "core/accessibility/AccessibilityTable.h" | 36 #include "core/accessibility/AccessibilityTable.h" |
| 37 #include "core/dom/NodeTraversal.h" | 37 #include "core/dom/NodeTraversal.h" |
| 38 #include "core/editing/FrameSelection.h" | 38 #include "core/editing/FrameSelection.h" |
| 39 #include "core/editing/RenderedPosition.h" | 39 #include "core/editing/RenderedPosition.h" |
| 40 #include "core/editing/VisibleUnits.h" | 40 #include "core/editing/VisibleUnits.h" |
| 41 #include "core/editing/htmlediting.h" | 41 #include "core/editing/htmlediting.h" |
| 42 #include "core/html/HTMLFormElement.h" | |
| 43 #include "core/html/HTMLImageElement.h" | 42 #include "core/html/HTMLImageElement.h" |
| 44 #include "core/html/HTMLLabelElement.h" | 43 #include "core/html/HTMLLabelElement.h" |
| 45 #include "core/html/HTMLOptionElement.h" | 44 #include "core/html/HTMLOptionElement.h" |
| 46 #include "core/html/HTMLSelectElement.h" | 45 #include "core/html/HTMLSelectElement.h" |
| 47 #include "core/html/HTMLTextAreaElement.h" | 46 #include "core/html/HTMLTextAreaElement.h" |
| 48 #include "core/loader/ProgressTracker.h" | 47 #include "core/loader/ProgressTracker.h" |
| 49 #include "core/page/Page.h" | 48 #include "core/page/Page.h" |
| 50 #include "core/platform/LocalizedStrings.h" | 49 #include "core/platform/LocalizedStrings.h" |
| 51 #include "core/rendering/HitTestResult.h" | 50 #include "core/rendering/HitTestResult.h" |
| 52 #include "core/rendering/RenderFieldset.h" | 51 #include "core/rendering/RenderFieldset.h" |
| 53 #include "core/rendering/RenderFileUploadControl.h" | 52 #include "core/rendering/RenderFileUploadControl.h" |
| 54 #include "core/rendering/RenderHTMLCanvas.h" | 53 #include "core/rendering/RenderHTMLCanvas.h" |
| 55 #include "core/rendering/RenderImage.h" | 54 #include "core/rendering/RenderImage.h" |
| 56 #include "core/rendering/RenderInline.h" | 55 #include "core/rendering/RenderInline.h" |
| 57 #include "core/rendering/RenderLayer.h" | 56 #include "core/rendering/RenderLayer.h" |
| 58 #include "core/rendering/RenderListMarker.h" | 57 #include "core/rendering/RenderListMarker.h" |
| 59 #include "core/rendering/RenderMenuList.h" | 58 #include "core/rendering/RenderMenuList.h" |
| 60 #include "core/rendering/RenderTextControlSingleLine.h" | 59 #include "core/rendering/RenderTextControlSingleLine.h" |
| 61 #include "core/rendering/RenderTextFragment.h" | 60 #include "core/rendering/RenderTextFragment.h" |
| 62 #include "core/rendering/RenderWidget.h" | 61 #include "core/rendering/RenderWidget.h" |
| 63 #include "core/svg/SVGDocument.h" | 62 #include "core/svg/SVGDocument.h" |
| 64 #include "core/svg/SVGSVGElement.h" | 63 #include "core/svg/SVGSVGElement.h" |
| 65 #include "core/svg/graphics/SVGImage.h" | 64 #include "core/svg/graphics/SVGImage.h" |
| 66 #include "core/svg/graphics/SVGImageChromeClient.h" | 65 #include "wtf/StdLibExtras.h" |
| 67 #include <wtf/StdLibExtras.h> | |
| 68 #include <wtf/text/StringBuilder.h> | |
| 69 #include <wtf/unicode/CharacterNames.h> | |
| 70 | 66 |
| 71 using namespace std; | 67 using namespace std; |
| 72 | 68 |
| 73 namespace WebCore { | 69 namespace WebCore { |
| 74 | 70 |
| 75 using namespace HTMLNames; | 71 using namespace HTMLNames; |
| 76 | 72 |
| 77 static inline RenderObject* firstChildInContinuation(RenderObject* renderer) | 73 static inline RenderObject* firstChildInContinuation(RenderObject* renderer) |
| 78 { | 74 { |
| 79 RenderObject* r = toRenderInline(renderer)->continuation(); | 75 RenderObject* r = toRenderInline(renderer)->continuation(); |
| (...skipping 2453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2533 if (label && label->renderer()) { | 2529 if (label && label->renderer()) { |
| 2534 LayoutRect labelRect = axObjectCache()->getOrCreate(label)->elementR
ect(); | 2530 LayoutRect labelRect = axObjectCache()->getOrCreate(label)->elementR
ect(); |
| 2535 result.unite(labelRect); | 2531 result.unite(labelRect); |
| 2536 } | 2532 } |
| 2537 } | 2533 } |
| 2538 | 2534 |
| 2539 return result; | 2535 return result; |
| 2540 } | 2536 } |
| 2541 | 2537 |
| 2542 } // namespace WebCore | 2538 } // namespace WebCore |
| OLD | NEW |