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

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

Issue 14612004: Remove CURSOR_VISIBILITY, it's always off (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Upload again Created 7 years, 7 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
« no previous file with comments | « no previous file | Source/core/css/CSSParser.cpp » ('j') | Source/core/page/UseCounter.h » ('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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 CSSPropertyWebkitColumnBreakInside, 247 CSSPropertyWebkitColumnBreakInside,
248 CSSPropertyWebkitColumnAxis, 248 CSSPropertyWebkitColumnAxis,
249 CSSPropertyWebkitColumnCount, 249 CSSPropertyWebkitColumnCount,
250 CSSPropertyWebkitColumnGap, 250 CSSPropertyWebkitColumnGap,
251 CSSPropertyWebkitColumnProgression, 251 CSSPropertyWebkitColumnProgression,
252 CSSPropertyWebkitColumnRuleColor, 252 CSSPropertyWebkitColumnRuleColor,
253 CSSPropertyWebkitColumnRuleStyle, 253 CSSPropertyWebkitColumnRuleStyle,
254 CSSPropertyWebkitColumnRuleWidth, 254 CSSPropertyWebkitColumnRuleWidth,
255 CSSPropertyWebkitColumnSpan, 255 CSSPropertyWebkitColumnSpan,
256 CSSPropertyWebkitColumnWidth, 256 CSSPropertyWebkitColumnWidth,
257 #if ENABLE(CURSOR_VISIBILITY)
258 CSSPropertyWebkitCursorVisibility,
259 #endif
260 CSSPropertyWebkitFilter, 257 CSSPropertyWebkitFilter,
261 CSSPropertyWebkitAlignContent, 258 CSSPropertyWebkitAlignContent,
262 CSSPropertyWebkitAlignItems, 259 CSSPropertyWebkitAlignItems,
263 CSSPropertyWebkitAlignSelf, 260 CSSPropertyWebkitAlignSelf,
264 CSSPropertyWebkitFlexBasis, 261 CSSPropertyWebkitFlexBasis,
265 CSSPropertyWebkitFlexGrow, 262 CSSPropertyWebkitFlexGrow,
266 CSSPropertyWebkitFlexShrink, 263 CSSPropertyWebkitFlexShrink,
267 CSSPropertyWebkitFlexDirection, 264 CSSPropertyWebkitFlexDirection,
268 CSSPropertyWebkitFlexWrap, 265 CSSPropertyWebkitFlexWrap,
269 CSSPropertyWebkitJustifyContent, 266 CSSPropertyWebkitJustifyContent,
(...skipping 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after
1821 if (StyleImage* image = cursors->at(i).image()) 1818 if (StyleImage* image = cursors->at(i).image())
1822 list->append(image->cssValue()); 1819 list->append(image->cssValue());
1823 } 1820 }
1824 RefPtr<CSSValue> value = cssValuePool().createValue(style->cursor()) ; 1821 RefPtr<CSSValue> value = cssValuePool().createValue(style->cursor()) ;
1825 if (list) { 1822 if (list) {
1826 list->append(value); 1823 list->append(value);
1827 return list.release(); 1824 return list.release();
1828 } 1825 }
1829 return value.release(); 1826 return value.release();
1830 } 1827 }
1831 #if ENABLE(CURSOR_VISIBILITY)
1832 case CSSPropertyWebkitCursorVisibility:
1833 return cssValuePool().createValue(style->cursorVisibility());
1834 #endif
1835 case CSSPropertyDirection: 1828 case CSSPropertyDirection:
1836 return cssValuePool().createValue(style->direction()); 1829 return cssValuePool().createValue(style->direction());
1837 case CSSPropertyDisplay: 1830 case CSSPropertyDisplay:
1838 return cssValuePool().createValue(style->display()); 1831 return cssValuePool().createValue(style->display());
1839 case CSSPropertyEmptyCells: 1832 case CSSPropertyEmptyCells:
1840 return cssValuePool().createValue(style->emptyCells()); 1833 return cssValuePool().createValue(style->emptyCells());
1841 case CSSPropertyWebkitAlignContent: 1834 case CSSPropertyWebkitAlignContent:
1842 return cssValuePool().createValue(style->alignContent()); 1835 return cssValuePool().createValue(style->alignContent());
1843 case CSSPropertyWebkitAlignItems: 1836 case CSSPropertyWebkitAlignItems:
1844 return cssValuePool().createValue(style->alignItems()); 1837 return cssValuePool().createValue(style->alignItems());
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
2993 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 2986 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
2994 CSSPropertyB ackgroundClip }; 2987 CSSPropertyB ackgroundClip };
2995 2988
2996 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 2989 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
2997 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat or)))); 2990 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat or))));
2998 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator )))); 2991 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator ))));
2999 return list.release(); 2992 return list.release();
3000 } 2993 }
3001 2994
3002 } // namespace WebCore 2995 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSParser.cpp » ('j') | Source/core/page/UseCounter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698