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

Unified Diff: third_party/WebKit/Source/platform/LengthBox.cpp

Issue 1419813004: Remove the "horizontal-bt" value from -webkit-writing-mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add static_assert to ensure TransformedWritingMode matches to WritingMode Created 5 years, 2 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/platform/LengthBox.cpp
diff --git a/third_party/WebKit/Source/platform/LengthBox.cpp b/third_party/WebKit/Source/platform/LengthBox.cpp
index 5afe9d2a0bced38f3d15d19de31b81009b38ba04..071d67b5c0c6231762be54d1f9ce378c05a36ee6 100644
--- a/third_party/WebKit/Source/platform/LengthBox.cpp
+++ b/third_party/WebKit/Source/platform/LengthBox.cpp
@@ -48,8 +48,6 @@ const Length& LengthBox::before(WritingMode writingMode) const
switch (writingMode) {
case TopToBottomWritingMode:
return m_top;
- case BottomToTopWritingMode:
- return m_bottom;
case LeftToRightWritingMode:
return m_left;
case RightToLeftWritingMode:
@@ -64,8 +62,6 @@ const Length& LengthBox::after(WritingMode writingMode) const
switch (writingMode) {
case TopToBottomWritingMode:
return m_bottom;
- case BottomToTopWritingMode:
- return m_top;
case LeftToRightWritingMode:
return m_right;
case RightToLeftWritingMode:

Powered by Google App Engine
This is Rietveld 408576698