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

Unified Diff: third_party/WebKit/Source/core/dom/Text.cpp

Issue 2757563006: Floats are also out-of-flow considering white-space. (Closed)
Patch Set: Fixed test expectations. Created 3 years, 9 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 | « third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Text.cpp
diff --git a/third_party/WebKit/Source/core/dom/Text.cpp b/third_party/WebKit/Source/core/dom/Text.cpp
index f7510db221c66b2fa789c6941755e9002380f1fa..febc0607f8fa777b23fda6f6ed62e90b00d7d5e6 100644
--- a/third_party/WebKit/Source/core/dom/Text.cpp
+++ b/third_party/WebKit/Source/core/dom/Text.cpp
@@ -295,7 +295,7 @@ bool Text::textLayoutObjectIsNeeded(const ComputedStyle& style,
if (parent.isLayoutInline()) {
// <span><div/> <div/></span>
- if (prev && !prev->isInline() && !prev->isOutOfFlowPositioned())
+ if (prev && !prev->isInline() && !prev->isFloatingOrOutOfFlowPositioned())
return false;
} else {
if (parent.isLayoutBlock() && !parent.childrenInline() &&
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698