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

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

Issue 14576017: Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed updated on text-underline-position for now (to be discussed & re-added later) 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
« no previous file with comments | « Source/core/css/CSSPrimitiveValueMappings.h ('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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 case CSSPropertyListStyleType: 273 case CSSPropertyListStyleType:
274 case CSSPropertyListStylePosition: 274 case CSSPropertyListStylePosition:
275 case CSSPropertyOrphans: 275 case CSSPropertyOrphans:
276 case CSSPropertyPointerEvents: 276 case CSSPropertyPointerEvents:
277 case CSSPropertyQuotes: 277 case CSSPropertyQuotes:
278 case CSSPropertyResize: 278 case CSSPropertyResize:
279 case CSSPropertySpeak: 279 case CSSPropertySpeak:
280 case CSSPropertyTabSize: 280 case CSSPropertyTabSize:
281 case CSSPropertyTextAlign: 281 case CSSPropertyTextAlign:
282 case CSSPropertyTextDecoration: 282 case CSSPropertyTextDecoration:
283 case CSSPropertyTextDecorationLine:
283 case CSSPropertyTextIndent: 284 case CSSPropertyTextIndent:
284 case CSSPropertyTextRendering: 285 case CSSPropertyTextRendering:
285 case CSSPropertyTextShadow: 286 case CSSPropertyTextShadow:
286 case CSSPropertyTextTransform: 287 case CSSPropertyTextTransform:
287 case CSSPropertyVariable: 288 case CSSPropertyVariable:
288 case CSSPropertyVisibility: 289 case CSSPropertyVisibility:
289 case CSSPropertyWebkitAspectRatio: 290 case CSSPropertyWebkitAspectRatio:
290 case CSSPropertyWebkitBorderHorizontalSpacing: 291 case CSSPropertyWebkitBorderHorizontalSpacing:
291 case CSSPropertyWebkitBorderVerticalSpacing: 292 case CSSPropertyWebkitBorderVerticalSpacing:
292 case CSSPropertyWebkitBoxDirection: 293 case CSSPropertyWebkitBoxDirection:
(...skipping 15 matching lines...) Expand all
308 case CSSPropertyWebkitLineGrid: 309 case CSSPropertyWebkitLineGrid:
309 case CSSPropertyWebkitLineSnap: 310 case CSSPropertyWebkitLineSnap:
310 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING) 311 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
311 case CSSPropertyWebkitOverflowScrolling: 312 case CSSPropertyWebkitOverflowScrolling:
312 #endif 313 #endif
313 case CSSPropertyWebkitPrintColorAdjust: 314 case CSSPropertyWebkitPrintColorAdjust:
314 case CSSPropertyWebkitRtlOrdering: 315 case CSSPropertyWebkitRtlOrdering:
315 case CSSPropertyWebkitRubyPosition: 316 case CSSPropertyWebkitRubyPosition:
316 case CSSPropertyWebkitTextCombine: 317 case CSSPropertyWebkitTextCombine:
317 #if ENABLE(CSS3_TEXT) 318 #if ENABLE(CSS3_TEXT)
318 case CSSPropertyWebkitTextDecorationLine:
319 case CSSPropertyWebkitTextAlignLast: 319 case CSSPropertyWebkitTextAlignLast:
320 case CSSPropertyWebkitTextUnderlinePosition: 320 case CSSPropertyWebkitTextUnderlinePosition:
321 #endif // CSS3_TEXT 321 #endif // CSS3_TEXT
322 case CSSPropertyWebkitTextDecorationsInEffect: 322 case CSSPropertyWebkitTextDecorationsInEffect:
323 case CSSPropertyWebkitTextEmphasis: 323 case CSSPropertyWebkitTextEmphasis:
324 case CSSPropertyWebkitTextEmphasisColor: 324 case CSSPropertyWebkitTextEmphasisColor:
325 case CSSPropertyWebkitTextEmphasisPosition: 325 case CSSPropertyWebkitTextEmphasisPosition:
326 case CSSPropertyWebkitTextEmphasisStyle: 326 case CSSPropertyWebkitTextEmphasisStyle:
327 case CSSPropertyWebkitTextFillColor: 327 case CSSPropertyWebkitTextFillColor:
328 case CSSPropertyWebkitTextOrientation: 328 case CSSPropertyWebkitTextOrientation:
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 case CSSPropertyPaddingTop: 453 case CSSPropertyPaddingTop:
454 case CSSPropertyPage: 454 case CSSPropertyPage:
455 case CSSPropertyPageBreakAfter: 455 case CSSPropertyPageBreakAfter:
456 case CSSPropertyPageBreakBefore: 456 case CSSPropertyPageBreakBefore:
457 case CSSPropertyPageBreakInside: 457 case CSSPropertyPageBreakInside:
458 case CSSPropertyPosition: 458 case CSSPropertyPosition:
459 case CSSPropertyRight: 459 case CSSPropertyRight:
460 case CSSPropertySize: 460 case CSSPropertySize:
461 case CSSPropertySrc: 461 case CSSPropertySrc:
462 case CSSPropertyTableLayout: 462 case CSSPropertyTableLayout:
463 case CSSPropertyTextDecorationStyle:
464 case CSSPropertyTextDecorationColor:
463 case CSSPropertyTextLineThrough: 465 case CSSPropertyTextLineThrough:
464 case CSSPropertyTextLineThroughColor: 466 case CSSPropertyTextLineThroughColor:
465 case CSSPropertyTextLineThroughMode: 467 case CSSPropertyTextLineThroughMode:
466 case CSSPropertyTextLineThroughStyle: 468 case CSSPropertyTextLineThroughStyle:
467 case CSSPropertyTextLineThroughWidth: 469 case CSSPropertyTextLineThroughWidth:
468 case CSSPropertyTextOverflow: 470 case CSSPropertyTextOverflow:
469 case CSSPropertyTextOverline: 471 case CSSPropertyTextOverline:
470 case CSSPropertyTextOverlineColor: 472 case CSSPropertyTextOverlineColor:
471 case CSSPropertyTextOverlineMode: 473 case CSSPropertyTextOverlineMode:
472 case CSSPropertyTextOverlineStyle: 474 case CSSPropertyTextOverlineStyle:
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 case CSSPropertyWebkitMinLogicalWidth: 614 case CSSPropertyWebkitMinLogicalWidth:
613 case CSSPropertyWebkitMinLogicalHeight: 615 case CSSPropertyWebkitMinLogicalHeight:
614 case CSSPropertyWebkitPaddingAfter: 616 case CSSPropertyWebkitPaddingAfter:
615 case CSSPropertyWebkitPaddingBefore: 617 case CSSPropertyWebkitPaddingBefore:
616 case CSSPropertyWebkitPaddingEnd: 618 case CSSPropertyWebkitPaddingEnd:
617 case CSSPropertyWebkitPaddingStart: 619 case CSSPropertyWebkitPaddingStart:
618 case CSSPropertyWebkitPerspective: 620 case CSSPropertyWebkitPerspective:
619 case CSSPropertyWebkitPerspectiveOrigin: 621 case CSSPropertyWebkitPerspectiveOrigin:
620 case CSSPropertyWebkitPerspectiveOriginX: 622 case CSSPropertyWebkitPerspectiveOriginX:
621 case CSSPropertyWebkitPerspectiveOriginY: 623 case CSSPropertyWebkitPerspectiveOriginY:
622 #if ENABLE(CSS3_TEXT)
623 case CSSPropertyWebkitTextDecorationStyle:
624 case CSSPropertyWebkitTextDecorationColor:
625 #endif // CSS3_TEXT
626 case CSSPropertyWebkitTransform: 624 case CSSPropertyWebkitTransform:
627 case CSSPropertyWebkitTransformOrigin: 625 case CSSPropertyWebkitTransformOrigin:
628 case CSSPropertyWebkitTransformOriginX: 626 case CSSPropertyWebkitTransformOriginX:
629 case CSSPropertyWebkitTransformOriginY: 627 case CSSPropertyWebkitTransformOriginY:
630 case CSSPropertyWebkitTransformOriginZ: 628 case CSSPropertyWebkitTransformOriginZ:
631 case CSSPropertyWebkitTransformStyle: 629 case CSSPropertyWebkitTransformStyle:
632 case CSSPropertyWebkitTransition: 630 case CSSPropertyWebkitTransition:
633 case CSSPropertyWebkitTransitionDelay: 631 case CSSPropertyWebkitTransitionDelay:
634 case CSSPropertyWebkitTransitionDuration: 632 case CSSPropertyWebkitTransitionDuration:
635 case CSSPropertyWebkitTransitionProperty: 633 case CSSPropertyWebkitTransitionProperty:
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 } 682 }
685 683
686 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 684 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
687 { 685 {
688 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 686 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
689 info.addMember(m_value, "value"); 687 info.addMember(m_value, "value");
690 info.ignoreMember(m_metadata); 688 info.ignoreMember(m_metadata);
691 } 689 }
692 690
693 } // namespace WebCore 691 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/CSSPrimitiveValueMappings.h ('k') | Source/core/css/CSSPropertyNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698