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

Side by Side Diff: Source/core/css/DeprecatedStyleBuilder.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/CSSValueKeywords.in ('k') | Source/core/css/resolver/StyleResolver.cpp » ('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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after
1863 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi stStyleImage, CSSPropertyListStyleImage>::createHandler()); 1863 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi stStyleImage, CSSPropertyListStyleImage>::createHandler());
1864 setPropertyHandler(CSSPropertyOrphans, ApplyPropertyAuto<short, &RenderStyle ::orphans, &RenderStyle::setOrphans, &RenderStyle::hasAutoOrphans, &RenderStyle: :setHasAutoOrphans>::createHandler()); 1864 setPropertyHandler(CSSPropertyOrphans, ApplyPropertyAuto<short, &RenderStyle ::orphans, &RenderStyle::setOrphans, &RenderStyle::hasAutoOrphans, &RenderStyle: :setHasAutoOrphans>::createHandler());
1865 setPropertyHandler(CSSPropertyOutlineColor, ApplyPropertyColor<NoInheritFrom Parent, &RenderStyle::outlineColor, &RenderStyle::setOutlineColor, &RenderStyle: :setVisitedLinkOutlineColor, &RenderStyle::color>::createHandler()); 1865 setPropertyHandler(CSSPropertyOutlineColor, ApplyPropertyColor<NoInheritFrom Parent, &RenderStyle::outlineColor, &RenderStyle::setOutlineColor, &RenderStyle: :setVisitedLinkOutlineColor, &RenderStyle::color>::createHandler());
1866 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init ialOutlineOffset>::createHandler()); 1866 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init ialOutlineOffset>::createHandler());
1867 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler()); 1867 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler());
1868 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler()); 1868 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler());
1869 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler()); 1869 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler());
1870 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler()); 1870 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler());
1871 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl er()); 1871 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl er());
1872 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c reateHandler()); 1872 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c reateHandler());
1873 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio n::createHandler());
1874 setPropertyHandler(CSSPropertyTextDecorationColor, ApplyPropertyColor<NoInhe ritFromParent, &RenderStyle::textDecorationColor, &RenderStyle::setTextDecoratio nColor, &RenderStyle::setVisitedLinkTextDecorationColor, &RenderStyle::color>::c reateHandler());
1875
1873 #if ENABLE(CSS3_TEXT) 1876 #if ENABLE(CSS3_TEXT)
1874 setPropertyHandler(CSSPropertyWebkitTextDecorationLine, ApplyPropertyTextDec oration::createHandler());
1875 setPropertyHandler(CSSPropertyWebkitTextDecorationColor, ApplyPropertyColor< NoInheritFromParent, &RenderStyle::textDecorationColor, &RenderStyle::setTextDec orationColor, &RenderStyle::setVisitedLinkTextDecorationColor, &RenderStyle::col or>::createHandler());
1876 setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyText UnderlinePosition::createHandler()); 1877 setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyText UnderlinePosition::createHandler());
1877 #endif // CSS3_TEXT 1878 #endif // CSS3_TEXT
1878 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHan dler()); 1879 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHan dler());
1879 setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRendering Mode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMod e, AutoTextRendering>::createHandler()); 1880 setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRendering Mode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMod e, AutoTextRendering>::createHandler());
1880 setPropertyHandler(CSSPropertyVerticalAlign, ApplyPropertyVerticalAlign::cre ateHandler()); 1881 setPropertyHandler(CSSPropertyVerticalAlign, ApplyPropertyVerticalAlign::cre ateHandler());
1881 setPropertyHandler(CSSPropertyWebkitAnimationDelay, ApplyPropertyAnimation<d ouble, &CSSAnimationData::delay, &CSSAnimationData::setDelay, &CSSAnimationData: :isDelaySet, &CSSAnimationData::clearDelay, &CSSAnimationData::initialAnimationD elay, &CSSToStyleMap::mapAnimationDelay, &RenderStyle::accessAnimations, &Render Style::animations>::createHandler()); 1882 setPropertyHandler(CSSPropertyWebkitAnimationDelay, ApplyPropertyAnimation<d ouble, &CSSAnimationData::delay, &CSSAnimationData::setDelay, &CSSAnimationData: :isDelaySet, &CSSAnimationData::clearDelay, &CSSAnimationData::initialAnimationD elay, &CSSToStyleMap::mapAnimationDelay, &RenderStyle::accessAnimations, &Render Style::animations>::createHandler());
1882 setPropertyHandler(CSSPropertyWebkitAnimationDirection, ApplyPropertyAnimati on<CSSAnimationData::AnimationDirection, &CSSAnimationData::direction, &CSSAnima tionData::setDirection, &CSSAnimationData::isDirectionSet, &CSSAnimationData::cl earDirection, &CSSAnimationData::initialAnimationDirection, &CSSToStyleMap::mapA nimationDirection, &RenderStyle::accessAnimations, &RenderStyle::animations>::cr eateHandler()); 1883 setPropertyHandler(CSSPropertyWebkitAnimationDirection, ApplyPropertyAnimati on<CSSAnimationData::AnimationDirection, &CSSAnimationData::direction, &CSSAnima tionData::setDirection, &CSSAnimationData::isDirectionSet, &CSSAnimationData::cl earDirection, &CSSAnimationData::initialAnimationDirection, &CSSToStyleMap::mapA nimationDirection, &RenderStyle::accessAnimations, &RenderStyle::animations>::cr eateHandler());
1883 setPropertyHandler(CSSPropertyWebkitAnimationDuration, ApplyPropertyAnimatio n<double, &CSSAnimationData::duration, &CSSAnimationData::setDuration, &CSSAnima tionData::isDurationSet, &CSSAnimationData::clearDuration, &CSSAnimationData::in itialAnimationDuration, &CSSToStyleMap::mapAnimationDuration, &RenderStyle::acce ssAnimations, &RenderStyle::animations>::createHandler()); 1884 setPropertyHandler(CSSPropertyWebkitAnimationDuration, ApplyPropertyAnimatio n<double, &CSSAnimationData::duration, &CSSAnimationData::setDuration, &CSSAnima tionData::isDurationSet, &CSSAnimationData::clearDuration, &CSSAnimationData::in itialAnimationDuration, &CSSToStyleMap::mapAnimationDuration, &RenderStyle::acce ssAnimations, &RenderStyle::animations>::createHandler());
1884 setPropertyHandler(CSSPropertyWebkitAnimationFillMode, ApplyPropertyAnimatio n<unsigned, &CSSAnimationData::fillMode, &CSSAnimationData::setFillMode, &CSSAni mationData::isFillModeSet, &CSSAnimationData::clearFillMode, &CSSAnimationData:: initialAnimationFillMode, &CSSToStyleMap::mapAnimationFillMode, &RenderStyle::ac cessAnimations, &RenderStyle::animations>::createHandler()); 1885 setPropertyHandler(CSSPropertyWebkitAnimationFillMode, ApplyPropertyAnimatio n<unsigned, &CSSAnimationData::fillMode, &CSSAnimationData::setFillMode, &CSSAni mationData::isFillModeSet, &CSSAnimationData::clearFillMode, &CSSAnimationData:: initialAnimationFillMode, &CSSToStyleMap::mapAnimationFillMode, &RenderStyle::ac cessAnimations, &RenderStyle::animations>::createHandler());
1885 setPropertyHandler(CSSPropertyWebkitAnimationIterationCount, ApplyPropertyAn imation<double, &CSSAnimationData::iterationCount, &CSSAnimationData::setIterati onCount, &CSSAnimationData::isIterationCountSet, &CSSAnimationData::clearIterati onCount, &CSSAnimationData::initialAnimationIterationCount, &CSSToStyleMap::mapA nimationIterationCount, &RenderStyle::accessAnimations, &RenderStyle::animations >::createHandler()); 1886 setPropertyHandler(CSSPropertyWebkitAnimationIterationCount, ApplyPropertyAn imation<double, &CSSAnimationData::iterationCount, &CSSAnimationData::setIterati onCount, &CSSAnimationData::isIterationCountSet, &CSSAnimationData::clearIterati onCount, &CSSAnimationData::initialAnimationIterationCount, &CSSToStyleMap::mapA nimationIterationCount, &RenderStyle::accessAnimations, &RenderStyle::animations >::createHandler());
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1934 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat eHandler()); 1935 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat eHandler());
1935 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyExclusionShape <&RenderStyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialS hapeInside>::createHandler()); 1936 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyExclusionShape <&RenderStyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialS hapeInside>::createHandler());
1936 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyExclusionShap e<&RenderStyle::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initi alShapeOutside>::createHandler()); 1937 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyExclusionShap e<&RenderStyle::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initi alShapeOutside>::createHandler());
1937 setPropertyHandler(CSSPropertyWidows, ApplyPropertyAuto<short, &RenderStyle: :widows, &RenderStyle::setWidows, &RenderStyle::hasAutoWidows, &RenderStyle::set HasAutoWidows>::createHandler()); 1938 setPropertyHandler(CSSPropertyWidows, ApplyPropertyAuto<short, &RenderStyle: :widows, &RenderStyle::setWidows, &RenderStyle::hasAutoWidows, &RenderStyle::set HasAutoWidows>::createHandler());
1938 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ()); 1939 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ());
1939 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa sAutoZIndex>::createHandler()); 1940 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa sAutoZIndex>::createHandler());
1940 } 1941 }
1941 1942
1942 1943
1943 } 1944 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698