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

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: Updated css-properties-as-js-properties.html layout test expectations to match new properties. 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
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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 case CSSPropertyWebkitLineGrid: 308 case CSSPropertyWebkitLineGrid:
309 case CSSPropertyWebkitLineSnap: 309 case CSSPropertyWebkitLineSnap:
310 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING) 310 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
311 case CSSPropertyWebkitOverflowScrolling: 311 case CSSPropertyWebkitOverflowScrolling:
312 #endif 312 #endif
313 case CSSPropertyWebkitPrintColorAdjust: 313 case CSSPropertyWebkitPrintColorAdjust:
314 case CSSPropertyWebkitRtlOrdering: 314 case CSSPropertyWebkitRtlOrdering:
315 case CSSPropertyWebkitRubyPosition: 315 case CSSPropertyWebkitRubyPosition:
316 case CSSPropertyWebkitTextCombine: 316 case CSSPropertyWebkitTextCombine:
317 #if ENABLE(CSS3_TEXT) 317 #if ENABLE(CSS3_TEXT)
318 case CSSPropertyWebkitTextDecorationLine:
319 case CSSPropertyWebkitTextAlignLast: 318 case CSSPropertyWebkitTextAlignLast:
320 case CSSPropertyWebkitTextUnderlinePosition:
321 #endif // CSS3_TEXT 319 #endif // CSS3_TEXT
322 case CSSPropertyWebkitTextDecorationsInEffect: 320 case CSSPropertyWebkitTextDecorationsInEffect:
321 case CSSPropertyWebkitTextDecorationLine:
322 case CSSPropertyWebkitTextUnderlinePosition:
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:
329 case CSSPropertyWebkitTextSecurity: 329 case CSSPropertyWebkitTextSecurity:
330 case CSSPropertyWebkitTextStroke: 330 case CSSPropertyWebkitTextStroke:
331 case CSSPropertyWebkitTextStrokeColor: 331 case CSSPropertyWebkitTextStrokeColor:
332 case CSSPropertyWebkitTextStrokeWidth: 332 case CSSPropertyWebkitTextStrokeWidth:
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 case CSSPropertyWebkitMinLogicalWidth: 612 case CSSPropertyWebkitMinLogicalWidth:
613 case CSSPropertyWebkitMinLogicalHeight: 613 case CSSPropertyWebkitMinLogicalHeight:
614 case CSSPropertyWebkitPaddingAfter: 614 case CSSPropertyWebkitPaddingAfter:
615 case CSSPropertyWebkitPaddingBefore: 615 case CSSPropertyWebkitPaddingBefore:
616 case CSSPropertyWebkitPaddingEnd: 616 case CSSPropertyWebkitPaddingEnd:
617 case CSSPropertyWebkitPaddingStart: 617 case CSSPropertyWebkitPaddingStart:
618 case CSSPropertyWebkitPerspective: 618 case CSSPropertyWebkitPerspective:
619 case CSSPropertyWebkitPerspectiveOrigin: 619 case CSSPropertyWebkitPerspectiveOrigin:
620 case CSSPropertyWebkitPerspectiveOriginX: 620 case CSSPropertyWebkitPerspectiveOriginX:
621 case CSSPropertyWebkitPerspectiveOriginY: 621 case CSSPropertyWebkitPerspectiveOriginY:
622 #if ENABLE(CSS3_TEXT)
623 case CSSPropertyWebkitTextDecorationStyle: 622 case CSSPropertyWebkitTextDecorationStyle:
624 case CSSPropertyWebkitTextDecorationColor: 623 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

Powered by Google App Engine
This is Rietveld 408576698