⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 249290 in webkit


Ignore:
Timestamp:
Aug 29, 2019, 1:48:02 PM (7 years ago)
Author:
Alan Bujtas
Message:

[LFC] Inline content logging should have some extra space for better readability
https://bugs.webkit.org/show_bug.cgi?id=201236
<rdar://problem/54807336>

Reviewed by Antti Koivisto.

  • layout/layouttree/LayoutTreeBuilder.cpp:

(WebCore::Layout::outputInlineRuns):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r249289 r249290  
     12019-08-29  Zalan Bujtas  <zalan@apple.com>
     2
     3        [LFC] Inline content logging should have some extra space for better readability
     4        https://bugs.webkit.org/show_bug.cgi?id=201236
     5        <rdar://problem/54807336>
     6
     7        Reviewed by Antti Koivisto.
     8
     9        * layout/layouttree/LayoutTreeBuilder.cpp:
     10        (WebCore::Layout::outputInlineRuns):
     11
    1122019-08-29  Zalan Bujtas  <zalan@apple.com>
    213
  • trunk/Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp

    r249086 r249290  
    251251
    252252    unsigned printedCharacters = 0;
    253     while (++printedCharacters <= depth * 3)
     253    while (++printedCharacters <= depth * 2)
    254254        stream << " ";
     255    stream << "  ";
    255256
    256257    stream << "lines are -> ";
     
    261262    for (auto& inlineRun : inlineRuns) {
    262263        unsigned printedCharacters = 0;
    263         while (++printedCharacters <= depth * 3)
     264        while (++printedCharacters <= depth * 2)
    264265            stream << " ";
     266        stream << "  ";
    265267        if (inlineRun->textContext())
    266268            stream << "inline text box";
Note: See TracChangeset for help on using the changeset viewer.