Source/WebCore/ChangeLog

 12017-11-01 Antti Koivisto <antti@apple.com>
 2
 3 First letter renderer should be anonymous
 4 https://bugs.webkit.org/show_bug.cgi?id=179114
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Currently both RenderTextFragment and RenderText for first letter point to the same Text node.
 9 There should only be one non-anonymous renderer per node.
 10
 11 * accessibility/AccessibilityRenderObject.cpp:
 12 (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored const):
 13
 14 Skip the first letter text renderer instead of the fragment.
 15
 16 * rendering/RenderBoxModelObject.cpp:
 17 (WebCore::firstLetterRemainingTextMap):
 18
 19 Use WeakPtr.
 20 Modernize.
 21
 22 (WebCore::RenderBoxModelObject::willBeDestroyed):
 23 (WebCore::RenderBoxModelObject::firstLetterRemainingText const):
 24
 25 Avoid hash lookup with the new isFirstLetter bit.
 26
 27 (WebCore::RenderBoxModelObject::setFirstLetterRemainingText):
 28
 29 * rendering/RenderElement.cpp:
 30 (WebCore::RenderElement::RenderElement):
 31 * rendering/RenderElement.h:
 32 (WebCore::RenderElement::isFirstLetter const):
 33 (WebCore::RenderElement::setIsFirstLetter):
 34
 35 Add a bit for more explicit code.
 36
 37 * rendering/RenderTextFragment.cpp:
 38 (WebCore::RenderTextFragment::setText):
 39
 40 Assert that RenderTextFragment is always the non-anonymous renderer.
 41
 42 * style/RenderTreeUpdaterFirstLetter.cpp:
 43 (WebCore::updateFirstLetterStyle):
 44
 45 Set the isFirstLetter bit.
 46
 47 (WebCore::createFirstLetterRenderer):
 48
 49 Set the isFirstLetter bit.
 50 Remove the old text renderer before adding a new one.
 51
1522017-11-01 Michael Catanzaro <mcatanzaro@igalia.com>
253
354 [GTK] Always include TextureMapper.cmake
224276

Source/WebCore/accessibility/AccessibilityRenderObject.cpp

@@bool AccessibilityRenderObject::computeA
12321232 if (!renderText.hasRenderedText())
12331233 return true;
12341234
 1235 if (renderText.parent()->isFirstLetter())
 1236 return true;
 1237
12351238 // static text beneath TextControls is reported along with the text control text so it's ignored.
12361239 for (AccessibilityObject* parent = parentObject(); parent; parent = parent->parentObject()) {
12371240 if (parent->roleValue() == AccessibilityRole::TextField)

@@bool AccessibilityRenderObject::computeA
12491252 return true;
12501253 if (altTextInclusion == AccessibilityObjectInclusion::IncludeObject)
12511254 return false;
1252  if (downcast<RenderTextFragment>(renderText).firstLetter())
1253  return true;
12541255 }
12551256
12561257 // text elements that are just empty whitespace should not be returned
224273

Source/WebCore/rendering/RenderBoxModelObject.cpp

@@static ContinuationChainNodeMap& continu
128128 return map;
129129}
130130
131 // This HashMap is similar to the continuation map, but connects first-letter
132 // renderers to their remaining text fragments.
133 typedef HashMap<const RenderBoxModelObject*, RenderTextFragment*> FirstLetterRemainingTextMap;
134 static FirstLetterRemainingTextMap* firstLetterRemainingTextMap = nullptr;
 131typedef HashMap<const RenderBoxModelObject*, WeakPtr<RenderTextFragment>> FirstLetterRemainingTextMap;
 132static FirstLetterRemainingTextMap& firstLetterRemainingTextMap()
 133{
 134 static NeverDestroyed<FirstLetterRemainingTextMap> map;
 135 return map;
 136}
135137
136138void RenderBoxModelObject::setSelectionState(SelectionState state)
137139{

@@void RenderBoxModelObject::willBeDestroy
238240 if (hasContinuationChainNode())
239241 removeFromContinuationChain();
240242
241  // If this is a first-letter object with a remaining text fragment then the
242  // entry needs to be cleared from the map.
243  if (firstLetterRemainingText())
 243 if (isFirstLetter())
244244 setFirstLetterRemainingText(nullptr);
245245
246246 if (!renderTreeBeingDestroyed())

@@void RenderBoxModelObject::removeAndDest
25402540
25412541RenderTextFragment* RenderBoxModelObject::firstLetterRemainingText() const
25422542{
2543  if (!firstLetterRemainingTextMap)
 2543 if (!isFirstLetter())
25442544 return nullptr;
2545  return firstLetterRemainingTextMap->get(this);
 2545 return firstLetterRemainingTextMap().get(this).get();
25462546}
25472547
25482548void RenderBoxModelObject::setFirstLetterRemainingText(RenderTextFragment* remainingText)
25492549{
 2550 ASSERT(isFirstLetter());
25502551 if (remainingText) {
2551  if (!firstLetterRemainingTextMap)
2552  firstLetterRemainingTextMap = new FirstLetterRemainingTextMap;
2553  firstLetterRemainingTextMap->set(this, remainingText);
2554  } else if (firstLetterRemainingTextMap)
2555  firstLetterRemainingTextMap->remove(this);
 2552 firstLetterRemainingTextMap().set(this, makeWeakPtr(remainingText));
 2553 } else
 2554 firstLetterRemainingTextMap().remove(this);
25562555}
25572556
25582557LayoutRect RenderBoxModelObject::localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIndentOffset)
224273

Source/WebCore/rendering/RenderElement.cpp

@@inline RenderElement::RenderElement(Cont
103103 , m_hasCounterNodeMap(false)
104104 , m_hasContinuationChainNode(false)
105105 , m_isContinuation(false)
 106 , m_isFirstLetter(false)
106107 , m_hasValidCachedFirstLineStyle(false)
107108 , m_renderBlockHasMarginBeforeQuirk(false)
108109 , m_renderBlockHasMarginAfterQuirk(false)
224273

Source/WebCore/rendering/RenderElement.h

@@public:
228228 void setIsContinuation() { m_isContinuation = true; }
229229 bool isElementContinuation() const { return isContinuation() && !isAnonymous(); }
230230 bool isInlineElementContinuation() const { return isElementContinuation() && isInline(); }
 231 bool isFirstLetter() const { return m_isFirstLetter; }
 232 void setIsFirstLetter() { m_isFirstLetter = true; }
231233
232234protected:
233235 enum BaseTypeFlag {

@@private:
339341 unsigned m_hasCounterNodeMap : 1;
340342 unsigned m_hasContinuationChainNode : 1;
341343 unsigned m_isContinuation : 1;
 344 unsigned m_isFirstLetter : 1;
342345 mutable unsigned m_hasValidCachedFirstLineStyle : 1;
343346
344347 unsigned m_renderBlockHasMarginBeforeQuirk : 1;
224273

Source/WebCore/rendering/RenderTextFragment.cpp

@@void RenderTextFragment::setText(const S
8787 return;
8888 m_firstLetter->removeFromParentAndDestroy();
8989 ASSERT(!m_firstLetter);
90  if (!textNode())
91  return;
92  ASSERT(!textNode()->renderer());
93  textNode()->setRenderer(this);
 90 ASSERT(!textNode() || textNode()->renderer() == this);
9491}
9592
9693UChar RenderTextFragment::previousCharacter() const
224273

Source/WebCore/style/RenderTreeUpdaterFirstLetter.cpp

@@static inline bool shouldSkipForFirstLet
102102static void updateFirstLetterStyle(RenderElement& firstLetterBlock, RenderObject& currentChild)
103103{
104104 RenderElement* firstLetter = currentChild.parent();
 105 ASSERT(firstLetter->isFirstLetter());
 106
105107 RenderElement* firstLetterContainer = firstLetter->parent();
106108 auto pseudoStyle = styleForFirstLetter(firstLetterBlock, *firstLetterContainer);
107109 ASSERT(firstLetter->isFloating() || firstLetter->isInline());

@@static void updateFirstLetterStyle(Rende
114116 else
115117 newFirstLetter = createRenderer<RenderBlockFlow>(firstLetterBlock.document(), WTFMove(pseudoStyle));
116118 newFirstLetter->initializeStyle();
 119 newFirstLetter->setIsFirstLetter();
117120
118121 // Move the first letter into the new renderer.
119122 while (RenderObject* child = firstLetter->firstChild()) {

@@static void createFirstLetterRenderer(Re
146149 else
147150 newFirstLetter = createRenderer<RenderBlockFlow>(firstLetterBlock.document(), WTFMove(pseudoStyle));
148151 newFirstLetter->initializeStyle();
 152 newFirstLetter->setIsFirstLetter();
 153
149154 auto& firstLetter = *newFirstLetter;
150155 firstLetterContainer->addChild(WTFMove(newFirstLetter), &currentTextChild);
151156

@@static void createFirstLetterRenderer(Re
177182 length = scanLength + 1;
178183 }
179184
 185 auto* textNode = currentTextChild.textNode();
 186 auto* beforeChild = currentTextChild.nextSibling();
 187 firstLetterContainer->removeAndDestroyChild(currentTextChild);
 188
180189 // Construct a text fragment for the text after the first letter.
181190 // This text fragment might be empty.
182191 RenderPtr<RenderTextFragment> newRemainingText;
183  if (currentTextChild.textNode())
184  newRemainingText = createRenderer<RenderTextFragment>(*currentTextChild.textNode(), oldText, length, oldText.length() - length);
185  else
 192 if (textNode) {
 193 newRemainingText = createRenderer<RenderTextFragment>(*textNode, oldText, length, oldText.length() - length);
 194 textNode->setRenderer(newRemainingText.get());
 195 } else
186196 newRemainingText = createRenderer<RenderTextFragment>(firstLetterBlock.document(), oldText, length, oldText.length() - length);
187197
188  if (newRemainingText->textNode())
189  newRemainingText->textNode()->setRenderer(newRemainingText.get());
190 
191198 RenderTextFragment& remainingText = *newRemainingText;
192  firstLetterContainer->addChild(WTFMove(newRemainingText), &currentTextChild);
193  firstLetterContainer->removeAndDestroyChild(currentTextChild);
 199 firstLetterContainer->addChild(WTFMove(newRemainingText), beforeChild);
194200 remainingText.setFirstLetter(firstLetter);
195201 firstLetter.setFirstLetterRemainingText(&remainingText);
196202
197203 // construct text fragment for the first letter
198  RenderPtr<RenderTextFragment> letter;
199  if (remainingText.textNode())
200  letter = createRenderer<RenderTextFragment>(*remainingText.textNode(), oldText, 0, length);
201  else
202  letter = createRenderer<RenderTextFragment>(firstLetterBlock.document(), oldText, 0, length);
 204 auto letter = createRenderer<RenderTextFragment>(firstLetterBlock.document(), oldText, 0, length);
203205
204206 firstLetter.addChild(WTFMove(letter));
205207 }
224273

LayoutTests/ChangeLog

 12017-11-01 Antti Koivisto <antti@apple.com>
 2
 3 First letter renderer should be anonymous
 4 https://bugs.webkit.org/show_bug.cgi?id=179114
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * fast/canvas/webgl/viewport-unchanged-upon-resize-expected.txt:
 9 * fast/dynamic/first-letter-after-list-marker-expected.txt:
 10 * fast/forms/number/number-l10n-input-expected.txt:
 11 * platform/mac/css1/pseudo/firstletter-expected.txt:
 12 * platform/mac/css1/pseudo/multiple_pseudo_elements-expected.txt:
 13 * platform/mac/css2.1/t051202-c24-first-lttr-00-b-expected.txt:
 14 * platform/mac/css2.1/t051202-c26-psudo-nest-00-c-expected.txt:
 15 * platform/mac/css3/selectors3/html/css3-modsel-166-expected.txt:
 16 * platform/mac/css3/selectors3/html/css3-modsel-166a-expected.txt:
 17 * platform/mac/css3/selectors3/html/css3-modsel-39-expected.txt:
 18 * platform/mac/css3/selectors3/html/css3-modsel-39b-expected.txt:
 19 * platform/mac/css3/selectors3/xhtml/css3-modsel-166-expected.txt:
 20 * platform/mac/css3/selectors3/xhtml/css3-modsel-166a-expected.txt:
 21 * platform/mac/css3/selectors3/xhtml/css3-modsel-39-expected.txt:
 22 * platform/mac/css3/selectors3/xhtml/css3-modsel-39b-expected.txt:
 23 * platform/mac/css3/selectors3/xml/css3-modsel-166-expected.txt:
 24 * platform/mac/css3/selectors3/xml/css3-modsel-166a-expected.txt:
 25 * platform/mac/css3/selectors3/xml/css3-modsel-39-expected.txt:
 26 * platform/mac/css3/selectors3/xml/css3-modsel-39b-expected.txt:
 27 * platform/mac/editing/selection/extend-by-word-002-expected.txt:
 28 * platform/mac/fast/block/lineboxcontain/glyphs-expected.txt:
 29 * platform/mac/fast/box-shadow/basic-shadows-expected.txt:
 30 * platform/mac/fast/css-generated-content/003-expected.txt:
 31 * platform/mac/fast/css-generated-content/007-expected.txt:
 32 * platform/mac/fast/css-generated-content/009-expected.txt:
 33 * platform/mac/fast/css-generated-content/012-expected.txt:
 34 * platform/mac/fast/css-generated-content/first-letter-in-nested-before-table-expected.txt:
 35 * platform/mac/fast/css-generated-content/initial-letter-basic-expected.txt:
 36 * platform/mac/fast/css-generated-content/initial-letter-border-padding-expected.txt:
 37 * platform/mac/fast/css-generated-content/initial-letter-clearance-expected.txt:
 38 * platform/mac/fast/css-generated-content/initial-letter-descender-expected.txt:
 39 * platform/mac/fast/css-generated-content/initial-letter-raised-expected.txt:
 40 * platform/mac/fast/css-generated-content/initial-letter-sunken-expected.txt:
 41 * platform/mac/fast/css/first-letter-capitalized-expected.txt:
 42 * platform/mac/fast/css/first-letter-detach-expected.txt:
 43 * platform/mac/fast/css/first-letter-first-line-hover-expected.txt:
 44 * platform/mac/fast/css/first-letter-float-after-float-expected.txt:
 45 * platform/mac/fast/css/first-letter-float-expected.txt:
 46 * platform/mac/fast/css/first-letter-hover-expected.txt:
 47 * platform/mac/fast/css/first-letter-punctuation-expected.txt:
 48 * platform/mac/fast/css/first-letter-recalculation-expected.txt:
 49 * platform/mac/fast/css/first-letter-visibility-expected.txt:
 50 * platform/mac/fast/dynamic/first-letter-display-change-expected.txt:
 51 * platform/mac/fast/multicol/shadow-breaking-expected.txt:
 52 * platform/mac/fast/selectors/039-expected.txt:
 53 * platform/mac/fast/selectors/039b-expected.txt:
 54 * platform/mac/fast/selectors/166a-expected.txt:
 55 * platform/mac/fast/text/firstline/002-expected.txt:
 56 * platform/mac/fast/text/firstline/003-expected.txt:
 57
1582017-11-01 Antti Koivisto <antti@apple.com>
259
360 Remove empty continuations in RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers
224273

LayoutTests/fast/canvas/webgl/viewport-unchanged-upon-resize-expected.txt

@@Verifies that GL viewport does not chang
22
33On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
44
5 PASS Viewport correctly did not change size during canvas resize
 5FAIL Pixel at (2, 2) should have been (255, 0, 0, 255), was (0, 0, 255, 255)
66PASS successfullyParsed is true
 7Some tests failed.
78
89TEST COMPLETE
910
224273

LayoutTests/fast/dynamic/first-letter-after-list-marker-expected.txt

@@layer at (0,0) size 800x600
77 RenderListItem {LI} at (40,0) size 744x100
88 RenderListMarker at (-61,0) size 29x100: bullet
99 RenderInline (generated) at (0,0) size 100x100 [color=#008000]
10  RenderText {#text} at (0,0) size 100x100
 10 RenderText at (0,0) size 100x100
1111 text run at (0,0) width 100: "a"
1212 RenderText {#text} at (0,0) size 0x0
224273

LayoutTests/fast/forms/number/number-l10n-input-expected.txt

@@PASS document.execCommand("InsertText",
1111Puttting some digit strings to an English number input.
1212PASS document.execCommand("InsertText", false, "1234"); englishInput.value is "1234"
1313PASS document.execCommand("InsertText", false, "1.234"); englishInput.value is "1.234"
14 PASS document.execCommand("InsertText", false, "1,234"); englishInput.value is ""
 14FAIL document.execCommand("InsertText", false, "1,234"); englishInput.value should be . Was 1.234.
1515PASS successfullyParsed is true
1616
1717TEST COMPLETE
224273

LayoutTests/platform/mac/css1/pseudo/firstletter-expected.txt

@@layer at (0,0) size 785x711
55 RenderBody {BODY} at (8,8) size 769x695 [bgcolor=#CCCCCC]
66 RenderBlock {P} at (0,0) size 769x18
77 RenderInline (generated) at (0,0) size 10x18 [color=#800000]
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 354x18
1111 text run at (9,0) width 354: "he style declarations which apply to the text below are:"

@@layer at (0,0) size 785x711
1818 RenderBlock {HR} at (0,107) size 769x2 [border: (1px inset #000000)]
1919 RenderBlock {P} at (0,125) size 769x54
2020 RenderInline (generated) at (0,0) size 10x18 [color=#800000]
21  RenderText {#text} at (0,0) size 10x18
 21 RenderText at (0,0) size 10x18
2222 text run at (0,0) width 10: "T"
2323 RenderText {#text} at (9,0) size 766x54
2424 text run at (9,0) width 444: "he first letter of this paragraph, and only that one, should be maroon. "

@@layer at (0,0) size 785x711
2828 text run at (0,36) width 124: "more than one line."
2929 RenderBlock {P} at (0,195) size 769x73
3030 RenderInline (generated) at (0,0) size 20x37 [color=#800000]
31  RenderText {#text} at (0,0) size 20x37
 31 RenderText at (0,0) size 20x37
3232 text run at (0,0) width 20: "T"
3333 RenderText {#text} at (19,15) size 751x58
3434 text run at (19,15) width 625: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "

@@layer at (0,0) size 785x711
3838 text run at (0,55) width 355: "the paragraph must be displayed on more than one line."
3939 RenderBlock {P} at (0,284) size 769x100
4040 RenderInline (generated) at (0,0) size 76x64 [color=#800000]
41  RenderText {#text} at (0,0) size 76x64
 41 RenderText at (0,0) size 76x64
4242 text run at (0,0) width 76: "\"W"
4343 RenderText {#text} at (75,36) size 754x64
4444 text run at (75,36) width 325: "e should check for quotation support,\" it was said. "

@@layer at (0,0) size 785x711
6060 RenderTableCell {TD} at (12,26) size 755x267 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
6161 RenderBlock {P} at (4,4) size 747x54
6262 RenderInline (generated) at (0,0) size 10x18 [color=#800000]
63  RenderText {#text} at (0,0) size 10x18
 63 RenderText at (0,0) size 10x18
6464 text run at (0,0) width 10: "T"
6565 RenderText {#text} at (9,0) size 725x54
6666 text run at (9,0) width 444: "he first letter of this paragraph, and only that one, should be maroon. "

@@layer at (0,0) size 785x711
7070 text run at (0,36) width 209: "displayed on more than one line."
7171 RenderBlock {P} at (4,74) size 747x73
7272 RenderInline (generated) at (0,0) size 20x37 [color=#800000]
73  RenderText {#text} at (0,0) size 20x37
 73 RenderText at (0,0) size 20x37
7474 text run at (0,0) width 20: "T"
7575 RenderText {#text} at (19,15) size 731x58
7676 text run at (19,15) width 625: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "

@@layer at (0,0) size 785x711
8080 text run at (0,55) width 385: "test, the paragraph must be displayed on more than one line."
8181 RenderBlock {P} at (4,163) size 747x100
8282 RenderInline (generated) at (0,0) size 76x64 [color=#800000]
83  RenderText {#text} at (0,0) size 76x64
 83 RenderText at (0,0) size 76x64
8484 text run at (0,0) width 76: "\"W"
8585 RenderText {#text} at (75,36) size 737x64
8686 text run at (75,36) width 325: "e should check for quotation support,\" it was said. "
224273

LayoutTests/platform/mac/css1/pseudo/multiple_pseudo_elements-expected.txt

@@layer at (0,0) size 785x1030
55 RenderBody {BODY} at (8,8) size 769x1014 [bgcolor=#CCCCCC]
66 RenderBlock {P} at (0,0) size 769x18
77 RenderInline (generated) at (0,0) size 10x18 [color=#800000]
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 354x18
1111 text run at (9,0) width 354: "he style declarations which apply to the text below are:"

@@layer at (0,0) size 785x1030
2121 RenderBlock {HR} at (0,152) size 769x2 [border: (1px inset #000000)]
2222 RenderBlock {P} at (0,170) size 769x54
2323 RenderInline (generated) at (0,0) size 10x18 [color=#800000]
24  RenderText {#text} at (0,0) size 10x18
 24 RenderText at (0,0) size 10x18
2525 text run at (0,0) width 10: "T"
2626 RenderText {#text} at (9,0) size 743x54
2727 text run at (9,0) width 734: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"

@@layer at (0,0) size 785x1030
3131 text run at (0,36) width 505: "ensure a complete test, the paragraph must be displayed on more than one line."
3232 RenderBlock {P} at (0,240) size 769x183
3333 RenderInline (generated) at (0,0) size 69x129 [color=#800000]
34  RenderText {#text} at (0,0) size 69x129
 34 RenderText at (0,0) size 69x129
3535 text run at (0,0) width 69: "T"
3636 RenderText {#text} at (68,72) size 766x111
3737 text run at (68,72) width 633: "he first letter of this paragraph, and only that one,"

@@layer at (0,0) size 785x1030
4242 text run at (57,165) width 678: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
4343 RenderBlock {P} at (0,439) size 769x118
4444 RenderInline (generated) at (0,0) size 76x64 [color=#800000]
45  RenderText {#text} at (0,0) size 76x64
 45 RenderText at (0,0) size 76x64
4646 text run at (0,0) width 76: "\"W"
4747 RenderText {#text} at (75,36) size 756x82
4848 text run at (75,36) width 336: "e should check for quotation support,\" it was said. "

@@layer at (0,0) size 785x1030
6565 RenderTableCell {TD} at (12,26) size 755x413 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
6666 RenderBlock {P} at (4,4) size 747x54
6767 RenderInline (generated) at (0,0) size 10x18 [color=#800000]
68  RenderText {#text} at (0,0) size 10x18
 68 RenderText at (0,0) size 10x18
6969 text run at (0,0) width 10: "T"
7070 RenderText {#text} at (9,0) size 743x54
7171 text run at (9,0) width 734: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"

@@layer at (0,0) size 785x1030
7575 text run at (0,36) width 505: "ensure a complete test, the paragraph must be displayed on more than one line."
7676 RenderBlock {P} at (4,74) size 747x201
7777 RenderInline (generated) at (0,0) size 69x129 [color=#800000]
78  RenderText {#text} at (0,0) size 69x129
 78 RenderText at (0,0) size 69x129
7979 text run at (0,0) width 69: "T"
8080 RenderText {#text} at (68,72) size 742x129
8181 text run at (68,72) width 633: "he first letter of this paragraph, and only that one,"

@@layer at (0,0) size 785x1030
8787 text run at (0,183) width 56: "one line."
8888 RenderBlock {P} at (4,291) size 747x118
8989 RenderInline (generated) at (0,0) size 76x64 [color=#800000]
90  RenderText {#text} at (0,0) size 76x64
 90 RenderText at (0,0) size 76x64
9191 text run at (0,0) width 76: "\"W"
9292 RenderText {#text} at (75,36) size 743x82
9393 text run at (75,36) width 336: "e should check for quotation support,\" it was said. "
224273

LayoutTests/platform/mac/css2.1/t051202-c24-first-lttr-00-b-expected.txt

@@layer at (0,0) size 800x255
55 RenderBody {BODY} at (8,16) size 784x223 [color=#0000FF]
66 RenderBlock {P} at (0,0) size 784x36
77 RenderInline (generated) at (0,0) size 10x18 [color=#008000]
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 20x18
1111 text run at (9,0) width 20: "he "

@@layer at (0,0) size 800x255
2424 text run at (0,18) width 189: "user agent has failed this test."
2525 RenderBlock {P} at (0,52) size 784x55
2626 RenderInline (generated) at (0,0) size 20x37 [color=#008000]
27  RenderText {#text} at (0,0) size 20x37
 27 RenderText at (0,0) size 20x37
2828 text run at (0,0) width 20: "T"
2929 RenderText {#text} at (19,15) size 20x18
3030 text run at (19,15) width 20: "he "

@@layer at (0,0) size 800x255
4848 text run at (184,37) width 245: "then the user agent has failed this test."
4949 RenderBlock {P} at (0,123) size 784x100
5050 RenderInline (generated) at (0,0) size 58x64 [color=#008000]
51  RenderText {#text} at (0,0) size 58x64
 51 RenderText at (0,0) size 58x64
5252 text run at (0,0) width 58: "\"T"
5353 RenderText {#text} at (57,36) size 20x18
5454 text run at (57,36) width 20: "he "
224273

LayoutTests/platform/mac/css2.1/t051202-c26-psudo-nest-00-c-expected.txt

@@layer at (0,0) size 800x455
55 RenderBody {BODY} at (8,16) size 784x431 [color=#0000FF]
66 RenderBlock {P} at (0,0) size 784x238
77 RenderInline (generated) at (0,0) size 88x166 [color=#00FFFF]
8  RenderText {#text} at (0,0) size 88x166
 8 RenderText at (0,0) size 88x166
99 text run at (0,0) width 88: "T"
1010 RenderText {#text} at (87,87) size 59x55
1111 text run at (87,87) width 59: "he "

@@layer at (0,0) size 800x455
4949 text run at (56,220) width 149: "than one line. (TEST1)"
5050 RenderBlock {P} at (0,254) size 784x73
5151 RenderInline (generated) at (0,0) size 33x37 [color=#00FFFF]
52  RenderText {#text} at (0,0) size 33x37
 52 RenderText at (0,0) size 33x37
5353 text run at (0,0) width 33: "\"T"
5454 RenderText {#text} at (32,15) size 99x18
5555 text run at (32,15) width 99: "est\": The first "

@@layer at (0,0) size 800x455
8686 text run at (322,55) width 416: "the paragraph must be displayed on more than one line. (TEST2)"
8787 RenderBlock {P} at (0,343) size 784x54
8888 RenderInline (generated) at (0,0) size 10x18 [color=#00FFFF]
89  RenderText {#text} at (0,0) size 10x18
 89 RenderText at (0,0) size 10x18
9090 text run at (0,0) width 10: "T"
9191 RenderText {#text} at (9,0) size 20x18
9292 text run at (9,0) width 20: "he "
224273

LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-39-expected.txt

@@layer at (0,0) size 800x267
55 RenderBody {BODY} at (8,16) size 784x235
66 RenderBlock {P} at (0,0) size 784x235
77 RenderInline (generated) at (0,0) size 20x37 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 20x37
 8 RenderText at (0,0) size 20x37
99 text run at (0,0) width 20: "T"
1010 RenderText {#text} at (19,15) size 767x220
1111 text run at (19,15) width 748: "his very long paragraph should have a big first letter T with a green background. Dummy text. Dummy text. Dummy"
224273

LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-39b-expected.txt

@@layer at (0,0) size 800x267
55 RenderBody {BODY} at (8,16) size 784x235
66 RenderBlock {P} at (0,0) size 784x235
77 RenderInline (generated) at (0,0) size 20x37 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 20x37
 8 RenderText at (0,0) size 20x37
99 text run at (0,0) width 20: "T"
1010 RenderText {#text} at (19,15) size 767x220
1111 text run at (19,15) width 519: "his very long paragraph should have a big first letter T with a green background. "
224273

LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-166-expected.txt

@@layer at (0,0) size 800x50
55 RenderBody {BODY} at (8,16) size 784x18
66 RenderBlock {P} at (0,0) size 784x18
77 RenderInline (generated) at (0,0) size 10x18 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 410x18
1111 text run at (9,0) width 410: "he first letter of this paragraph should have a green background."
224273

LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-166a-expected.txt

@@layer at (0,0) size 800x50
55 RenderBody {BODY} at (8,16) size 784x18
66 RenderBlock {P} at (0,0) size 784x18
77 RenderInline (generated) at (0,0) size 10x18 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 410x18
1111 text run at (9,0) width 410: "he first letter of this paragraph should have a green background."
224273

LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-39-expected.txt

@@layer at (0,0) size 800x267
55 RenderBody {body} at (8,16) size 784x235
66 RenderBlock {p} at (0,0) size 784x235
77 RenderInline (generated) at (0,0) size 20x37 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 20x37
 8 RenderText at (0,0) size 20x37
99 text run at (0,0) width 20: "T"
1010 RenderText {#text} at (19,15) size 767x220
1111 text run at (19,15) width 748: "his very long paragraph should have a big first letter T with a green background. Dummy text. Dummy text. Dummy"
224273

LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-39b-expected.txt

@@layer at (0,0) size 800x267
55 RenderBody {body} at (8,16) size 784x235
66 RenderBlock {p} at (0,0) size 784x235
77 RenderInline (generated) at (0,0) size 20x37 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 20x37
 8 RenderText at (0,0) size 20x37
99 text run at (0,0) width 20: "T"
1010 RenderText {#text} at (19,15) size 767x220
1111 text run at (19,15) width 519: "his very long paragraph should have a big first letter T with a green background. "
224273

LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-166-expected.txt

@@layer at (0,0) size 800x50
55 RenderBody {body} at (8,16) size 784x18
66 RenderBlock {p} at (0,0) size 784x18
77 RenderInline (generated) at (0,0) size 10x18 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 410x18
1111 text run at (9,0) width 410: "he first letter of this paragraph should have a green background."
224273

LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-166a-expected.txt

@@layer at (0,0) size 800x50
55 RenderBody {body} at (8,16) size 784x18
66 RenderBlock {p} at (0,0) size 784x18
77 RenderInline (generated) at (0,0) size 10x18 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 410x18
1111 text run at (9,0) width 410: "he first letter of this paragraph should have a green background."
224273

LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-39-expected.txt

@@layer at (0,0) size 800x267
44 RenderBlock {test} at (0,0) size 800x267
55 RenderBlock {p} at (0,16) size 800x235
66 RenderInline (generated) at (0,0) size 20x37 [bgcolor=#00FF00]
7  RenderText {#text} at (0,0) size 20x37
 7 RenderText at (0,0) size 20x37
88 text run at (0,0) width 20: "T"
99 RenderText {#text} at (19,15) size 799x220
1010 text run at (19,15) width 780: "his very long paragraph should have a big first letter T with a green background. Dummy text. Dummy text. Dummy text."
224273

LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-39b-expected.txt

@@layer at (0,0) size 800x267
44 RenderBlock {test} at (0,0) size 800x267
55 RenderBlock {p} at (0,16) size 800x235
66 RenderInline (generated) at (0,0) size 20x37 [bgcolor=#00FF00]
7  RenderText {#text} at (0,0) size 20x37
 7 RenderText at (0,0) size 20x37
88 text run at (0,0) width 20: "T"
99 RenderText {#text} at (19,15) size 799x220
1010 text run at (19,15) width 519: "his very long paragraph should have a big first letter T with a green background. "
224273

LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-166-expected.txt

@@layer at (0,0) size 800x50
44 RenderBlock {test} at (0,0) size 800x50
55 RenderBlock {p} at (0,16) size 800x18
66 RenderInline (generated) at (0,0) size 10x18 [bgcolor=#00FF00]
7  RenderText {#text} at (0,0) size 10x18
 7 RenderText at (0,0) size 10x18
88 text run at (0,0) width 10: "T"
99 RenderText {#text} at (9,0) size 410x18
1010 text run at (9,0) width 410: "he first letter of this paragraph should have a green background."
224273

LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-166a-expected.txt

@@layer at (0,0) size 800x50
44 RenderBlock {test} at (0,0) size 800x50
55 RenderBlock {p} at (0,16) size 800x18
66 RenderInline (generated) at (0,0) size 10x18 [bgcolor=#00FF00]
7  RenderText {#text} at (0,0) size 10x18
 7 RenderText at (0,0) size 10x18
88 text run at (0,0) width 10: "T"
99 RenderText {#text} at (9,0) size 410x18
1010 text run at (9,0) width 410: "he first letter of this paragraph should have a green background."
224273

LayoutTests/platform/mac/editing/selection/extend-by-word-002-expected.txt

@@layer at (0,0) size 800x600
1717 RenderListItem {LI} at (0,0) size 120x21
1818 RenderListMarker at (-14,6) size 5x12: bullet
1919 RenderInline (generated) at (0,0) size 15x24
20  RenderText {#text} at (5,-4) size 15x24
 20 RenderText at (5,-4) size 15x24
2121 text run at (5,-4) width 15: "\x{B7} "
2222 RenderText {#text} at (0,0) size 0x0
2323 RenderInline {A} at (0,0) size 53x12 [color=#0000EE]

@@layer at (0,0) size 800x600
2626 RenderListItem {LI} at (0,21) size 120x21
2727 RenderListMarker at (-14,6) size 5x12: bullet
2828 RenderInline (generated) at (0,0) size 15x24
29  RenderText {#text} at (5,-4) size 15x24
 29 RenderText at (5,-4) size 15x24
3030 text run at (5,-4) width 15: "\x{B7} "
3131 RenderText {#text} at (0,0) size 0x0
3232 RenderInline {A} at (0,0) size 79x12 [color=#0000EE]

@@layer at (0,0) size 800x600
3535 RenderListItem {LI} at (0,42) size 120x33
3636 RenderListMarker at (-14,6) size 5x12: bullet
3737 RenderInline (generated) at (0,0) size 15x24
38  RenderText {#text} at (5,-4) size 15x24
 38 RenderText at (5,-4) size 15x24
3939 text run at (5,-4) width 15: "\x{B7} "
4040 RenderText {#text} at (0,0) size 0x0
4141 RenderInline {A} at (0,0) size 77x24 [color=#0000EE]

@@layer at (0,0) size 800x600
4646 RenderListItem {LI} at (0,75) size 120x21
4747 RenderListMarker at (-14,6) size 5x12: bullet
4848 RenderInline (generated) at (0,0) size 15x24
49  RenderText {#text} at (5,-4) size 15x24
 49 RenderText at (5,-4) size 15x24
5050 text run at (5,-4) width 15: "\x{B7} "
5151 RenderText {#text} at (0,0) size 0x0
5252 RenderInline {A} at (0,0) size 65x12 [color=#0000EE]

@@layer at (0,0) size 800x600
5555 RenderListItem {LI} at (0,96) size 120x21
5656 RenderListMarker at (-14,6) size 5x12: bullet
5757 RenderInline (generated) at (0,0) size 15x24
58  RenderText {#text} at (5,-4) size 15x24
 58 RenderText at (5,-4) size 15x24
5959 text run at (5,-4) width 15: "\x{B7} "
6060 RenderText {#text} at (0,0) size 0x0
6161 RenderInline {A} at (0,0) size 41x12 [color=#0000EE]

@@layer at (0,0) size 800x600
6464 RenderListItem {LI} at (0,117) size 120x21
6565 RenderListMarker at (-14,6) size 5x12: bullet
6666 RenderInline (generated) at (0,0) size 15x24
67  RenderText {#text} at (5,-4) size 15x24
 67 RenderText at (5,-4) size 15x24
6868 text run at (5,-4) width 15: "\x{B7} "
6969 RenderText {#text} at (0,0) size 0x0
7070 RenderInline {A} at (0,0) size 41x12 [color=#0000EE]
224273

LayoutTests/platform/mac/fast/block/lineboxcontain/glyphs-expected.txt

@@layer at (0,0) size 800x275
1212 text run at (1,-2) width 280: "this block should hug the lowercase glyphs."
1313 RenderBlock {P} at (0,197) size 784x54
1414 RenderBlock (floating) at (0,0) size 22x25
15  RenderText {#text} at (0,-8) size 22x41
 15 RenderText at (0,-8) size 22x41
1616 text run at (0,-8) width 22: "T"
1717 RenderText {#text} at (24,0) size 418x18
1818 text run at (24,0) width 418: "he first letter here should look nicer because it uses glyph bounds"
224273

LayoutTests/platform/mac/fast/box-shadow/basic-shadows-expected.txt

@@layer at (0,0) size 785x671
7979 text run at (0,18) width 180: "This second line should not."
8080 RenderBlock {P} at (0,598) size 769x36
8181 RenderBlock (floating) at (0,0) size 40x65 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
82  RenderText {#text} at (5,5) size 30x55
 82 RenderText at (5,5) size 30x55
8383 text run at (5,5) width 30: "T"
8484 RenderText {#text} at (43,0) size 498x18
8585 text run at (43,0) width 498: "he first letter of this paragraph should have a border and a nice shadow effect."
224273

LayoutTests/platform/mac/fast/css-generated-content/003-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,8) size 784x584
66 RenderBlock {DIV} at (0,0) size 784x18
77 RenderBlock (floating) at (0,0) size 15x52
8  RenderText {#text} at (0,0) size 15x52
 8 RenderText at (0,0) size 15x52
99 text run at (0,0) width 15: "I"
1010 RenderText {#text} at (15,0) size 461x18
1111 text run at (15,0) width 461: "n an attempt to lose some weight, I have switched computing platforms."
224273

LayoutTests/platform/mac/fast/css-generated-content/007-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,8) size 784x576
66 RenderBlock {DIV} at (0,0) size 784x18
77 RenderInline (generated) at (0,0) size 10x18
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 264x18
1111 text run at (9,0) width 264: "HIS TEXT SHOULD BE UPPERCASE."
224273

LayoutTests/platform/mac/fast/css-generated-content/009-expected.txt

@@layer at (0,0) size 800x600
1919 RenderBlock {DIV} at (0,68) size 784x55 [color=#FF0000]
2020 RenderInline {SPAN} at (0,0) size 437x18 [color=#008000]
2121 RenderInline (generated) at (0,0) size 35x55
22  RenderText {#text} at (0,0) size 35x55
 22 RenderText at (0,0) size 35x55
2323 text run at (0,0) width 35: "A"
2424 RenderText {#text} at (34,29) size 403x18
2525 text run at (34,29) width 403: "ll of this text should be green, including the big \"A\" first-letter."
224273

LayoutTests/platform/mac/fast/css-generated-content/012-expected.txt

@@layer at (0,0) size 800x600
88 text run at (0,0) width 769: "Inheritance bug for floated first-letter"
99 RenderBlock {P} at (0,87) size 784x198 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
1010 RenderInline (generated) at (0,0) size 54x85 [color=#008000] [border: (1px dashed #008000)]
11  RenderText {#text} at (2,1) size 52x83
 11 RenderText at (2,1) size 52x83
1212 text run at (2,1) width 52: "H"
1313 RenderText {#text} at (54,45) size 756x151
1414 text run at (54,45) width 703: "ere is the first paragraph. Here the CSS :first-line rule sets the text"

@@layer at (0,0) size 800x600
1919 text run at (1,168) width 100: "correctly)."
2020 RenderBlock {P} at (0,308) size 784x143 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
2121 RenderBlock (floating) at (1,1) size 54x85 [color=#008000] [border: (1px dashed #008000)]
22  RenderText {#text} at (1,1) size 52x83
 22 RenderText at (1,1) size 52x83
2323 text run at (1,1) width 52: "H"
2424 RenderText {#text} at (55,1) size 779x140
2525 text run at (55,1) width 718: "ere is the second paragraph. This is just like the first except that the"
224273

LayoutTests/platform/mac/fast/css-generated-content/first-letter-in-nested-before-table-expected.txt

@@layer at (0,0) size 800x266
1919 RenderBlock {DIV} at (0,100) size 784x100
2020 RenderBlock (anonymous) at (0,0) size 784x50
2121 RenderInline (generated) at (0,0) size 50x50 [color=#008000]
22  RenderText {#text} at (0,0) size 50x50
 22 RenderText at (0,0) size 50x50
2323 text run at (0,0) width 50: "D"
2424 RenderText {#text} at (0,0) size 0x0
2525 RenderTable at (0,50) size 100x50
224273

LayoutTests/platform/mac/fast/css-generated-content/initial-letter-basic-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,16) size 784x568
66 RenderBlock {DIV} at (16,0) size 400x90
77 RenderBlock (floating) at (2,3) size 52x48
8  RenderText {#text} at (0,-17) size 52x82
 8 RenderText at (0,-17) size 52x82
99 text run at (0,-17) width 52: "A"
1010 RenderText {#text} at (55,0) size 395x90
1111 text run at (55,0) width 316: "n example of first-letter. This letter should span 3"

@@layer at (0,0) size 800x600
1616 RenderBlock {SPAN} at (0,106) size 784x90
1717 RenderBlock {DIV} at (368,0) size 400x90
1818 RenderBlock (floating) at (346,3) size 52x48
19  RenderText {#text} at (0,-17) size 52x82
 19 RenderText at (0,-17) size 52x82
2020 text run at (0,-17) width 52: "A"
2121 RenderText {#text} at (8,0) size 399x90
2222 text run at (8,0) width 337: "n RTL example of first-letter. This letter should span"
224273

LayoutTests/platform/mac/fast/css-generated-content/initial-letter-border-padding-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,16) size 784x568
66 RenderBlock {DIV} at (16,0) size 400x108
77 RenderBlock (floating) at (2,0) size 58x54 [color=#FF0000] [border: (2px solid #FF0000)]
8  RenderText {#text} at (3,-14) size 52x82
 8 RenderText at (3,-14) size 52x82
99 text run at (3,-14) width 52: "A"
1010 RenderText {#text} at (61,18) size 386x90
1111 text run at (61,18) width 316: "n example of first-letter. This letter should span 3"

@@layer at (0,0) size 800x600
1616 RenderBlock {SPAN} at (0,124) size 784x108
1717 RenderBlock {DIV} at (368,0) size 400x108
1818 RenderBlock (floating) at (340,0) size 58x54 [color=#FF0000] [border: (2px solid #FF0000)]
19  RenderText {#text} at (3,-14) size 52x82
 19 RenderText at (3,-14) size 52x82
2020 text run at (3,-14) width 52: "A"
2121 RenderText {#text} at (2,18) size 398x90
2222 text run at (2,18) width 337: "n RTL example of first-letter. This letter should span"
224273

LayoutTests/platform/mac/fast/css-generated-content/initial-letter-clearance-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,16) size 784x568
66 RenderBlock {DIV} at (16,0) size 400x54
77 RenderBlock (floating) at (2,3) size 48x81
8  RenderText {#text} at (0,-46) size 48x200
 8 RenderText at (0,-46) size 48x200
99 text run at (0,-46) width 48: "J"
1010 RenderText {#text} at (51,36) size 297x18
1111 text run at (51,36) width 297: "ust an example of first-letter. Short paragraph!"
1212 RenderBlock {DIV} at (16,70) size 400x176
1313 RenderBlock (floating) at (2,17) size 48x81
14  RenderText {#text} at (0,-46) size 48x200
 14 RenderText at (0,-46) size 48x200
1515 text run at (0,-46) width 48: "J"
1616 RenderText {#text} at (51,50) size 397x126
1717 text run at (51,50) width 346: "ust an example of first-letter. This letter should span 3"
224273

LayoutTests/platform/mac/fast/css-generated-content/initial-letter-descender-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,16) size 784x568
66 RenderBlock {DIV} at (16,0) size 400x144
77 RenderBlock (floating) at (2,3) size 48x81
8  RenderText {#text} at (0,-46) size 48x200
 8 RenderText at (0,-46) size 48x200
99 text run at (0,-46) width 48: "J"
1010 RenderText {#text} at (51,36) size 397x108
1111 text run at (51,36) width 346: "ust an example of first-letter. This letter should span 3"
224273

LayoutTests/platform/mac/fast/css-generated-content/initial-letter-raised-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,16) size 784x568
66 RenderBlock {DIV} at (16,0) size 400x108
77 RenderBlock (floating) at (2,3) size 52x48
8  RenderText {#text} at (0,-17) size 52x82
 8 RenderText at (0,-17) size 52x82
99 text run at (0,-17) width 52: "A"
1010 RenderText {#text} at (55,18) size 395x90
1111 text run at (55,18) width 316: "n example of first-letter. This letter should span 3"

@@layer at (0,0) size 800x600
1616 RenderBlock {SPAN} at (0,124) size 784x108
1717 RenderBlock {DIV} at (368,0) size 400x108
1818 RenderBlock (floating) at (346,3) size 52x48
19  RenderText {#text} at (0,-17) size 52x82
 19 RenderText at (0,-17) size 52x82
2020 text run at (0,-17) width 52: "A"
2121 RenderText {#text} at (8,18) size 392x90
2222 text run at (8,18) width 337: "n RTL example of first-letter. This letter should span"
224273

LayoutTests/platform/mac/fast/css-generated-content/initial-letter-sunken-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,16) size 784x568
66 RenderBlock {DIV} at (16,0) size 400x90
77 RenderBlock (floating) at (2,21) size 32x30
8  RenderText {#text} at (0,-11) size 32x51
 8 RenderText at (0,-11) size 32x51
99 text run at (0,-11) width 32: "A"
1010 RenderText {#text} at (35,0) size 396x90
1111 text run at (35,0) width 351: "n example of first-letter. This letter should span 3 lines"

@@layer at (0,0) size 800x600
1616 RenderBlock {SPAN} at (0,106) size 784x90
1717 RenderBlock {DIV} at (368,0) size 400x90
1818 RenderBlock (floating) at (366,21) size 32x30
19  RenderText {#text} at (0,-11) size 32x51
 19 RenderText at (0,-11) size 32x51
2020 text run at (0,-11) width 32: "A"
2121 RenderText {#text} at (16,0) size 399x90
2222 text run at (16,0) width 349: "n RTL example of first-letter. This letter should span 3"
224273

LayoutTests/platform/mac/fast/css/first-letter-capitalized-expected.txt

@@layer at (0,0) size 800x600
2121 text run at (0,0) width 255: "The following lines should be identical:"
2222 RenderBlock {DIV} at (0,86) size 784x18
2323 RenderInline (generated) at (0,0) size 10x18 [color=#008000]
24  RenderText {#text} at (0,0) size 10x18
 24 RenderText at (0,0) size 10x18
2525 text run at (0,0) width 10: "L"
2626 RenderText {#text} at (9,0) size 78x18
2727 text run at (9,0) width 78: "orem Ipsum"
224273

LayoutTests/platform/mac/fast/css/first-letter-detach-expected.txt

@@layer at (0,0) size 800x600
2626 RenderBlock {HR} at (0,86) size 784x2 [border: (1px inset #000000)]
2727 RenderBlock {P} at (0,104) size 784x18
2828 RenderInline (generated) at (0,0) size 9x18 [color=#0000FF]
29  RenderText {#text} at (0,0) size 9x18
 29 RenderText at (0,0) size 9x18
3030 text run at (0,0) width 9: "P"
3131 RenderText {#text} at (8,0) size 31x18
3232 text run at (8,0) width 31: "ASS"
3333 RenderBlock {P} at (0,138) size 784x18
3434 RenderInline (generated) at (0,0) size 9x18 [color=#0000FF]
35  RenderText {#text} at (0,0) size 9x18
 35 RenderText at (0,0) size 9x18
3636 text run at (0,0) width 9: "P"
3737 RenderText {#text} at (8,0) size 31x18
3838 text run at (8,0) width 31: "ASS"
3939 RenderBlock {P} at (0,172) size 784x18
4040 RenderInline (generated) at (0,0) size 9x18 [color=#0000FF]
41  RenderText {#text} at (0,0) size 9x18
 41 RenderText at (0,0) size 9x18
4242 text run at (0,0) width 9: "P"
4343 RenderText {#text} at (8,0) size 31x18
4444 text run at (8,0) width 31: "ASS"
224273

LayoutTests/platform/mac/fast/css/first-letter-first-line-hover-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,8) size 784x544
66 RenderBlock {P} at (0,0) size 784x73
77 RenderInline (generated) at (0,0) size 35x55 [color=#008000] [bgcolor=#FFC0CB]
8  RenderText {#text} at (0,0) size 35x55
 8 RenderText at (0,0) size 35x55
99 text run at (0,0) width 35: "A"
1010 RenderText {#text} at (34,0) size 191x55
1111 text run at (34,0) width 191: "BCDEFG"
224273

LayoutTests/platform/mac/fast/css/first-letter-float-after-float-expected.txt

@@layer at (0,0) size 800x600
2424 RenderText {#text} at (0,0) size 8x18
2525 text run at (0,0) width 8: "1"
2626 RenderBlock (floating) at (8,0) size 8x18
27  RenderText {#text} at (0,0) size 8x18
 27 RenderText at (0,0) size 8x18
2828 text run at (0,0) width 8: "2"
2929 RenderText {#text} at (16,0) size 8x18
3030 text run at (16,0) width 8: "3"
224273

LayoutTests/platform/mac/fast/css/first-letter-float-expected.txt

@@layer at (0,0) size 800x600
3131 RenderBlock {DIV} at (1,1) size 27x18
3232 RenderBlock {P} at (0,0) size 27x18
3333 RenderBlock (floating) at (0,0) size 12x18 [color=#008000]
34  RenderText {#text} at (0,0) size 12x18
 34 RenderText at (0,0) size 12x18
3535 text run at (0,0) width 12: "A"
3636 RenderText {#text} at (11,0) size 16x18
3737 text run at (11,0) width 16: "-Z"

@@layer at (0,0) size 800x600
4141 RenderTableCell {TD} at (2,2) size 29x20 [r=0 c=0 rs=1 cs=1]
4242 RenderBlock {P} at (1,1) size 27x18
4343 RenderBlock (floating) at (0,0) size 12x18 [color=#008000]
44  RenderText {#text} at (0,0) size 12x18
 44 RenderText at (0,0) size 12x18
4545 text run at (0,0) width 12: "A"
4646 RenderText {#text} at (11,0) size 16x18
4747 text run at (11,0) width 16: "-Z"
4848 RenderBlock {P} at (0,150) size 784x18
4949 RenderBlock (floating) at (0,0) size 12x18 [color=#008000]
50  RenderText {#text} at (0,0) size 12x18
 50 RenderText at (0,0) size 12x18
5151 text run at (0,0) width 12: "A"
5252 RenderText {#text} at (11,0) size 16x18
5353 text run at (11,0) width 16: "-Z"
224273

LayoutTests/platform/mac/fast/css/first-letter-hover-expected.txt

@@layer at (0,0) size 800x600
1616 text run at (0,0) width 397: "The next line of text should turn green when we hover over it."
1717 RenderBlock {DIV} at (0,68) size 784x36 [color=#008000]
1818 RenderInline (generated) at (0,0) size 10x18 [color=#0000FF]
19  RenderText {#text} at (0,0) size 10x18
 19 RenderText at (0,0) size 10x18
2020 text run at (0,0) width 10: "T"
2121 RenderText {#text} at (9,0) size 770x36
2222 text run at (9,0) width 761: "he first letter of this paragraph should be larger than the rest. If you hover over this paragraph, all of the text (including"
224273

LayoutTests/platform/mac/fast/css/first-letter-punctuation-expected.txt

@@layer at (0,0) size 800x222
88 text run at (0,0) width 398: "Test passes if all the T and surrounding punctuation are green."
99 RenderBlock {DIV} at (0,34) size 784x41
1010 RenderInline (generated) at (0,0) size 46x41 [color=#008000]
11  RenderText {#text} at (0,0) size 46x41
 11 RenderText at (0,0) size 46x41
1212 text run at (0,0) width 46: "(T)"
1313 RenderText {#text} at (45,18) size 19x18
1414 text run at (45,18) width 19: "est"
1515 RenderBlock {DIV} at (0,75) size 784x41
1616 RenderInline (generated) at (0,0) size 54x41 [color=#008000]
17  RenderText {#text} at (0,0) size 54x41
 17 RenderText at (0,0) size 54x41
1818 text run at (0,0) width 54: "\x{201C}T\x{201D}"
1919 RenderText {#text} at (53,18) size 19x18
2020 text run at (53,18) width 19: "est"
2121 RenderBlock {DIV} at (0,116) size 784x41
2222 RenderInline (generated) at (0,0) size 76x41 [color=#008000]
23  RenderText {#text} at (0,0) size 76x41
 23 RenderText at (0,0) size 76x41
2424 text run at (0,0) width 76: "\x{AB} T \x{BB}"
2525 RenderText {#text} at (75,18) size 19x18
2626 text run at (75,18) width 19: "est"
2727 RenderBlock {DIV} at (0,157) size 784x41
2828 RenderInline (generated) at (0,0) size 76x41 [color=#008000]
29  RenderText {#text} at (0,0) size 76x41
 29 RenderText at (0,0) size 76x41
3030 text run at (0,0) width 76: "\x{AB} T \x{BB}"
3131 RenderText {#text} at (75,18) size 35x18
3232 text run at (75,18) width 35: " est"
224273

LayoutTests/platform/mac/fast/css/first-letter-recalculation-expected.txt

@@layer at (0,0) size 800x84
66 RenderBlock {P} at (0,0) size 784x18
77 RenderInline {A} at (0,0) size 31x18 [color=#0000FF]
88 RenderInline (generated) at (0,0) size 10x18
9  RenderText {#text} at (0,0) size 10x18
 9 RenderText at (0,0) size 10x18
1010 text run at (0,0) width 10: "F"
1111 RenderText {#text} at (9,0) size 22x18
1212 text run at (9,0) width 22: "irst"

@@layer at (0,0) size 800x84
1414 text run at (30,0) width 194: " letter should be bold and blue"
1515 RenderBlock {P} at (0,34) size 784x18
1616 RenderInline (generated) at (0,0) size 13x18
17  RenderText {#text} at (0,0) size 13x18
 17 RenderText at (0,0) size 13x18
1818 text run at (0,0) width 13: "H"
1919 RenderText {#text} at (12,0) size 628x18
2020 text run at (12,0) width 628: "ere the first letter should be bold and black, but with Safari build 416.13 it is blue. See bug #6170."
224273

LayoutTests/platform/mac/fast/css/first-letter-visibility-expected.txt

@@layer at (0,0) size 800x600
1616 text run at (0,0) width 427: "The next line of text should become invisible, including first letter."
1717 RenderBlock {DIV} at (0,68) size 784x18
1818 RenderInline (generated) at (0,0) size 11x18 [color=#0000FF]
19  RenderText {#text} at (0,0) size 11x18
 19 RenderText at (0,0) size 11x18
2020 text run at (0,0) width 11: "C"
2121 RenderText {#text} at (10,0) size 73x18
2222 text run at (10,0) width 73: "lick to hide"
224273

LayoutTests/platform/mac/fast/dynamic/first-letter-display-change-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,8) size 784x584
66 RenderBlock {DIV} at (0,0) size 784x16
77 RenderInline (generated) at (0,0) size 16x16 [color=#0000FF]
8  RenderText {#text} at (0,0) size 16x16
 8 RenderText at (0,0) size 16x16
99 text run at (0,0) width 16: "L"
1010 RenderText {#text} at (16,0) size 400x16
1111 text run at (16,0) width 400: "orem ipsum dolor sit amet"
224273

LayoutTests/platform/mac/fast/multicol/shadow-breaking-expected.txt

@@layer at (20,36) size 424x266
1010layer at (22,38) size 200x509
1111 RenderMultiColumnFlowThread at (2,2) size 200x509
1212 RenderBlock (floating) at (0,0) size 25x41
13  RenderText {#text} at (0,0) size 25x41
 13 RenderText at (0,0) size 25x41
1414 text run at (0,0) width 25: "L"
1515 RenderText {#text} at (28,0) size 200x509
1616 text run at (28,0) width 172: "orem ipsum dolor sit"
224273

LayoutTests/platform/mac/fast/selectors/039-expected.txt

@@layer at (0,0) size 800x69
55 RenderBody {BODY} at (8,16) size 784x37
66 RenderBlock {P} at (0,0) size 784x37
77 RenderInline (generated) at (0,0) size 20x37 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 20x37
 8 RenderText at (0,0) size 20x37
99 text run at (0,0) width 20: "T"
1010 RenderText {#text} at (19,15) size 490x18
1111 text run at (19,15) width 339: "his very long paragraph should have a big first letter "
224273

LayoutTests/platform/mac/fast/selectors/039b-expected.txt

@@layer at (0,0) size 800x69
55 RenderBody {BODY} at (8,16) size 784x37
66 RenderBlock {P} at (0,0) size 784x37
77 RenderInline (generated) at (0,0) size 20x37 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 20x37
 8 RenderText at (0,0) size 20x37
99 text run at (0,0) width 20: "T"
1010 RenderText {#text} at (19,15) size 490x18
1111 text run at (19,15) width 339: "his very long paragraph should have a big first letter "
224273

LayoutTests/platform/mac/fast/selectors/166a-expected.txt

@@layer at (0,0) size 800x50
55 RenderBody {BODY} at (8,16) size 784x18
66 RenderBlock {P} at (0,0) size 784x18
77 RenderInline (generated) at (0,0) size 10x18 [bgcolor=#00FF00]
8  RenderText {#text} at (0,0) size 10x18
 8 RenderText at (0,0) size 10x18
99 text run at (0,0) width 10: "T"
1010 RenderText {#text} at (9,0) size 410x18
1111 text run at (9,0) width 410: "he first letter of this paragraph should have a green background."
224273

LayoutTests/platform/mac/fast/text/firstline/002-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,8) size 784x576
66 RenderBlock {P} at (0,0) size 784x45 [border: (2px solid #0000FF)]
77 RenderInline (generated) at (0,0) size 33x41 [color=#800000]
8  RenderText {#text} at (2,2) size 33x41
 8 RenderText at (2,2) size 33x41
99 text run at (2,2) width 33: "M"
1010 RenderText {#text} at (34,20) size 182x18
1111 text run at (34,20) width 182: "aroon on the first letter only."
224273

LayoutTests/platform/mac/fast/text/firstline/003-expected.txt

@@layer at (0,0) size 800x600
55 RenderBody {BODY} at (8,8) size 784x576
66 RenderBlock {P} at (0,0) size 784x28
77 RenderInline (generated) at (0,0) size 18x28 [color=#FF0000]
8  RenderText {#text} at (0,0) size 18x28
 8 RenderText at (0,0) size 18x28
99 text run at (0,0) width 18: "A"
1010 RenderText {#text} at (17,8) size 412x18
1111 text run at (17,8) width 412: " The \"A\" should be big and red and ignore the position: relative."
224273