Changeset 147939 in webkit
- Timestamp:
- Apr 8, 2013 11:38:26 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147937 r147939 1 2013-04-08 Robert Hogan <robert@webkit.org> 2 3 Unreviewed, rolling out r147850. 4 http://trac.webkit.org/changeset/147850 5 https://bugs.webkit.org/show_bug.cgi?id=113706 6 7 Changeset crossed paths with 147505, which is the same fix. 8 9 * fast/inline/inline-with-empty-inline-children-expected.txt: 10 * fast/inline/inline-with-empty-inline-children.html: 11 1 12 2013-04-08 Max Vujovic <mvujovic@adobe.com> 2 13 -
trunk/LayoutTests/fast/inline/inline-with-empty-inline-children-expected.txt
r147850 r147939 1 https://bugs.webkit.org/show_bug.cgi?id=95772: There should be s evengreen bars below with a PASS in each.1 https://bugs.webkit.org/show_bug.cgi?id=95772: There should be six green bars below with a PASS in each. 2 2 3 3 PASS … … 7 7 PASS 8 8 PASS 9 Words10 PASS11 9 -
trunk/LayoutTests/fast/inline/inline-with-empty-inline-children.html
r147850 r147939 5 5 .block { display: block; background: green; } 6 6 .inline { display: inline; margin-left: 40px; font: 30px/1 Ahem;} 7 .white-span { width: 50%; background: white; }7 span { width: 50%; background: white; } 8 8 .absolute { position: absolute; } 9 9 .float { float: left; } 10 .inline-span { display: inline-block; }11 10 </style> 12 11 <script src="../../resources/check-layout.js"></script> 13 12 </head> 14 13 <body> 15 <p> https://bugs.webkit.org/show_bug.cgi?id=95772: There should be s evengreen bars below with a PASS in each. </p>14 <p> https://bugs.webkit.org/show_bug.cgi?id=95772: There should be six green bars below with a PASS in each. </p> 16 15 <div class="block"> 17 <div class="inline" data-expected-height="30"> <span class="absolute white-span"></span> <span class="absolute white-span"></span> </div>16 <div class="inline" data-expected-height="30"> <span class="absolute"></span> <span class="absolute"></span> </div> 18 17 </div> 19 18 <div class="block"> 20 <div class="inline" data-expected-height="30"><span class="absolute white-span"></span><span class="absolute"></span></div>19 <div class="inline" data-expected-height="30"><span class="absolute"></span><span class="absolute"></span></div> 21 20 </div> 22 21 <div class="block"> 23 <div class="inline" data-expected-height="30"><span class="float white-span"></span><span class="float white-span"></span></div>22 <div class="inline" data-expected-height="30"><span class="float"></span><span class="float"></span></div> 24 23 </div> 25 24 <div class="block"> 26 <div class="inline" data-expected-height="30"> <span class="float white-span"></span> <span class="float white-span"></span></div>25 <div class="inline" data-expected-height="30"> <span class="float"></span> <span class="float"></span></div> 27 26 </div> 28 27 <div class="block"> 29 <div class="inline" data-expected-height="30"><span class="white-span"></span><span class="white-span"></span></div>28 <div class="inline" data-expected-height="30"><span></span><span></span></div> 30 29 </div> 31 30 <div class="block"> 32 <div class="inline" data-expected-height="30"> <span class="white-span"></span> <span class="white-span"></span></div> 33 </div> 34 <div class="block"> 35 <span class="inline-span" data-expected-height="30"><div class="inline"> <div class="float"> Words </div></div></span> 31 <div class="inline" data-expected-height="30"> <span></span> <span></span></div> 36 32 </div> 37 33 <script> 38 34 checkLayout('body > div > div') 39 checkLayout('body > div > span')40 35 </script> 41 36 </body> -
trunk/Source/WebCore/ChangeLog
r147938 r147939 1 2013-04-08 Robert Hogan <robert@webkit.org> 2 3 Unreviewed, rolling out r147850. 4 http://trac.webkit.org/changeset/147850 5 https://bugs.webkit.org/show_bug.cgi?id=113706 6 7 Changeset crossed paths with 147505, which is the same fix. 8 9 * rendering/RenderBlockLineLayout.cpp: 10 (WebCore::inlineLogicalWidth): 11 1 12 2013-04-08 Alexey Proskuryakov <ap@apple.com> 2 13 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r147850 r147939 333 333 LayoutUnit extraWidth = 0; 334 334 RenderObject* parent = child->parent(); 335 // Empty inline parents have added their inline border, padding and margin to the line already. 336 while (parent->isRenderInline() && !isEmptyInline(parent) && lineDepth++ < cMaxLineDepth) { 335 while (parent->isRenderInline() && lineDepth++ < cMaxLineDepth) { 337 336 RenderInline* parentAsRenderInline = toRenderInline(parent); 338 337 if (!isEmptyInline(parentAsRenderInline)) {
Note: See TracChangeset
for help on using the changeset viewer.