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

Unified Diff: Source/web/PopupMenuImpl.cpp

Issue 1270723002: Improve CSS Style matching spec compliance (Closed) Base URL: git@github.com:drott/blink-crosswalk.git@reimplementMatching
Patch Set: stdlib instead of MathExtras Created 5 years, 4 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
Index: Source/web/PopupMenuImpl.cpp
diff --git a/Source/web/PopupMenuImpl.cpp b/Source/web/PopupMenuImpl.cpp
index 4535c94da90ecbd94a5f2f898448c54789ea73c6..65f6e092cb84ef15772660e2a49b9501e40d3bb0 100644
--- a/Source/web/PopupMenuImpl.cpp
+++ b/Source/web/PopupMenuImpl.cpp
@@ -68,11 +68,15 @@ const char* fontVariantToString(FontVariant variant)
return nullptr;
}
+// TODO crbug.com/516675 Add stretch to serialization
tkent 2015/08/20 08:22:33 should be TODO(drott).
+
const char* fontStyleToString(FontStyle style)
{
switch (style) {
case FontStyleNormal:
return "normal";
+ case FontStyleOblique:
+ return "oblique";
case FontStyleItalic:
return "italic";
}
« LayoutTests/TestExpectations ('K') | « Source/platform/fonts/win/FontCacheSkiaWin.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698