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

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 203273003: Underline Thickness is not uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/rendering/InlineBox.h » ('j') | Source/core/rendering/InlineBox.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
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 Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 case TextDecorationStyleSolid: 1265 case TextDecorationStyleSolid:
1266 return cssValuePool().createIdentifierValue(CSSValueSolid); 1266 return cssValuePool().createIdentifierValue(CSSValueSolid);
1267 case TextDecorationStyleDouble: 1267 case TextDecorationStyleDouble:
1268 return cssValuePool().createIdentifierValue(CSSValueDouble); 1268 return cssValuePool().createIdentifierValue(CSSValueDouble);
1269 case TextDecorationStyleDotted: 1269 case TextDecorationStyleDotted:
1270 return cssValuePool().createIdentifierValue(CSSValueDotted); 1270 return cssValuePool().createIdentifierValue(CSSValueDotted);
1271 case TextDecorationStyleDashed: 1271 case TextDecorationStyleDashed:
1272 return cssValuePool().createIdentifierValue(CSSValueDashed); 1272 return cssValuePool().createIdentifierValue(CSSValueDashed);
1273 case TextDecorationStyleWavy: 1273 case TextDecorationStyleWavy:
1274 return cssValuePool().createIdentifierValue(CSSValueWavy); 1274 return cssValuePool().createIdentifierValue(CSSValueWavy);
1275 case TextDecorationStyleNone:
1276 break;
1275 } 1277 }
1276 1278
1277 ASSERT_NOT_REACHED(); 1279 ASSERT_NOT_REACHED();
1278 return cssValuePool().createExplicitInitialValue(); 1280 return cssValuePool().createExplicitInitialValue();
1279 } 1281 }
1280 1282
1281 static PassRefPtrWillBeRawPtr<CSSValue> valueForFillRepeat(EFillRepeat xRepeat, EFillRepeat yRepeat) 1283 static PassRefPtrWillBeRawPtr<CSSValue> valueForFillRepeat(EFillRepeat xRepeat, EFillRepeat yRepeat)
1282 { 1284 {
1283 // For backwards compatibility, if both values are equal, just return one of them. And 1285 // For backwards compatibility, if both values are equal, just return one of them. And
1284 // if the two values are equivalent to repeat-x or repeat-y, just return the shorthand. 1286 // if the two values are equivalent to repeat-x or repeat-y, just return the shorthand.
(...skipping 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after
3042 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3044 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3043 CSSPropertyB ackgroundClip }; 3045 CSSPropertyB ackgroundClip };
3044 3046
3045 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated() ; 3047 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated() ;
3046 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator)))); 3048 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator))));
3047 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator)))); 3049 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator))));
3048 return list.release(); 3050 return list.release();
3049 } 3051 }
3050 3052
3051 } // namespace WebCore 3053 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/InlineBox.h » ('j') | Source/core/rendering/InlineBox.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698