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

Side by Side Diff: Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 17450016: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Applied code review suggestions. Also rebased. Created 6 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
11 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
11 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 12 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
12 * Redistribution and use in source and binary forms, with or without 13 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions are 14 * modification, are permitted provided that the following conditions are
14 * met: 15 * met:
15 * 16 *
16 * * Redistributions of source code must retain the above copyright 17 * * Redistributions of source code must retain the above copyright
17 * notice, this list of conditions and the following disclaimer. 18 * notice, this list of conditions and the following disclaimer.
18 * * Redistributions in binary form must reproduce the above 19 * * Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following disclaimer 20 * copyright notice, this list of conditions and the following disclaimer
20 * in the documentation and/or other materials provided with the 21 * in the documentation and/or other materials provided with the
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include "core/frame/LocalFrame.h" 71 #include "core/frame/LocalFrame.h"
71 #include "core/frame/Settings.h" 72 #include "core/frame/Settings.h"
72 #include "core/rendering/style/CounterContent.h" 73 #include "core/rendering/style/CounterContent.h"
73 #include "core/rendering/style/CursorList.h" 74 #include "core/rendering/style/CursorList.h"
74 #include "core/rendering/style/QuotesData.h" 75 #include "core/rendering/style/QuotesData.h"
75 #include "core/rendering/style/RenderStyle.h" 76 #include "core/rendering/style/RenderStyle.h"
76 #include "core/rendering/style/RenderStyleConstants.h" 77 #include "core/rendering/style/RenderStyleConstants.h"
77 #include "core/rendering/style/SVGRenderStyle.h" 78 #include "core/rendering/style/SVGRenderStyle.h"
78 #include "core/rendering/style/SVGRenderStyleDefs.h" 79 #include "core/rendering/style/SVGRenderStyleDefs.h"
79 #include "core/rendering/style/StyleGeneratedImage.h" 80 #include "core/rendering/style/StyleGeneratedImage.h"
81 #include "core/rendering/style/StyleNavigationValue.h"
fs 2014/04/17 15:33:48 Still needed?
Krzysztof Olczyk 2014/09/30 15:41:47 Done.
80 #include "core/svg/SVGPaint.h" 82 #include "core/svg/SVGPaint.h"
81 #include "platform/fonts/FontDescription.h" 83 #include "platform/fonts/FontDescription.h"
82 #include "wtf/MathExtras.h" 84 #include "wtf/MathExtras.h"
83 #include "wtf/StdLibExtras.h" 85 #include "wtf/StdLibExtras.h"
84 #include "wtf/Vector.h" 86 #include "wtf/Vector.h"
85 87
86 namespace WebCore { 88 namespace WebCore {
87 89
88 static Length clipConvertToLength(StyleResolverState& state, CSSPrimitiveValue* value) 90 static Length clipConvertToLength(StyleResolverState& state, CSSPrimitiveValue* value)
89 { 91 {
(...skipping 1848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 case CSSPropertyListStyleType: 1940 case CSSPropertyListStyleType:
1939 case CSSPropertyMarginBottom: 1941 case CSSPropertyMarginBottom:
1940 case CSSPropertyMarginLeft: 1942 case CSSPropertyMarginLeft:
1941 case CSSPropertyMarginRight: 1943 case CSSPropertyMarginRight:
1942 case CSSPropertyMarginTop: 1944 case CSSPropertyMarginTop:
1943 case CSSPropertyMaxHeight: 1945 case CSSPropertyMaxHeight:
1944 case CSSPropertyMaxWidth: 1946 case CSSPropertyMaxWidth:
1945 case CSSPropertyMinHeight: 1947 case CSSPropertyMinHeight:
1946 case CSSPropertyMixBlendMode: 1948 case CSSPropertyMixBlendMode:
1947 case CSSPropertyMinWidth: 1949 case CSSPropertyMinWidth:
1950 case CSSPropertyNavDown:
1951 case CSSPropertyNavLeft:
1952 case CSSPropertyNavRight:
1953 case CSSPropertyNavUp:
1948 case CSSPropertyObjectFit: 1954 case CSSPropertyObjectFit:
1949 case CSSPropertyOpacity: 1955 case CSSPropertyOpacity:
1950 case CSSPropertyOrphans: 1956 case CSSPropertyOrphans:
1951 case CSSPropertyOutlineColor: 1957 case CSSPropertyOutlineColor:
1952 case CSSPropertyOutlineOffset: 1958 case CSSPropertyOutlineOffset:
1953 case CSSPropertyOutlineStyle: 1959 case CSSPropertyOutlineStyle:
1954 case CSSPropertyOutlineWidth: 1960 case CSSPropertyOutlineWidth:
1955 case CSSPropertyOverflowWrap: 1961 case CSSPropertyOverflowWrap:
1956 case CSSPropertyOverflowX: 1962 case CSSPropertyOverflowX:
1957 case CSSPropertyOverflowY: 1963 case CSSPropertyOverflowY:
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 break; 2296 break;
2291 } 2297 }
2292 case CSSPropertyEnableBackground: 2298 case CSSPropertyEnableBackground:
2293 // Silently ignoring this property for now 2299 // Silently ignoring this property for now
2294 // http://bugs.webkit.org/show_bug.cgi?id=6022 2300 // http://bugs.webkit.org/show_bug.cgi?id=6022
2295 break; 2301 break;
2296 } 2302 }
2297 } 2303 }
2298 2304
2299 } // namespace WebCore 2305 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698