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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutDetailsMarker.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/core/layout/LayoutDetailsMarker.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutDetailsMarker.cpp b/third_party/WebKit/Source/core/layout/LayoutDetailsMarker.cpp
index cf64955eaec4fdf6ddcbec49765f1d818c9c45ae..acab5024299505368a440176f9a2aefecc5dd245 100644
--- a/third_party/WebKit/Source/core/layout/LayoutDetailsMarker.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutDetailsMarker.cpp
@@ -50,11 +50,8 @@ LayoutDetailsMarker::Orientation LayoutDetailsMarker::orientation() const
if (style()->isLeftToRightDirection())
return isOpen() ? Right : Down;
return isOpen() ? Right : Up;
- case BottomToTopWritingMode:
- if (style()->isLeftToRightDirection())
- return isOpen() ? Up : Right;
- return isOpen() ? Up : Left;
}
+ ASSERT_NOT_REACHED();
return Right;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698