Mid-word break can occur between a character and a combining mark
[WebKit-https.git] / Source / WebCore / ChangeLog
index 58c3aa806cec48a319ef6ba111c19bd9e94cd5af..65911fa038eb3c7bdaeed20a86992d2b89757ee7 100644 (file)
@@ -1,3 +1,17 @@
+2011-08-18  Dan Bernstein  <mitz@apple.com>
+
+        Mid-word break can occur between a character and a combining mark
+        https://bugs.webkit.org/show_bug.cgi?id=66529
+
+        Reviewed by Simon Fraser.
+
+        No test added because I could not find a combining mark with a non-zero advance in
+        any of the system fonts and tests fonts. 
+
+        * rendering/RenderBlockLineLayout.cpp:
+        (WebCore::RenderBlock::LineBreaker::nextLineBreak): Disallow a mid-word break before a
+        combining mark.
+
 2011-08-18  Kent Tamura  <tkent@chromium.org>
 
         REGRESSION(r90971): Null pointer dereference with placeholder and webkit-scrollbar-corner