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 29 matching lines...) Expand all Loading... |
40 #include "core/layout/LayoutTableCell.h" | 40 #include "core/layout/LayoutTableCell.h" |
41 #include "core/layout/compositing/CompositedLayerMapping.h" | 41 #include "core/layout/compositing/CompositedLayerMapping.h" |
42 #include "core/layout/line/InlineTextBox.h" | 42 #include "core/layout/line/InlineTextBox.h" |
43 #include "core/layout/svg/LayoutSVGContainer.h" | 43 #include "core/layout/svg/LayoutSVGContainer.h" |
44 #include "core/layout/svg/LayoutSVGImage.h" | 44 #include "core/layout/svg/LayoutSVGImage.h" |
45 #include "core/layout/svg/LayoutSVGInlineText.h" | 45 #include "core/layout/svg/LayoutSVGInlineText.h" |
46 #include "core/layout/svg/LayoutSVGPath.h" | 46 #include "core/layout/svg/LayoutSVGPath.h" |
47 #include "core/layout/svg/LayoutSVGText.h" | 47 #include "core/layout/svg/LayoutSVGText.h" |
48 #include "core/layout/svg/SVGLayoutTreeAsText.h" | 48 #include "core/layout/svg/SVGLayoutTreeAsText.h" |
49 #include "core/page/PrintContext.h" | 49 #include "core/page/PrintContext.h" |
50 #include "core/rendering/RenderBR.h" | |
51 #include "core/rendering/RenderDetailsMarker.h" | 50 #include "core/rendering/RenderDetailsMarker.h" |
52 #include "core/rendering/RenderFileUploadControl.h" | 51 #include "core/rendering/RenderFileUploadControl.h" |
53 #include "core/rendering/RenderInline.h" | 52 #include "core/rendering/RenderInline.h" |
54 #include "core/rendering/RenderListItem.h" | 53 #include "core/rendering/RenderListItem.h" |
55 #include "core/rendering/RenderListMarker.h" | 54 #include "core/rendering/RenderListMarker.h" |
56 #include "core/rendering/RenderView.h" | 55 #include "core/rendering/RenderView.h" |
57 #include "core/rendering/svg/RenderSVGGradientStop.h" | 56 #include "core/rendering/svg/RenderSVGGradientStop.h" |
58 #include "core/rendering/svg/RenderSVGRoot.h" | 57 #include "core/rendering/svg/RenderSVGRoot.h" |
59 #include "wtf/HexNumber.h" | 58 #include "wtf/HexNumber.h" |
60 #include "wtf/Vector.h" | 59 #include "wtf/Vector.h" |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 element->document().updateLayout(); | 780 element->document().updateLayout(); |
782 | 781 |
783 LayoutObject* renderer = element->renderer(); | 782 LayoutObject* renderer = element->renderer(); |
784 if (!renderer || !renderer->isListItem()) | 783 if (!renderer || !renderer->isListItem()) |
785 return String(); | 784 return String(); |
786 | 785 |
787 return toRenderListItem(renderer)->markerText(); | 786 return toRenderListItem(renderer)->markerText(); |
788 } | 787 } |
789 | 788 |
790 } // namespace blink | 789 } // namespace blink |
OLD | NEW |