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

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

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
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 * Copyright (C) 2015 Google Inc. All rights reserved. 7 * Copyright (C) 2015 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
(...skipping 2620 matching lines...) Expand 10 before | Expand all | Expand 10 after
2631 case CSSPropertyScrollSnapType: 2631 case CSSPropertyScrollSnapType:
2632 return cssValuePool().createValue(style.scrollSnapType()); 2632 return cssValuePool().createValue(style.scrollSnapType());
2633 case CSSPropertyScrollSnapPointsX: 2633 case CSSPropertyScrollSnapPointsX:
2634 return valueForScrollSnapPoints(style.scrollSnapPointsX(), style); 2634 return valueForScrollSnapPoints(style.scrollSnapPointsX(), style);
2635 case CSSPropertyScrollSnapPointsY: 2635 case CSSPropertyScrollSnapPointsY:
2636 return valueForScrollSnapPoints(style.scrollSnapPointsY(), style); 2636 return valueForScrollSnapPoints(style.scrollSnapPointsY(), style);
2637 case CSSPropertyScrollSnapCoordinate: 2637 case CSSPropertyScrollSnapCoordinate:
2638 return valueForScrollSnapCoordinate(style.scrollSnapCoordinate(), style) ; 2638 return valueForScrollSnapCoordinate(style.scrollSnapCoordinate(), style) ;
2639 case CSSPropertyScrollSnapDestination: 2639 case CSSPropertyScrollSnapDestination:
2640 return valueForScrollSnapDestination(style.scrollSnapDestination(), styl e); 2640 return valueForScrollSnapDestination(style.scrollSnapDestination(), styl e);
2641 2641 case CSSPropertyVariable:
2642 ASSERT_NOT_REACHED();
2643 return nullptr;
2642 case CSSPropertyAll: 2644 case CSSPropertyAll:
2643 return nullptr; 2645 return nullptr;
2644 default: 2646 default:
2645 break; 2647 break;
2646 } 2648 }
2647 ASSERT_NOT_REACHED(); 2649 ASSERT_NOT_REACHED();
2648 return nullptr; 2650 return nullptr;
2649 } 2651 }
2650 2652
2651 } 2653 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698