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

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

Issue 19041005: Introduce css3TextEnabled instead of CSS3_TEXT. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 7 years, 5 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/CSSPropertyNames.in ('k') | Source/core/css/resolver/StyleBuilderCustom.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 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHan dler()); 1431 setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHan dler());
1432 setPropertyHandler(CSSPropertyLetterSpacing, ApplyPropertyComputeLength<floa t, &RenderStyle::letterSpacing, &RenderStyle::setLetterSpacing, &RenderStyle::in itialLetterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::creat eHandler()); 1432 setPropertyHandler(CSSPropertyLetterSpacing, ApplyPropertyComputeLength<floa t, &RenderStyle::letterSpacing, &RenderStyle::setLetterSpacing, &RenderStyle::in itialLetterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::creat eHandler());
1433 setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHan dler()); 1433 setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHan dler());
1434 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi stStyleImage, CSSPropertyListStyleImage>::createHandler()); 1434 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi stStyleImage, CSSPropertyListStyleImage>::createHandler());
1435 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init ialOutlineOffset>::createHandler()); 1435 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init ialOutlineOffset>::createHandler());
1436 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler()); 1436 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler());
1437 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler()); 1437 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler());
1438 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler()); 1438 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler());
1439 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler()); 1439 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler());
1440 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl er()); 1440 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl er());
1441 setPropertyHandler(CSSPropertyTextAlignLast, ApplyPropertyDefault<TextAlignL ast, &RenderStyle::textAlignLast, TextAlignLast, &RenderStyle::setTextAlignLast, TextAlignLast, &RenderStyle::initialTextAlignLast>::createHandler());
1441 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c reateHandler()); 1442 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c reateHandler());
1442 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio n::createHandler()); 1443 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio n::createHandler());
1443 1444
1444 #if ENABLE(CSS3_TEXT) 1445 #if ENABLE(CSS3_TEXT)
1445 setPropertyHandler(CSSPropertyWebkitTextAlignLast, ApplyPropertyDefault<Text AlignLast, &RenderStyle::textAlignLast, TextAlignLast, &RenderStyle::setTextAlig nLast, TextAlignLast, &RenderStyle::initialTextAlignLast>::createHandler());
1446 setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyText UnderlinePosition::createHandler()); 1446 setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyText UnderlinePosition::createHandler());
1447 #endif // CSS3_TEXT 1447 #endif // CSS3_TEXT
1448 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHan dler()); 1448 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHan dler());
1449 setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRendering Mode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMod e, AutoTextRendering>::createHandler()); 1449 setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRendering Mode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMod e, AutoTextRendering>::createHandler());
1450 setPropertyHandler(CSSPropertyVerticalAlign, ApplyPropertyVerticalAlign::cre ateHandler()); 1450 setPropertyHandler(CSSPropertyVerticalAlign, ApplyPropertyVerticalAlign::cre ateHandler());
1451 setPropertyHandler(CSSPropertyWebkitAspectRatio, ApplyPropertyAspectRatio::c reateHandler()); 1451 setPropertyHandler(CSSPropertyWebkitAspectRatio, ApplyPropertyAspectRatio::c reateHandler());
1452 setPropertyHandler(CSSPropertyWebkitBorderHorizontalSpacing, ApplyPropertyCo mputeLength<short, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHoriz ontalBorderSpacing, &RenderStyle::initialHorizontalBorderSpacing>::createHandler ()); 1452 setPropertyHandler(CSSPropertyWebkitBorderHorizontalSpacing, ApplyPropertyCo mputeLength<short, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHoriz ontalBorderSpacing, &RenderStyle::initialHorizontalBorderSpacing>::createHandler ());
1453 setPropertyHandler(CSSPropertyWebkitBorderVerticalSpacing, ApplyPropertyComp uteLength<short, &RenderStyle::verticalBorderSpacing, &RenderStyle::setVerticalB orderSpacing, &RenderStyle::initialVerticalBorderSpacing>::createHandler()); 1453 setPropertyHandler(CSSPropertyWebkitBorderVerticalSpacing, ApplyPropertyComp uteLength<short, &RenderStyle::verticalBorderSpacing, &RenderStyle::setVerticalB orderSpacing, &RenderStyle::initialVerticalBorderSpacing>::createHandler());
1454 setPropertyHandler(CSSPropertyWebkitColumnRuleWidth, ApplyPropertyComputeLen gth<unsigned short, &RenderStyle::columnRuleWidth, &RenderStyle::setColumnRuleWi dth, &RenderStyle::initialColumnRuleWidth, NormalDisabled, ThicknessEnabled>::cr eateHandler()); 1454 setPropertyHandler(CSSPropertyWebkitColumnRuleWidth, ApplyPropertyComputeLen gth<unsigned short, &RenderStyle::columnRuleWidth, &RenderStyle::setColumnRuleWi dth, &RenderStyle::initialColumnRuleWidth, NormalDisabled, ThicknessEnabled>::cr eateHandler());
1455 setPropertyHandler(CSSPropertyWebkitFontKerning, ApplyPropertyFont<FontDescr iption::Kerning, &FontDescription::kerning, &FontDescription::setKerning, FontDe scription::AutoKerning>::createHandler()); 1455 setPropertyHandler(CSSPropertyWebkitFontKerning, ApplyPropertyFont<FontDescr iption::Kerning, &FontDescription::kerning, &FontDescription::setKerning, FontDe scription::AutoKerning>::createHandler());
1456 setPropertyHandler(CSSPropertyWebkitFontSmoothing, ApplyPropertyFont<FontSmo othingMode, &FontDescription::fontSmoothing, &FontDescription::setFontSmoothing, AutoSmoothing>::createHandler()); 1456 setPropertyHandler(CSSPropertyWebkitFontSmoothing, ApplyPropertyFont<FontSmo othingMode, &FontDescription::fontSmoothing, &FontDescription::setFontSmoothing, AutoSmoothing>::createHandler());
1457 setPropertyHandler(CSSPropertyWebkitFontVariantLigatures, ApplyPropertyFontV ariantLigatures::createHandler()); 1457 setPropertyHandler(CSSPropertyWebkitFontVariantLigatures, ApplyPropertyFontV ariantLigatures::createHandler());
1458 setPropertyHandler(CSSPropertyWebkitMarqueeSpeed, ApplyPropertyMarqueeSpeed: :createHandler()); 1458 setPropertyHandler(CSSPropertyWebkitMarqueeSpeed, ApplyPropertyMarqueeSpeed: :createHandler());
1459 setPropertyHandler(CSSPropertyWebkitPerspectiveOrigin, ApplyPropertyExpandin g<SuppressValue, CSSPropertyWebkitPerspectiveOriginX, CSSPropertyWebkitPerspecti veOriginY>::createHandler()); 1459 setPropertyHandler(CSSPropertyWebkitPerspectiveOrigin, ApplyPropertyExpandin g<SuppressValue, CSSPropertyWebkitPerspectiveOriginX, CSSPropertyWebkitPerspecti veOriginY>::createHandler());
1460 setPropertyHandler(CSSPropertyWebkitTextEmphasisStyle, ApplyPropertyTextEmph asisStyle::createHandler()); 1460 setPropertyHandler(CSSPropertyWebkitTextEmphasisStyle, ApplyPropertyTextEmph asisStyle::createHandler());
1461 setPropertyHandler(CSSPropertyWebkitTransformOriginZ, ApplyPropertyComputeLe ngth<float, &RenderStyle::transformOriginZ, &RenderStyle::setTransformOriginZ, & RenderStyle::initialTransformOriginZ>::createHandler()); 1461 setPropertyHandler(CSSPropertyWebkitTransformOriginZ, ApplyPropertyComputeLe ngth<float, &RenderStyle::transformOriginZ, &RenderStyle::setTransformOriginZ, & RenderStyle::initialTransformOriginZ>::createHandler());
1462 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat eHandler()); 1462 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat eHandler());
1463 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyShape<&RenderS tyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialShapeInsid e>::createHandler()); 1463 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyShape<&RenderS tyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialShapeInsid e>::createHandler());
1464 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyShape<&Render Style::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initialShapeOu tside>::createHandler()); 1464 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyShape<&Render Style::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initialShapeOu tside>::createHandler());
1465 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<float, &RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialL etterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandl er()); 1465 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<float, &RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialL etterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandl er());
1466 } 1466 }
1467 1467
1468 1468
1469 } 1469 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSPropertyNames.in ('k') | Source/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698