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

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

Issue 16337002: Revert "Revert "Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT"" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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/css/CSSProperties.in ('k') | Source/core/css/CSSPropertyNames.in » ('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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 case CSSPropertyStrokeDashoffset: 296 case CSSPropertyStrokeDashoffset:
297 case CSSPropertyStrokeLinecap: 297 case CSSPropertyStrokeLinecap:
298 case CSSPropertyStrokeLinejoin: 298 case CSSPropertyStrokeLinejoin:
299 case CSSPropertyStrokeMiterlimit: 299 case CSSPropertyStrokeMiterlimit:
300 case CSSPropertyStrokeOpacity: 300 case CSSPropertyStrokeOpacity:
301 case CSSPropertyStrokeWidth: 301 case CSSPropertyStrokeWidth:
302 case CSSPropertyTabSize: 302 case CSSPropertyTabSize:
303 case CSSPropertyTextAlign: 303 case CSSPropertyTextAlign:
304 case CSSPropertyTextAnchor: 304 case CSSPropertyTextAnchor:
305 case CSSPropertyTextDecoration: 305 case CSSPropertyTextDecoration:
306 case CSSPropertyTextDecorationLine:
306 case CSSPropertyTextIndent: 307 case CSSPropertyTextIndent:
307 case CSSPropertyTextRendering: 308 case CSSPropertyTextRendering:
308 case CSSPropertyTextShadow: 309 case CSSPropertyTextShadow:
309 case CSSPropertyTextTransform: 310 case CSSPropertyTextTransform:
310 case CSSPropertyVariable: 311 case CSSPropertyVariable:
311 case CSSPropertyVisibility: 312 case CSSPropertyVisibility:
312 case CSSPropertyWebkitAspectRatio: 313 case CSSPropertyWebkitAspectRatio:
313 case CSSPropertyWebkitBorderHorizontalSpacing: 314 case CSSPropertyWebkitBorderHorizontalSpacing:
314 case CSSPropertyWebkitBorderVerticalSpacing: 315 case CSSPropertyWebkitBorderVerticalSpacing:
315 case CSSPropertyWebkitBoxDirection: 316 case CSSPropertyWebkitBoxDirection:
(...skipping 16 matching lines...) Expand all
332 case CSSPropertyWebkitLineSnap: 333 case CSSPropertyWebkitLineSnap:
333 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING) 334 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
334 case CSSPropertyWebkitOverflowScrolling: 335 case CSSPropertyWebkitOverflowScrolling:
335 #endif 336 #endif
336 case CSSPropertyWebkitPrintColorAdjust: 337 case CSSPropertyWebkitPrintColorAdjust:
337 case CSSPropertyWebkitRtlOrdering: 338 case CSSPropertyWebkitRtlOrdering:
338 case CSSPropertyWebkitRubyPosition: 339 case CSSPropertyWebkitRubyPosition:
339 case CSSPropertyWebkitTapHighlightColor: 340 case CSSPropertyWebkitTapHighlightColor:
340 case CSSPropertyWebkitTextCombine: 341 case CSSPropertyWebkitTextCombine:
341 #if ENABLE(CSS3_TEXT) 342 #if ENABLE(CSS3_TEXT)
342 case CSSPropertyWebkitTextDecorationLine:
343 case CSSPropertyWebkitTextAlignLast: 343 case CSSPropertyWebkitTextAlignLast:
344 case CSSPropertyWebkitTextUnderlinePosition: 344 case CSSPropertyWebkitTextUnderlinePosition:
345 #endif // CSS3_TEXT 345 #endif // CSS3_TEXT
346 case CSSPropertyWebkitTextDecorationsInEffect: 346 case CSSPropertyWebkitTextDecorationsInEffect:
347 case CSSPropertyWebkitTextEmphasis: 347 case CSSPropertyWebkitTextEmphasis:
348 case CSSPropertyWebkitTextEmphasisColor: 348 case CSSPropertyWebkitTextEmphasisColor:
349 case CSSPropertyWebkitTextEmphasisPosition: 349 case CSSPropertyWebkitTextEmphasisPosition:
350 case CSSPropertyWebkitTextEmphasisStyle: 350 case CSSPropertyWebkitTextEmphasisStyle:
351 case CSSPropertyWebkitTextFillColor: 351 case CSSPropertyWebkitTextFillColor:
352 case CSSPropertyWebkitTextOrientation: 352 case CSSPropertyWebkitTextOrientation:
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 case CSSPropertyPageBreakAfter: 464 case CSSPropertyPageBreakAfter:
465 case CSSPropertyPageBreakBefore: 465 case CSSPropertyPageBreakBefore:
466 case CSSPropertyPageBreakInside: 466 case CSSPropertyPageBreakInside:
467 case CSSPropertyPosition: 467 case CSSPropertyPosition:
468 case CSSPropertyRight: 468 case CSSPropertyRight:
469 case CSSPropertySize: 469 case CSSPropertySize:
470 case CSSPropertySrc: 470 case CSSPropertySrc:
471 case CSSPropertyStopColor: 471 case CSSPropertyStopColor:
472 case CSSPropertyStopOpacity: 472 case CSSPropertyStopOpacity:
473 case CSSPropertyTableLayout: 473 case CSSPropertyTableLayout:
474 case CSSPropertyTextDecorationStyle:
475 case CSSPropertyTextDecorationColor:
474 case CSSPropertyTextLineThroughColor: 476 case CSSPropertyTextLineThroughColor:
475 case CSSPropertyTextLineThroughMode: 477 case CSSPropertyTextLineThroughMode:
476 case CSSPropertyTextLineThroughStyle: 478 case CSSPropertyTextLineThroughStyle:
477 case CSSPropertyTextLineThroughWidth: 479 case CSSPropertyTextLineThroughWidth:
478 case CSSPropertyTextOverflow: 480 case CSSPropertyTextOverflow:
479 case CSSPropertyTextOverlineColor: 481 case CSSPropertyTextOverlineColor:
480 case CSSPropertyTextOverlineMode: 482 case CSSPropertyTextOverlineMode:
481 case CSSPropertyTextOverlineStyle: 483 case CSSPropertyTextOverlineStyle:
482 case CSSPropertyTextOverlineWidth: 484 case CSSPropertyTextOverlineWidth:
483 case CSSPropertyTextUnderlineColor: 485 case CSSPropertyTextUnderlineColor:
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 case CSSPropertyWebkitMinLogicalWidth: 623 case CSSPropertyWebkitMinLogicalWidth:
622 case CSSPropertyWebkitMinLogicalHeight: 624 case CSSPropertyWebkitMinLogicalHeight:
623 case CSSPropertyWebkitPaddingAfter: 625 case CSSPropertyWebkitPaddingAfter:
624 case CSSPropertyWebkitPaddingBefore: 626 case CSSPropertyWebkitPaddingBefore:
625 case CSSPropertyWebkitPaddingEnd: 627 case CSSPropertyWebkitPaddingEnd:
626 case CSSPropertyWebkitPaddingStart: 628 case CSSPropertyWebkitPaddingStart:
627 case CSSPropertyWebkitPerspective: 629 case CSSPropertyWebkitPerspective:
628 case CSSPropertyWebkitPerspectiveOrigin: 630 case CSSPropertyWebkitPerspectiveOrigin:
629 case CSSPropertyWebkitPerspectiveOriginX: 631 case CSSPropertyWebkitPerspectiveOriginX:
630 case CSSPropertyWebkitPerspectiveOriginY: 632 case CSSPropertyWebkitPerspectiveOriginY:
631 #if ENABLE(CSS3_TEXT)
632 case CSSPropertyWebkitTextDecorationStyle:
633 case CSSPropertyWebkitTextDecorationColor:
634 #endif // CSS3_TEXT
635 case CSSPropertyWebkitTransform: 633 case CSSPropertyWebkitTransform:
636 case CSSPropertyWebkitTransformOrigin: 634 case CSSPropertyWebkitTransformOrigin:
637 case CSSPropertyWebkitTransformOriginX: 635 case CSSPropertyWebkitTransformOriginX:
638 case CSSPropertyWebkitTransformOriginY: 636 case CSSPropertyWebkitTransformOriginY:
639 case CSSPropertyWebkitTransformOriginZ: 637 case CSSPropertyWebkitTransformOriginZ:
640 case CSSPropertyWebkitTransformStyle: 638 case CSSPropertyWebkitTransformStyle:
641 case CSSPropertyWebkitTransition: 639 case CSSPropertyWebkitTransition:
642 case CSSPropertyWebkitTransitionDelay: 640 case CSSPropertyWebkitTransitionDelay:
643 case CSSPropertyWebkitTransitionDuration: 641 case CSSPropertyWebkitTransitionDuration:
644 case CSSPropertyWebkitTransitionProperty: 642 case CSSPropertyWebkitTransitionProperty:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 } 675 }
678 676
679 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 677 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
680 { 678 {
681 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 679 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
682 info.addMember(m_value, "value"); 680 info.addMember(m_value, "value");
683 info.ignoreMember(m_metadata); 681 info.ignoreMember(m_metadata);
684 } 682 }
685 683
686 } // namespace WebCore 684 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/CSSProperties.in ('k') | Source/core/css/CSSPropertyNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698