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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 1720063002: Spec-compliant shorthand parsing of foo-break-(after,before,inside). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 4566ed639956caa1ca4aeb02849b6c18cbbab74d..19da7afb077d7826c3fba488e08a0ac4a019bbe8 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -1331,9 +1331,6 @@ static EBreak mapToPageBreakValue(EBreak genericBreakValue)
case BreakRecto:
case BreakVerso:
return BreakAuto;
- case BreakLeft:
- case BreakRight:
- // TODO(mstensho): "left" and "right" should simply be mapped to that, not "always", according to spec.
case BreakPage:
return BreakAlways;
case BreakAvoidPage:

Powered by Google App Engine
This is Rietveld 408576698