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

Unified Diff: Source/core/layout/LayoutRubyRun.h

Issue 1304993003: Fix Japanese line breaking rule before and after ruby (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mac_chromium_rel_ng bot is stuck, re-upload to see if it fixes Created 5 years, 4 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 | « LayoutTests/fast/ruby/line-break-ruby.html ('k') | Source/core/layout/LayoutRubyRun.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutRubyRun.h
diff --git a/Source/core/layout/LayoutRubyRun.h b/Source/core/layout/LayoutRubyRun.h
index 7d4b6b576450619415239fa841a0691c0f64a2ff..7c90a25e021a4a6235eefa1851c8c6d08f3f390a 100644
--- a/Source/core/layout/LayoutRubyRun.h
+++ b/Source/core/layout/LayoutRubyRun.h
@@ -62,6 +62,8 @@ public:
static LayoutRubyRun* staticCreateRubyRun(const LayoutObject* parentRuby);
+ bool canBreakBefore(const LazyLineBreakIterator&) const;
+
const char* name() const override { return "LayoutRubyRun"; }
protected:
« no previous file with comments | « LayoutTests/fast/ruby/line-break-ruby.html ('k') | Source/core/layout/LayoutRubyRun.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698