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

Side by Side Diff: Source/WebCore/rendering/mathml/RenderMathMLSubSup.h

Issue 11418230: Merge 133221 - REGRESSION (r128837): mathml/presentation/subsup.xhtml became flaky (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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
« no previous file with comments | « no previous file | Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Alex Milowski (alex@milowski.com). All rights reserved. 2 * Copyright (C) 2010 Alex Milowski (alex@milowski.com). 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 26 matching lines...) Expand all
37 public: 37 public:
38 RenderMathMLSubSup(Element*); 38 RenderMathMLSubSup(Element*);
39 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0); 39 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
40 40
41 virtual RenderMathMLOperator* unembellishedOperator(); 41 virtual RenderMathMLOperator* unembellishedOperator();
42 42
43 protected: 43 protected:
44 virtual void layout(); 44 virtual void layout();
45 45
46 private: 46 private:
47 void fixScriptsStyle(); 47 void fixAnonymousStyles();
48 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE; 48 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE;
49 49
50 virtual const char* renderName() const { return "RenderMathMLSubSup"; } 50 virtual const char* renderName() const { return "RenderMathMLSubSup"; }
51 51
52 // Omit our subscript and/or superscript. This may return 0 for a non-MathML base (which 52 // Omit our subscript and/or superscript. This may return 0 for a non-MathML base (which
53 // won't occur in valid MathML). 53 // won't occur in valid MathML).
54 RenderBoxModelObject* base() const; 54 RenderBoxModelObject* base() const;
55 55
56 enum SubSupType { Sub, Super, SubSup }; 56 enum SubSupType { Sub, Super, SubSup };
57 SubSupType m_kind; 57 SubSupType m_kind;
58 RenderMathMLBlock* m_scripts; 58 RenderMathMLBlock* m_scripts;
59 }; 59 };
60 60
61 } 61 }
62 62
63 #endif // ENABLE(MATHML) 63 #endif // ENABLE(MATHML)
64 64
65 #endif // RenderMathMLSubSup_h 65 #endif // RenderMathMLSubSup_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698