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

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

Issue 18332019: Allow fractional letter- word-spacing values. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: *actually* add the file 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 | Annotate | Revision Log
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 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 setPropertyHandler(CSSPropertyCounterIncrement, ApplyPropertyCounter<Increme nt>::createHandler()); 1569 setPropertyHandler(CSSPropertyCounterIncrement, ApplyPropertyCounter<Increme nt>::createHandler());
1570 setPropertyHandler(CSSPropertyCounterReset, ApplyPropertyCounter<Reset>::cre ateHandler()); 1570 setPropertyHandler(CSSPropertyCounterReset, ApplyPropertyCounter<Reset>::cre ateHandler());
1571 setPropertyHandler(CSSPropertyCursor, ApplyPropertyCursor::createHandler()); 1571 setPropertyHandler(CSSPropertyCursor, ApplyPropertyCursor::createHandler());
1572 setPropertyHandler(CSSPropertyDirection, ApplyPropertyDirection<&RenderStyle ::direction, &RenderStyle::setDirection, RenderStyle::initialDirection>::createH andler()); 1572 setPropertyHandler(CSSPropertyDirection, ApplyPropertyDirection<&RenderStyle ::direction, &RenderStyle::setDirection, RenderStyle::initialDirection>::createH andler());
1573 setPropertyHandler(CSSPropertyDisplay, ApplyPropertyDisplay::createHandler() ); 1573 setPropertyHandler(CSSPropertyDisplay, ApplyPropertyDisplay::createHandler() );
1574 setPropertyHandler(CSSPropertyFontFamily, ApplyPropertyFontFamily::createHan dler()); 1574 setPropertyHandler(CSSPropertyFontFamily, ApplyPropertyFontFamily::createHan dler());
1575 setPropertyHandler(CSSPropertyFontSize, ApplyPropertyFontSize::createHandler ()); 1575 setPropertyHandler(CSSPropertyFontSize, ApplyPropertyFontSize::createHandler ());
1576 setPropertyHandler(CSSPropertyFontStyle, ApplyPropertyFont<FontItalic, &Font Description::italic, &FontDescription::setItalic, FontItalicOff>::createHandler( )); 1576 setPropertyHandler(CSSPropertyFontStyle, ApplyPropertyFont<FontItalic, &Font Description::italic, &FontDescription::setItalic, FontItalicOff>::createHandler( ));
1577 setPropertyHandler(CSSPropertyFontVariant, ApplyPropertyFont<FontSmallCaps, &FontDescription::smallCaps, &FontDescription::setSmallCaps, FontSmallCapsOff>:: createHandler()); 1577 setPropertyHandler(CSSPropertyFontVariant, ApplyPropertyFont<FontSmallCaps, &FontDescription::smallCaps, &FontDescription::setSmallCaps, FontSmallCapsOff>:: createHandler());
1578 setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHan dler()); 1578 setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHan dler());
1579 setPropertyHandler(CSSPropertyLetterSpacing, ApplyPropertyComputeLength<int, &RenderStyle::letterSpacing, &RenderStyle::setLetterSpacing, &RenderStyle::init ialLetterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createH andler()); 1579 setPropertyHandler(CSSPropertyLetterSpacing, ApplyPropertyComputeLength<floa t, &RenderStyle::letterSpacing, &RenderStyle::setLetterSpacing, &RenderStyle::in itialLetterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::creat eHandler());
1580 setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHan dler()); 1580 setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHan dler());
1581 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi stStyleImage, CSSPropertyListStyleImage>::createHandler()); 1581 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi stStyleImage, CSSPropertyListStyleImage>::createHandler());
1582 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init ialOutlineOffset>::createHandler()); 1582 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init ialOutlineOffset>::createHandler());
1583 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler()); 1583 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler());
1584 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler()); 1584 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler());
1585 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler()); 1585 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler());
1586 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler()); 1586 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler());
1587 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl er()); 1587 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl er());
1588 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c reateHandler()); 1588 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c reateHandler());
1589 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio n::createHandler()); 1589 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio n::createHandler());
(...skipping 17 matching lines...) Expand all
1607 setPropertyHandler(CSSPropertyWebkitMaskBoxImageRepeat, ApplyPropertyBorderI mageModifier<BorderMask, Repeat>::createHandler()); 1607 setPropertyHandler(CSSPropertyWebkitMaskBoxImageRepeat, ApplyPropertyBorderI mageModifier<BorderMask, Repeat>::createHandler());
1608 setPropertyHandler(CSSPropertyWebkitMaskBoxImageSlice, ApplyPropertyBorderIm ageModifier<BorderMask, Slice>::createHandler()); 1608 setPropertyHandler(CSSPropertyWebkitMaskBoxImageSlice, ApplyPropertyBorderIm ageModifier<BorderMask, Slice>::createHandler());
1609 setPropertyHandler(CSSPropertyWebkitMaskBoxImageSource, ApplyPropertyBorderI mageSource<CSSPropertyWebkitMaskBoxImageSource, &RenderStyle::maskBoxImageSource , &RenderStyle::setMaskBoxImageSource, &RenderStyle::initialMaskBoxImageSource>: :createHandler()); 1609 setPropertyHandler(CSSPropertyWebkitMaskBoxImageSource, ApplyPropertyBorderI mageSource<CSSPropertyWebkitMaskBoxImageSource, &RenderStyle::maskBoxImageSource , &RenderStyle::setMaskBoxImageSource, &RenderStyle::initialMaskBoxImageSource>: :createHandler());
1610 setPropertyHandler(CSSPropertyWebkitMaskBoxImageWidth, ApplyPropertyBorderIm ageModifier<BorderMask, Width>::createHandler()); 1610 setPropertyHandler(CSSPropertyWebkitMaskBoxImageWidth, ApplyPropertyBorderIm ageModifier<BorderMask, Width>::createHandler());
1611 setPropertyHandler(CSSPropertyWebkitPerspectiveOrigin, ApplyPropertyExpandin g<SuppressValue, CSSPropertyWebkitPerspectiveOriginX, CSSPropertyWebkitPerspecti veOriginY>::createHandler()); 1611 setPropertyHandler(CSSPropertyWebkitPerspectiveOrigin, ApplyPropertyExpandin g<SuppressValue, CSSPropertyWebkitPerspectiveOriginX, CSSPropertyWebkitPerspecti veOriginY>::createHandler());
1612 setPropertyHandler(CSSPropertyWebkitTextEmphasisStyle, ApplyPropertyTextEmph asisStyle::createHandler()); 1612 setPropertyHandler(CSSPropertyWebkitTextEmphasisStyle, ApplyPropertyTextEmph asisStyle::createHandler());
1613 setPropertyHandler(CSSPropertyWebkitTransformOriginZ, ApplyPropertyComputeLe ngth<float, &RenderStyle::transformOriginZ, &RenderStyle::setTransformOriginZ, & RenderStyle::initialTransformOriginZ>::createHandler()); 1613 setPropertyHandler(CSSPropertyWebkitTransformOriginZ, ApplyPropertyComputeLe ngth<float, &RenderStyle::transformOriginZ, &RenderStyle::setTransformOriginZ, & RenderStyle::initialTransformOriginZ>::createHandler());
1614 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat eHandler()); 1614 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat eHandler());
1615 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyShape<&RenderS tyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialShapeInsid e>::createHandler()); 1615 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyShape<&RenderS tyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialShapeInsid e>::createHandler());
1616 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyShape<&Render Style::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initialShapeOu tside>::createHandler()); 1616 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyShape<&Render Style::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initialShapeOu tside>::createHandler());
1617 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ()); 1617 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<float, &RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialL etterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandl er());
1618 } 1618 }
1619 1619
1620 1620
1621 } 1621 }
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebFontImpl.cpp ('k') | Source/core/page/animation/CSSPropertyAnimation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698