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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h

Issue 2691093004: Fix orthogonal mode legacy mismatch (Closed)
Patch Set: CR fixes, removed odd IsParallelWritingMode Created 3 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/layout/ng/ng_writing_mode.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h b/third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h
index 4ada7d2778299fbf920cdac3174ff766f73cabaa..18b9108621b60da3e250dab6e35448a745512ee9 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h
@@ -20,6 +20,10 @@ enum NGWritingMode {
CORE_EXPORT NGWritingMode FromPlatformWritingMode(WritingMode);
+// Whether the child and the containing block are parallel to each other.
+// Example: vertical-rl and vertical-lr
+bool IsParallelWritingMode(NGWritingMode a, NGWritingMode b);
+
} // namespace blink
#endif // NGWritingMode_h

Powered by Google App Engine
This is Rietveld 408576698