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

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

Issue 1148873005: Parsing CSS properties for scroll snap points (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix comment 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSPrimitiveValueMappings.h » ('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) 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 CSSPropertyGlyphOrientationHorizontal, 322 CSSPropertyGlyphOrientationHorizontal,
323 CSSPropertyGlyphOrientationVertical, 323 CSSPropertyGlyphOrientationVertical,
324 CSSPropertyVectorEffect, 324 CSSPropertyVectorEffect,
325 CSSPropertyPaintOrder, 325 CSSPropertyPaintOrder,
326 CSSPropertyCx, 326 CSSPropertyCx,
327 CSSPropertyCy, 327 CSSPropertyCy,
328 CSSPropertyX, 328 CSSPropertyX,
329 CSSPropertyY, 329 CSSPropertyY,
330 CSSPropertyR, 330 CSSPropertyR,
331 CSSPropertyRx, 331 CSSPropertyRx,
332 CSSPropertyRy 332 CSSPropertyRy,
333 CSSPropertyScrollSnapType,
334 CSSPropertyScrollSnapPointsX,
335 CSSPropertyScrollSnapPointsY,
336 CSSPropertyScrollSnapCoordinate,
337 CSSPropertyScrollSnapDestination
333 }; 338 };
334 339
335 static const Vector<CSSPropertyID>& computableProperties() 340 static const Vector<CSSPropertyID>& computableProperties()
336 { 341 {
337 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); 342 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ());
338 if (properties.isEmpty()) 343 if (properties.isEmpty())
339 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); 344 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties);
340 return properties; 345 return properties;
341 } 346 }
342 347
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only."); 683 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only.");
679 } 684 }
680 685
681 DEFINE_TRACE(CSSComputedStyleDeclaration) 686 DEFINE_TRACE(CSSComputedStyleDeclaration)
682 { 687 {
683 visitor->trace(m_node); 688 visitor->trace(m_node);
684 CSSStyleDeclaration::trace(visitor); 689 CSSStyleDeclaration::trace(visitor);
685 } 690 }
686 691
687 } // namespace blink 692 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698