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

Side by Side Diff: third_party/WebKit/Source/core/style/SVGComputedStyle.h

Issue 2019993003: Set "auto" as default for rx and ry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added CSS Parsing Created 4 years, 6 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
OLDNEW
1 /* 1 /*
2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 2004, 2005 Rob Buis <buis@kde.org> 3 2004, 2005 Rob Buis <buis@kde.org>
4 Copyright (C) 2005, 2006 Apple Computer, Inc. 4 Copyright (C) 2005, 2006 Apple Computer, Inc.
5 Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 6
7 This library is free software; you can redistribute it and/or 7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public 8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either 9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version. 10 version 2 of the License, or (at your option) any later version.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 static const AtomicString& initialMarkerMidResource() { return nullAtom; } 90 static const AtomicString& initialMarkerMidResource() { return nullAtom; }
91 static const AtomicString& initialMarkerEndResource() { return nullAtom; } 91 static const AtomicString& initialMarkerEndResource() { return nullAtom; }
92 static EMaskType initialMaskType() { return MT_LUMINANCE; } 92 static EMaskType initialMaskType() { return MT_LUMINANCE; }
93 static EPaintOrder initialPaintOrder() { return PaintOrderNormal; } 93 static EPaintOrder initialPaintOrder() { return PaintOrderNormal; }
94 static StylePath* initialD() { return nullptr; } 94 static StylePath* initialD() { return nullptr; }
95 static Length initialCx() { return Length(Fixed); } 95 static Length initialCx() { return Length(Fixed); }
96 static Length initialCy() { return Length(Fixed); } 96 static Length initialCy() { return Length(Fixed); }
97 static Length initialX() { return Length(Fixed); } 97 static Length initialX() { return Length(Fixed); }
98 static Length initialY() { return Length(Fixed); } 98 static Length initialY() { return Length(Fixed); }
99 static Length initialR() { return Length(Fixed); } 99 static Length initialR() { return Length(Fixed); }
100 static Length initialRx() { return Length(Fixed); } 100 static Length initialRx() { return Length(Auto); }
101 static Length initialRy() { return Length(Fixed); } 101 static Length initialRy() { return Length(Auto); }
102 102
103 // SVG CSS Property setters 103 // SVG CSS Property setters
104 void setAlignmentBaseline(EAlignmentBaseline val) { svg_noninherited_flags.f .alignmentBaseline = val; } 104 void setAlignmentBaseline(EAlignmentBaseline val) { svg_noninherited_flags.f .alignmentBaseline = val; }
105 void setDominantBaseline(EDominantBaseline val) { svg_inherited_flags.domina ntBaseline = val; } 105 void setDominantBaseline(EDominantBaseline val) { svg_inherited_flags.domina ntBaseline = val; }
106 void setBaselineShift(EBaselineShift val) { svg_noninherited_flags.f.baselin eShift = val; } 106 void setBaselineShift(EBaselineShift val) { svg_noninherited_flags.f.baselin eShift = val; }
107 void setVectorEffect(EVectorEffect val) { svg_noninherited_flags.f.vectorEff ect = val; } 107 void setVectorEffect(EVectorEffect val) { svg_noninherited_flags.f.vectorEff ect = val; }
108 void setBufferedRendering(EBufferedRendering val) { svg_noninherited_flags.f .bufferedRendering = val; } 108 void setBufferedRendering(EBufferedRendering val) { svg_noninherited_flags.f .bufferedRendering = val; }
109 void setCapStyle(LineCap val) { svg_inherited_flags.capStyle = val; } 109 void setCapStyle(LineCap val) { svg_inherited_flags.capStyle = val; }
110 void setClipRule(WindRule val) { svg_inherited_flags.clipRule = val; } 110 void setClipRule(WindRule val) { svg_inherited_flags.clipRule = val; }
111 void setColorInterpolation(EColorInterpolation val) { svg_inherited_flags.co lorInterpolation = val; } 111 void setColorInterpolation(EColorInterpolation val) { svg_inherited_flags.co lorInterpolation = val; }
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 svg_noninherited_flags.f.baselineShift = initialBaselineShift(); 487 svg_noninherited_flags.f.baselineShift = initialBaselineShift();
488 svg_noninherited_flags.f.vectorEffect = initialVectorEffect(); 488 svg_noninherited_flags.f.vectorEffect = initialVectorEffect();
489 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); 489 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering();
490 svg_noninherited_flags.f.maskType = initialMaskType(); 490 svg_noninherited_flags.f.maskType = initialMaskType();
491 } 491 }
492 }; 492 };
493 493
494 } // namespace blink 494 } // namespace blink
495 495
496 #endif // SVGComputedStyle_h 496 #endif // SVGComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp ('k') | third_party/WebKit/Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698