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

Side by Side Diff: Source/core/layout/style/SVGLayoutStyleDefs.cpp

Issue 975733002: Use Length for the stroke-dasharray property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test for style-change responsive-ness. Created 5 years, 9 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 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 2004, 2005, 2007 Rob Buis <buis@kde.org> 3 2004, 2005, 2007 Rob Buis <buis@kde.org>
4 Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 5
6 Based on khtml code by: 6 Based on khtml code by:
7 Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) 7 Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
8 Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) 8 Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org)
9 Copyright (C) 2002-2003 Dirk Mueller (mueller@kde.org) 9 Copyright (C) 2002-2003 Dirk Mueller (mueller@kde.org)
10 Copyright (C) 2002 Apple Computer, Inc. 10 Copyright (C) 2002 Apple Computer, Inc.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 , visitedLinkPaintUri(SVGLayoutStyle::initialStrokePaintUri()) 80 , visitedLinkPaintUri(SVGLayoutStyle::initialStrokePaintUri())
81 { 81 {
82 } 82 }
83 83
84 StyleStrokeData::StyleStrokeData(const StyleStrokeData& other) 84 StyleStrokeData::StyleStrokeData(const StyleStrokeData& other)
85 : RefCounted<StyleStrokeData>() 85 : RefCounted<StyleStrokeData>()
86 , opacity(other.opacity) 86 , opacity(other.opacity)
87 , miterLimit(other.miterLimit) 87 , miterLimit(other.miterLimit)
88 , width(other.width->clone()) 88 , width(other.width->clone())
89 , dashOffset(other.dashOffset) 89 , dashOffset(other.dashOffset)
90 , dashArray(other.dashArray->clone()) 90 , dashArray(other.dashArray)
91 , paintType(other.paintType) 91 , paintType(other.paintType)
92 , paintColor(other.paintColor) 92 , paintColor(other.paintColor)
93 , paintUri(other.paintUri) 93 , paintUri(other.paintUri)
94 , visitedLinkPaintType(other.visitedLinkPaintType) 94 , visitedLinkPaintType(other.visitedLinkPaintType)
95 , visitedLinkPaintColor(other.visitedLinkPaintColor) 95 , visitedLinkPaintColor(other.visitedLinkPaintColor)
96 , visitedLinkPaintUri(other.visitedLinkPaintUri) 96 , visitedLinkPaintUri(other.visitedLinkPaintUri)
97 { 97 {
98 } 98 }
99 99
100 bool StyleStrokeData::operator==(const StyleStrokeData& other) const 100 bool StyleStrokeData::operator==(const StyleStrokeData& other) const
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 bool StyleLayoutData::operator==(const StyleLayoutData& other) const 225 bool StyleLayoutData::operator==(const StyleLayoutData& other) const
226 { 226 {
227 return x == other.x 227 return x == other.x
228 && y == other.y 228 && y == other.y
229 && rx == other.rx 229 && rx == other.rx
230 && ry == other.ry; 230 && ry == other.ry;
231 } 231 }
232 232
233 } 233 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698