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

Unified Diff: Source/core/css/resolver/ViewportStyleResolver.cpp

Issue 15734030: Remove support for device-width|height for @viewport rule according to spec change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed comment Created 7 years, 6 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 | « Source/core/css/CSSValueKeywords.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/ViewportStyleResolver.cpp
diff --git a/Source/core/css/resolver/ViewportStyleResolver.cpp b/Source/core/css/resolver/ViewportStyleResolver.cpp
index 38a644d4e6bedadb8a7ae3331db1a805cdfee8da..7d2fce1fd20d9a37ea0bd3a2630919d000b91930 100644
--- a/Source/core/css/resolver/ViewportStyleResolver.cpp
+++ b/Source/core/css/resolver/ViewportStyleResolver.cpp
@@ -144,10 +144,6 @@ float ViewportStyleResolver::getViewportArgumentValue(CSSPropertyID id) const
switch (primitiveValue->getValueID()) {
case CSSValueAuto:
return defaultValue;
- case CSSValueDeviceHeight:
- return ViewportArguments::ValueDeviceHeight;
- case CSSValueDeviceWidth:
- return ViewportArguments::ValueDeviceWidth;
case CSSValueLandscape:
return ViewportArguments::ValueLandscape;
case CSSValuePortrait:
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698