[Webkit-unassigned] [Bug 121130] Unexpected word wrapping for wrapped content then raw content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 10 18:38:55 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=121130





--- Comment #4 from Joseph Pecoraro <joepeck at webkit.org>  2013-09-10 18:38:08 PST ---
So it looks like the "!current.m_pos" in this case might be mis-diagnosing input as an empty inline element?

+        } else if (!width.committedWidth() && (!current.m_obj || !current.m_obj->isBR()) && !current.m_pos) {
+            // Do not push the current object to the next line, when this line has some content, but it is still considered empty.
+            // Empty inline elements like <span></span> can produce such lines and now we just ignore these break opportunities
+            // at the start of a line, if no width has been committed yet.
+            // Behave as if it was actually empty and consume at least one object.
+            lBreak.increment();
         }

Zalan, any ideas?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list