Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: Source/core/rendering/RenderDeprecatedFlexibleBox.cpp

Issue 571603003: Convert first letter into a pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * This file is part of the render object implementation for KHTML. 2 * This file is part of the render object implementation for KHTML.
3 * 3 *
4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
5 * (C) 1999 Antti Koivisto (koivisto@kde.org) 5 * (C) 1999 Antti Koivisto (koivisto@kde.org)
6 * Copyright (C) 2003 Apple Computer, Inc. 6 * Copyright (C) 2003 Apple Computer, Inc.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 return "RenderDeprecatedFlexibleBox (positioned)"; 1060 return "RenderDeprecatedFlexibleBox (positioned)";
1061 // FIXME: Cleanup isPseudoElement duplication with other renderName methods. 1061 // FIXME: Cleanup isPseudoElement duplication with other renderName methods.
1062 // crbug.com/415653 1062 // crbug.com/415653
1063 if (isPseudoElement()) { 1063 if (isPseudoElement()) {
1064 if (style()->styleType() == BEFORE) 1064 if (style()->styleType() == BEFORE)
1065 return "RenderDeprecatedFlexibleBox (pseudo:before)"; 1065 return "RenderDeprecatedFlexibleBox (pseudo:before)";
1066 if (style()->styleType() == AFTER) 1066 if (style()->styleType() == AFTER)
1067 return "RenderDeprecatedFlexibleBox (pseudo:after)"; 1067 return "RenderDeprecatedFlexibleBox (pseudo:after)";
1068 if (style()->styleType() == BACKDROP) 1068 if (style()->styleType() == BACKDROP)
1069 return "RenderDeprecatedFlexibleBox (pseudo:backdrop)"; 1069 return "RenderDeprecatedFlexibleBox (pseudo:backdrop)";
1070 if (style()->styleType() == FIRST_LETTER)
1071 return "RenderDeprecatedFlexibleBox (pseudo:first-letter)";
1070 ASSERT_NOT_REACHED(); 1072 ASSERT_NOT_REACHED();
1071 } 1073 }
1072 if (isAnonymous()) 1074 if (isAnonymous())
1073 return "RenderDeprecatedFlexibleBox (generated)"; 1075 return "RenderDeprecatedFlexibleBox (generated)";
1074 if (isRelPositioned()) 1076 if (isRelPositioned())
1075 return "RenderDeprecatedFlexibleBox (relative positioned)"; 1077 return "RenderDeprecatedFlexibleBox (relative positioned)";
1076 return "RenderDeprecatedFlexibleBox"; 1078 return "RenderDeprecatedFlexibleBox";
1077 } 1079 }
1078 1080
1079 } // namespace blink 1081 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698