| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2007 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "RenderListItem.h" | 44 #include "RenderListItem.h" |
| 45 #include "RenderListMarker.h" | 45 #include "RenderListMarker.h" |
| 46 #include "RenderNamedFlowThread.h" | 46 #include "RenderNamedFlowThread.h" |
| 47 #include "RenderPart.h" | 47 #include "RenderPart.h" |
| 48 #include "RenderRegion.h" | 48 #include "RenderRegion.h" |
| 49 #include "RenderTableCell.h" | 49 #include "RenderTableCell.h" |
| 50 #include "RenderView.h" | 50 #include "RenderView.h" |
| 51 #include "RenderWidget.h" | 51 #include "RenderWidget.h" |
| 52 #include "StylePropertySet.h" | 52 #include "StylePropertySet.h" |
| 53 #include <wtf/HexNumber.h> | 53 #include <wtf/HexNumber.h> |
| 54 #include <wtf/unicode/CharacterNames.h> |
| 54 #include <wtf/UnusedParam.h> | 55 #include <wtf/UnusedParam.h> |
| 55 #include <wtf/Vector.h> | 56 #include <wtf/Vector.h> |
| 56 #include <wtf/unicode/CharacterNames.h> | |
| 57 | 57 |
| 58 #if ENABLE(SVG) | 58 #if ENABLE(SVG) |
| 59 #include "RenderSVGContainer.h" | 59 #include "core/rendering/svg/RenderSVGContainer.h" |
| 60 #include "RenderSVGGradientStop.h" | 60 #include "core/rendering/svg/RenderSVGGradientStop.h" |
| 61 #include "RenderSVGImage.h" | 61 #include "core/rendering/svg/RenderSVGImage.h" |
| 62 #include "RenderSVGInlineText.h" | 62 #include "core/rendering/svg/RenderSVGInlineText.h" |
| 63 #include "RenderSVGPath.h" | 63 #include "core/rendering/svg/RenderSVGPath.h" |
| 64 #include "RenderSVGRoot.h" | 64 #include "core/rendering/svg/RenderSVGRoot.h" |
| 65 #include "RenderSVGText.h" | 65 #include "core/rendering/svg/RenderSVGText.h" |
| 66 #include "SVGRenderTreeAsText.h" | 66 #include "core/rendering/svg/SVGRenderTreeAsText.h" |
| 67 #endif | 67 #endif |
| 68 | 68 |
| 69 | 69 |
| 70 namespace WebCore { | 70 namespace WebCore { |
| 71 | 71 |
| 72 using namespace HTMLNames; | 72 using namespace HTMLNames; |
| 73 | 73 |
| 74 static void writeLayers(TextStream&, const RenderLayer* rootLayer, RenderLayer*,
const LayoutRect& paintDirtyRect, int indent = 0, RenderAsTextBehavior = Render
AsTextBehaviorNormal); | 74 static void writeLayers(TextStream&, const RenderLayer* rootLayer, RenderLayer*,
const LayoutRect& paintDirtyRect, int indent = 0, RenderAsTextBehavior = Render
AsTextBehaviorNormal); |
| 75 | 75 |
| 76 TextStream& operator<<(TextStream& ts, const IntRect& r) | 76 TextStream& operator<<(TextStream& ts, const IntRect& r) |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 element->document()->updateLayout(); | 886 element->document()->updateLayout(); |
| 887 | 887 |
| 888 RenderObject* renderer = element->renderer(); | 888 RenderObject* renderer = element->renderer(); |
| 889 if (!renderer || !renderer->isListItem()) | 889 if (!renderer || !renderer->isListItem()) |
| 890 return String(); | 890 return String(); |
| 891 | 891 |
| 892 return toRenderListItem(renderer)->markerText(); | 892 return toRenderListItem(renderer)->markerText(); |
| 893 } | 893 } |
| 894 | 894 |
| 895 } // namespace WebCore | 895 } // namespace WebCore |
| OLD | NEW |