| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "core/rendering/RenderWidget.h" | 52 #include "core/rendering/RenderWidget.h" |
| 53 #include "core/rendering/svg/RenderSVGContainer.h" | 53 #include "core/rendering/svg/RenderSVGContainer.h" |
| 54 #include "core/rendering/svg/RenderSVGGradientStop.h" | 54 #include "core/rendering/svg/RenderSVGGradientStop.h" |
| 55 #include "core/rendering/svg/RenderSVGImage.h" | 55 #include "core/rendering/svg/RenderSVGImage.h" |
| 56 #include "core/rendering/svg/RenderSVGInlineText.h" | 56 #include "core/rendering/svg/RenderSVGInlineText.h" |
| 57 #include "core/rendering/svg/RenderSVGPath.h" | 57 #include "core/rendering/svg/RenderSVGPath.h" |
| 58 #include "core/rendering/svg/RenderSVGRoot.h" | 58 #include "core/rendering/svg/RenderSVGRoot.h" |
| 59 #include "core/rendering/svg/RenderSVGText.h" | 59 #include "core/rendering/svg/RenderSVGText.h" |
| 60 #include "core/rendering/svg/SVGRenderTreeAsText.h" | 60 #include "core/rendering/svg/SVGRenderTreeAsText.h" |
| 61 #include "wtf/HexNumber.h" | 61 #include "wtf/HexNumber.h" |
| 62 #include "wtf/UnusedParam.h" | |
| 63 #include "wtf/Vector.h" | 62 #include "wtf/Vector.h" |
| 64 #include "wtf/unicode/CharacterNames.h" | 63 #include "wtf/unicode/CharacterNames.h" |
| 65 | 64 |
| 66 namespace WebCore { | 65 namespace WebCore { |
| 67 | 66 |
| 68 using namespace HTMLNames; | 67 using namespace HTMLNames; |
| 69 | 68 |
| 70 static void printBorderStyle(TextStream& ts, const EBorderStyle borderStyle) | 69 static void printBorderStyle(TextStream& ts, const EBorderStyle borderStyle) |
| 71 { | 70 { |
| 72 switch (borderStyle) { | 71 switch (borderStyle) { |
| (...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 element->document().updateLayout(); | 853 element->document().updateLayout(); |
| 855 | 854 |
| 856 RenderObject* renderer = element->renderer(); | 855 RenderObject* renderer = element->renderer(); |
| 857 if (!renderer || !renderer->isListItem()) | 856 if (!renderer || !renderer->isListItem()) |
| 858 return String(); | 857 return String(); |
| 859 | 858 |
| 860 return toRenderListItem(renderer)->markerText(); | 859 return toRenderListItem(renderer)->markerText(); |
| 861 } | 860 } |
| 862 | 861 |
| 863 } // namespace WebCore | 862 } // namespace WebCore |
| OLD | NEW |