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

Unified Diff: trunk/Source/core/css/CSSFontValue.cpp

Issue 195823006: Revert 169264 "Add plumbing for font-stretch" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/Source/core/css/CSSFontValue.h ('k') | trunk/Source/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/css/CSSFontValue.cpp
===================================================================
--- trunk/Source/core/css/CSSFontValue.cpp (revision 169272)
+++ trunk/Source/core/css/CSSFontValue.cpp (working copy)
@@ -44,11 +44,6 @@
result.append(' ');
result.append(weight->cssText());
}
- if (stretch) {
- if (!result.isEmpty())
- result.append(' ');
- result.append(stretch->cssText());
- }
if (size) {
if (!result.isEmpty())
result.append(' ');
@@ -74,7 +69,6 @@
return compareCSSValuePtr(style, other.style)
&& compareCSSValuePtr(variant, other.variant)
&& compareCSSValuePtr(weight, other.weight)
- && compareCSSValuePtr(stretch, other.stretch)
&& compareCSSValuePtr(size, other.size)
&& compareCSSValuePtr(lineHeight, other.lineHeight)
&& compareCSSValuePtr(family, other.family);
@@ -82,10 +76,10 @@
void CSSFontValue::traceAfterDispatch(Visitor* visitor)
{
+
visitor->trace(style);
visitor->trace(variant);
visitor->trace(weight);
- visitor->trace(stretch);
visitor->trace(size);
visitor->trace(lineHeight);
visitor->trace(family);
« no previous file with comments | « trunk/Source/core/css/CSSFontValue.h ('k') | trunk/Source/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698