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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 2821843002: Delete deprecated properties zoom:reset and zoom:document. (Closed)
Patch Set: rebase-update Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
index b44925bed08f099a2ad791ae7fb6780cdcfc35e9..d9a49cbf41c5da51936754072342c503d0f29c72 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
@@ -552,15 +552,6 @@ void StyleBuilderFunctions::applyValueCSSPropertyZoom(StyleResolverState& state,
if (identifier_value.GetValueID() == CSSValueNormal) {
ResetEffectiveZoom(state);
state.SetZoom(ComputedStyle::InitialZoom());
- } else if (identifier_value.GetValueID() == CSSValueReset) {
- state.SetEffectiveZoom(ComputedStyle::InitialZoom());
- state.SetZoom(ComputedStyle::InitialZoom());
- } else if (identifier_value.GetValueID() == CSSValueDocument) {
- float doc_zoom = state.RootElementStyle()
- ? state.RootElementStyle()->Zoom()
- : ComputedStyle::InitialZoom();
- state.SetEffectiveZoom(doc_zoom);
- state.SetZoom(doc_zoom);
}
} else if (value.IsPrimitiveValue()) {
const CSSPrimitiveValue& primitive_value = ToCSSPrimitiveValue(value);

Powered by Google App Engine
This is Rietveld 408576698