Commit fdf7ef79 authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Commit Bot

[LayoutNG] Preserve inline box fragment when having atomic inline child

If an inline element contains an atomic inline child, the height of the
child is often different from its parent, in which case the parent's
rect is no longer a simple union of its child rects.

Currently, LayoutNG fails to handle this. This patch ensures box
fragment creation in this case so that we can get correct rects for the
parent.

Tests:
- A lot of tests have wrong baselines, where inline elements are dumped
  with wrong sizes. This patch corrects them
- 4 relevant hit test failures are fixed
- Unfortunately, this patch reveals some existing bugs or unimplemented
  features. As a result, 7 tests regressed...

Bug: 851075
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: I4bf26ac35542d03a8bf01de1ffb9d4b2cdbac96b
Reviewed-on: https://chromium-review.googlesource.com/1108509
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Reviewed-by: default avatarEmil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570132}
parent 647f5843
...@@ -28,6 +28,21 @@ crbug.com/854889 accessibility/css-styles.html [ Failure ] ...@@ -28,6 +28,21 @@ crbug.com/854889 accessibility/css-styles.html [ Failure ]
# Hit test failure due to vertical-rl writing mode # Hit test failure due to vertical-rl writing mode
crbug.com/851075 fast/writing-mode/vertical-inline-block-hittest.html [ Failure ] crbug.com/851075 fast/writing-mode/vertical-inline-block-hittest.html [ Failure ]
# Wrong image alignment in vertical-rl writing mode
crbug.com/636993 fast/writing-mode/vertical-baseline-alignment.html [ Failure ]
# Need bidi inline fragmentation
crbug.com/636993 fast/text/nested-bidi-with-continuation-crash.html [ Crash ]
crbug.com/636993 fast/text/international/unicode-bidi-isolate-nested-with-removes-not-adjacent.html [ Crash ]
crbug.com/636993 fast/text/international/unicode-bidi-isolate-nested-with-removes.html [ Crash ]
# Wrong quirks mode line height for pattern <div><a><img></a></div>
crbug.com/854840 fast/table/backgr_border-table-quirks-collapsed-border.html [ Failure ]
crbug.com/854840 fast/table/backgr_border-table-quirks.html [ Failure ]
# Fails to layout everything with 'position:absolute' inside inline block
crbug.com/855749 fast/block/positioning/rtl-static-positioning-inline-block.html [ Crash ]
# New passes # New passes
crbug.com/774229 editing/pasteboard/copy-paste-white-space.html [ Pass ] crbug.com/774229 editing/pasteboard/copy-paste-white-space.html [ Pass ]
crbug.com/591099 external/wpt/css/CSS2/floats-clear/no-clearance-adjoining-opposite-float.html [ Pass ] crbug.com/591099 external/wpt/css/CSS2/floats-clear/no-clearance-adjoining-opposite-float.html [ Pass ]
...@@ -429,7 +444,6 @@ crbug.com/714962 fast/dom/elementsFromPoint/elementsFromPoint-inline.html [ Fail ...@@ -429,7 +444,6 @@ crbug.com/714962 fast/dom/elementsFromPoint/elementsFromPoint-inline.html [ Fail
crbug.com/591099 fast/dom/nodesFromRect/nodesFromRect-basic.html [ Failure ] crbug.com/591099 fast/dom/nodesFromRect/nodesFromRect-basic.html [ Failure ]
crbug.com/714962 fast/dom/nodesFromRect/nodesFromRect-culled-inline-with-linebreak.html [ Failure ] crbug.com/714962 fast/dom/nodesFromRect/nodesFromRect-culled-inline-with-linebreak.html [ Failure ]
crbug.com/714962 fast/dom/nodesFromRect/nodesFromRect-culled-inlines.html [ Failure ] crbug.com/714962 fast/dom/nodesFromRect/nodesFromRect-culled-inlines.html [ Failure ]
crbug.com/591099 fast/dom/nodesFromRect/nodesFromRect-inline-image.html [ Failure ]
crbug.com/591099 fast/dom/nodesFromRect/nodesFromRect-inner-documents.html [ Failure ] crbug.com/591099 fast/dom/nodesFromRect/nodesFromRect-inner-documents.html [ Failure ]
crbug.com/714962 fast/dom/nodesFromRect/nodesFromRect-links-and-text.html [ Failure ] crbug.com/714962 fast/dom/nodesFromRect/nodesFromRect-links-and-text.html [ Failure ]
crbug.com/591099 fast/dynamic/first-letter-after-list-marker.html [ Failure ] crbug.com/591099 fast/dynamic/first-letter-after-list-marker.html [ Failure ]
...@@ -438,7 +452,6 @@ crbug.com/591099 fast/encoding/utf-16-big-endian.html [ Failure ] ...@@ -438,7 +452,6 @@ crbug.com/591099 fast/encoding/utf-16-big-endian.html [ Failure ]
crbug.com/591099 fast/encoding/utf-16-little-endian.html [ Failure ] crbug.com/591099 fast/encoding/utf-16-little-endian.html [ Failure ]
crbug.com/591099 fast/events/mouse-relative-position.html [ Failure ] crbug.com/591099 fast/events/mouse-relative-position.html [ Failure ]
crbug.com/591099 fast/events/select-element.html [ Failure ] crbug.com/591099 fast/events/select-element.html [ Failure ]
crbug.com/591099 fast/events/sequential-focus-navigation-starting-point.html [ Failure ]
crbug.com/591099 fast/events/touch/compositor-touch-hit-rects.html [ Failure ] crbug.com/591099 fast/events/touch/compositor-touch-hit-rects.html [ Failure ]
crbug.com/591099 fast/events/wheel/mainthread-touchpad-fling-latching.html [ Pass ] crbug.com/591099 fast/events/wheel/mainthread-touchpad-fling-latching.html [ Pass ]
crbug.com/591099 fast/events/wheel/wheel-scroll-latching-on-scrollbar.html [ Pass ] crbug.com/591099 fast/events/wheel/wheel-scroll-latching-on-scrollbar.html [ Pass ]
...@@ -851,7 +864,6 @@ crbug.com/824918 virtual/layout_ng_experimental/ [ Skip ] ...@@ -851,7 +864,6 @@ crbug.com/824918 virtual/layout_ng_experimental/ [ Skip ]
crbug.com/591099 virtual/mojo-blob-urls/external/wpt/FileAPI/url/sandboxed-iframe.html [ Pass ] crbug.com/591099 virtual/mojo-blob-urls/external/wpt/FileAPI/url/sandboxed-iframe.html [ Pass ]
crbug.com/591099 virtual/mouseevent_fractional/fast/events/mouse-relative-position.html [ Failure ] crbug.com/591099 virtual/mouseevent_fractional/fast/events/mouse-relative-position.html [ Failure ]
crbug.com/591099 virtual/mouseevent_fractional/fast/events/select-element.html [ Failure ] crbug.com/591099 virtual/mouseevent_fractional/fast/events/select-element.html [ Failure ]
crbug.com/591099 virtual/mouseevent_fractional/fast/events/sequential-focus-navigation-starting-point.html [ Failure ]
crbug.com/591099 virtual/mouseevent_fractional/fast/events/touch/compositor-touch-hit-rects.html [ Failure ] crbug.com/591099 virtual/mouseevent_fractional/fast/events/touch/compositor-touch-hit-rects.html [ Failure ]
crbug.com/591099 virtual/mouseevent_fractional/fast/events/wheel/mainthread-touchpad-fling-latching.html [ Pass ] crbug.com/591099 virtual/mouseevent_fractional/fast/events/wheel/mainthread-touchpad-fling-latching.html [ Pass ]
crbug.com/591099 virtual/mouseevent_fractional/fast/events/wheel/wheel-scroll-latching-on-scrollbar.html [ Pass ] crbug.com/591099 virtual/mouseevent_fractional/fast/events/wheel/wheel-scroll-latching-on-scrollbar.html [ Pass ]
...@@ -872,7 +884,6 @@ crbug.com/591099 virtual/user-activation-v2/fast/dom/Window/window-lookup-preced ...@@ -872,7 +884,6 @@ crbug.com/591099 virtual/user-activation-v2/fast/dom/Window/window-lookup-preced
crbug.com/591099 virtual/user-activation-v2/fast/events/mouse-cursor.html [ Failure ] crbug.com/591099 virtual/user-activation-v2/fast/events/mouse-cursor.html [ Failure ]
crbug.com/591099 virtual/user-activation-v2/fast/events/mouse-relative-position.html [ Failure ] crbug.com/591099 virtual/user-activation-v2/fast/events/mouse-relative-position.html [ Failure ]
crbug.com/591099 virtual/user-activation-v2/fast/events/select-element.html [ Failure ] crbug.com/591099 virtual/user-activation-v2/fast/events/select-element.html [ Failure ]
crbug.com/591099 virtual/user-activation-v2/fast/events/sequential-focus-navigation-starting-point.html [ Failure ]
crbug.com/591099 virtual/user-activation-v2/fast/events/touch/compositor-touch-hit-rects.html [ Failure ] crbug.com/591099 virtual/user-activation-v2/fast/events/touch/compositor-touch-hit-rects.html [ Failure ]
crbug.com/591099 virtual/user-activation-v2/fullscreen/full-screen-with-flex-item.html [ Failure ] crbug.com/591099 virtual/user-activation-v2/fullscreen/full-screen-with-flex-item.html [ Failure ]
crbug.com/591099 virtual/video-surface-layer/media/audio-controls-rendering.html [ Failure ] crbug.com/591099 virtual/video-surface-layer/media/audio-controls-rendering.html [ Failure ]
......
...@@ -68,7 +68,7 @@ layer at (0,0) size 785x1475 backgroundClip at (0,0) size 785x600 clip at (0,0) ...@@ -68,7 +68,7 @@ layer at (0,0) size 785x1475 backgroundClip at (0,0) size 785x600 clip at (0,0)
text run at (0,0) width 25: "The" text run at (0,0) width 25: "The"
LayoutText {#text} at (25,0) size 715x19 LayoutText {#text} at (25,0) size 715x19
text run at (25,0) width 715: " following image is also an anchor which points to a target on this page, but it should not have a border around it: " text run at (25,0) width 715: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
LayoutInline {A} at (0,0) size 15x15 [color=#0000FF] LayoutInline {A} at (0,0) size 15x19 [color=#0000FF]
LayoutImage {IMG} at (740,0) size 15x15 LayoutImage {IMG} at (740,0) size 15x15
LayoutText {#text} at (755,0) size 4x19 LayoutText {#text} at (755,0) size 4x19
text run at (755,0) width 4: "." text run at (755,0) width 4: "."
...@@ -151,7 +151,7 @@ layer at (0,0) size 785x1475 backgroundClip at (0,0) size 785x600 clip at (0,0) ...@@ -151,7 +151,7 @@ layer at (0,0) size 785x1475 backgroundClip at (0,0) size 785x600 clip at (0,0)
text run at (0,0) width 25: "The" text run at (0,0) width 25: "The"
LayoutText {#text} at (25,0) size 711x19 LayoutText {#text} at (25,0) size 711x19
text run at (25,0) width 711: " following image is also an anchor which points to a target on this page, but it should not have a border around it:" text run at (25,0) width 711: " following image is also an anchor which points to a target on this page, but it should not have a border around it:"
LayoutInline {A} at (0,0) size 15x15 [color=#0000FF] LayoutInline {A} at (0,0) size 15x19 [color=#0000FF]
LayoutImage {IMG} at (0,20) size 15x15 LayoutImage {IMG} at (0,20) size 15x15
LayoutText {#text} at (15,20) size 4x19 LayoutText {#text} at (15,20) size 4x19
text run at (15,20) width 4: "." text run at (15,20) width 4: "."
......
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x204
LayoutNGBlockFlow {HTML} at (0,0) size 800x204
LayoutNGBlockFlow {BODY} at (8,16) size 784x156
LayoutNGBlockFlow {P} at (0,0) size 784x20 [color=#0000FF]
LayoutText {#text} at (0,0) size 264x19
text run at (0,0) width 264: "There should be no border around the cat:"
LayoutNGBlockFlow {DIV} at (32,52) size 720x104 [color=#FF0000]
LayoutInline {A} at (0,0) size 98x99 [color=#0000EE]
LayoutImage {IMG} at (0,0) size 98x99
LayoutText {#text} at (0,0) size 0x0
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutNGBlockFlow {HTML} at (0,0) size 800x600
LayoutNGBlockFlow {BODY} at (8,8) size 784x584
LayoutNGBlockFlow {H1} at (0,0) size 784x37
LayoutText {#text} at (0,0) size 90x36
text run at (0,0) width 90: "Blocks"
LayoutNGBlockFlow {DIV} at (0,58.44) size 784x20
LayoutInline {<pseudo:before>} at (0,0) size 34x19
LayoutTextFragment (anonymous) at (0,0) size 34x19
text run at (0,0) width 34: "Test: "
LayoutText {#text} at (34,0) size 46x19
text run at (34,0) width 46: "content"
LayoutNGBlockFlow {DIV} at (0,78.44) size 784x20
LayoutNGBlockFlow {<pseudo:before>} at (0,0) size 30x20
LayoutTextFragment (anonymous) at (0,0) size 30x19
text run at (0,0) width 30: "Test:"
LayoutText {#text} at (30,0) size 46x19
text run at (30,0) width 46: "content"
LayoutNGBlockFlow {DIV} at (0,98.44) size 784x20
LayoutTable {<pseudo:before>} at (0,0) size 30x20
LayoutTableSection (anonymous) at (0,0) size 30x20
LayoutTableRow (anonymous) at (0,0) size 30x20
LayoutTableCell (anonymous) at (0,0) size 30x20 [r=0 c=0 rs=1 cs=1]
LayoutTextFragment (anonymous) at (0,0) size 30x19
text run at (0,0) width 30: "Test:"
LayoutText {#text} at (30,0) size 46x19
text run at (30,0) width 46: "content"
LayoutNGBlockFlow {H1} at (0,139.88) size 784x37
LayoutText {#text} at (0,0) size 92x36
text run at (0,0) width 92: "Inlines"
LayoutNGBlockFlow (anonymous) at (0,198.31) size 784x60
LayoutInline {SPAN} at (0,0) size 80x19
LayoutInline {<pseudo:before>} at (0,0) size 34x19
LayoutTextFragment (anonymous) at (0,0) size 34x19
text run at (0,0) width 34: "Test: "
LayoutText {#text} at (34,0) size 46x19
text run at (34,0) width 46: "content"
LayoutBR {BR} at (80,15) size 0x0
LayoutInline {SPAN} at (0,0) size 76x20
LayoutNGBlockFlow {<pseudo:before>} at (0,20) size 30x20
LayoutTextFragment (anonymous) at (0,0) size 30x19
text run at (0,0) width 30: "Test:"
LayoutText {#text} at (30,20) size 46x19
text run at (30,20) width 46: "content"
LayoutBR {BR} at (76,35) size 0x0
LayoutInline {SPAN} at (0,0) size 76x20
LayoutTable {<pseudo:before>} at (0,40) size 30x20
LayoutTableSection (anonymous) at (0,0) size 30x20
LayoutTableRow (anonymous) at (0,0) size 30x20
LayoutTableCell (anonymous) at (0,0) size 30x20 [r=0 c=0 rs=1 cs=1]
LayoutTextFragment (anonymous) at (0,0) size 30x19
text run at (0,0) width 30: "Test:"
LayoutText {#text} at (30,40) size 46x19
text run at (30,40) width 46: "content"
LayoutBR {BR} at (76,55) size 0x0
...@@ -3,7 +3,7 @@ layer at (0,0) size 800x600 ...@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
layer at (0,0) size 800x600 layer at (0,0) size 800x600
LayoutNGBlockFlow {HTML} at (0,0) size 800x600 LayoutNGBlockFlow {HTML} at (0,0) size 800x600
LayoutNGBlockFlow {BODY} at (0,0) size 800x600 LayoutNGBlockFlow {BODY} at (0,0) size 800x600
LayoutInline {A} at (0,0) size 300x300 LayoutInline {A} at (0,0) size 300x19
LayoutImage {IMG} at (0,0) size 300x300 LayoutImage {IMG} at (0,0) size 300x300
LayoutText {#text} at (300,285) size 4x19 LayoutText {#text} at (300,285) size 4x19
text run at (300,285) width 4: " " text run at (300,285) width 4: " "
......
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutNGBlockFlow {HTML} at (0,0) size 800x600
LayoutNGBlockFlow {BODY} at (8,8) size 784x584
LayoutProgress {PROGRESS} at (0,0) size 160x16
LayoutInline {SMALL} at (0,0) size 134x14
LayoutProgress {PROGRESS} at (160,2.14) size 133.33x13.33
LayoutText {#text} at (0,0) size 0x0
Document::nodesFromRect : inline image - bug 85849
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS All correct nodes found for rect
PASS successfullyParsed is true
TEST COMPLETE
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutNGBlockFlow {HTML} at (0,0) size 800x600
LayoutNGBlockFlow {BODY} at (8,8) size 784x584
LayoutNGBlockFlow {DIV} at (0,0) size 784x64
LayoutInline {A} at (0,0) size 52x64
LayoutImage {IMG} at (0,0) size 52x64
LayoutBR {BR} at (52,64) size 0x0
LayoutText {#text} at (0,0) size 0x0
...@@ -21,7 +21,7 @@ layer at (0,0) size 800x600 ...@@ -21,7 +21,7 @@ layer at (0,0) size 800x600
text run at (0,40) width 783: "specifying the table part as the \"before child\". The resulting render tree should look just like it would look if the parent was a" text run at (0,40) width 783: "specifying the table part as the \"before child\". The resulting render tree should look just like it would look if the parent was a"
text run at (0,60) width 39: "block." text run at (0,60) width 39: "block."
LayoutNGBlockFlow {DIV} at (0,132) size 784x20 LayoutNGBlockFlow {DIV} at (0,132) size 784x20
LayoutInline {SPAN} at (0,0) size 230x20 LayoutInline {SPAN} at (0,0) size 230x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutText {#text} at (40,0) size 87x19 LayoutText {#text} at (40,0) size 87x19
...@@ -33,7 +33,7 @@ layer at (0,0) size 800x600 ...@@ -33,7 +33,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,152) size 784x20 LayoutNGBlockFlow {DIV} at (0,152) size 784x20
LayoutInline {SPAN} at (0,0) size 143x20 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutTable (anonymous) at (40,0) size 103x20 LayoutTable (anonymous) at (40,0) size 103x20
...@@ -44,7 +44,7 @@ layer at (0,0) size 800x600 ...@@ -44,7 +44,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,172) size 784x35 LayoutNGBlockFlow {DIV} at (0,172) size 784x35
LayoutInline {SPAN} at (0,0) size 143x35 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutTable (anonymous) at (40,15) size 103x20 LayoutTable (anonymous) at (40,15) size 103x20
...@@ -55,7 +55,7 @@ layer at (0,0) size 800x600 ...@@ -55,7 +55,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,207) size 784x20 LayoutNGBlockFlow {DIV} at (0,207) size 784x20
LayoutInline {SPAN} at (0,0) size 143x20 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutInline {SPAN} at (0,0) size 0x0 LayoutInline {SPAN} at (0,0) size 0x0
...@@ -73,7 +73,7 @@ layer at (0,0) size 800x600 ...@@ -73,7 +73,7 @@ layer at (0,0) size 800x600
LayoutNGBlockFlow (anonymous) at (0,20) size 784x0 LayoutNGBlockFlow (anonymous) at (0,20) size 784x0
LayoutNGBlockFlow {DIV} at (0,0) size 784x0 LayoutNGBlockFlow {DIV} at (0,0) size 784x0
LayoutNGBlockFlow (anonymous) at (0,20) size 784x20 LayoutNGBlockFlow (anonymous) at (0,20) size 784x20
LayoutInline {SPAN} at (0,0) size 103x20 LayoutInline {SPAN} at (0,0) size 103x19
LayoutTable (anonymous) at (0,0) size 103x20 LayoutTable (anonymous) at (0,0) size 103x20
LayoutTableSection (anonymous) at (0,0) size 103x20 LayoutTableSection (anonymous) at (0,0) size 103x20
LayoutTableRow (anonymous) at (0,0) size 103x20 LayoutTableRow (anonymous) at (0,0) size 103x20
...@@ -81,7 +81,7 @@ layer at (0,0) size 800x600 ...@@ -81,7 +81,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,267) size 784x20 LayoutNGBlockFlow {DIV} at (0,267) size 784x20
LayoutInline {SPAN} at (0,0) size 230x20 LayoutInline {SPAN} at (0,0) size 230x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutText {#text} at (40,0) size 87x19 LayoutText {#text} at (40,0) size 87x19
...@@ -93,7 +93,7 @@ layer at (0,0) size 800x600 ...@@ -93,7 +93,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,287) size 784x35 LayoutNGBlockFlow {DIV} at (0,287) size 784x35
LayoutInline {SPAN} at (0,0) size 143x35 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutTable (anonymous) at (40,15) size 103x20 LayoutTable (anonymous) at (40,15) size 103x20
...@@ -105,7 +105,7 @@ layer at (0,0) size 800x600 ...@@ -105,7 +105,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,322) size 784x35 LayoutNGBlockFlow {DIV} at (0,322) size 784x35
LayoutInline {SPAN} at (0,0) size 143x35 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutTable (anonymous) at (40,15) size 103x20 LayoutTable (anonymous) at (40,15) size 103x20
...@@ -116,7 +116,7 @@ layer at (0,0) size 800x600 ...@@ -116,7 +116,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,357) size 784x20 LayoutNGBlockFlow {DIV} at (0,357) size 784x20
LayoutInline {SPAN} at (0,0) size 143x20 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutInline {SPAN} at (0,0) size 0x0 LayoutInline {SPAN} at (0,0) size 0x0
...@@ -134,7 +134,7 @@ layer at (0,0) size 800x600 ...@@ -134,7 +134,7 @@ layer at (0,0) size 800x600
LayoutNGBlockFlow (anonymous) at (0,20) size 784x0 LayoutNGBlockFlow (anonymous) at (0,20) size 784x0
LayoutNGBlockFlow {DIV} at (0,0) size 784x0 LayoutNGBlockFlow {DIV} at (0,0) size 784x0
LayoutNGBlockFlow (anonymous) at (0,20) size 784x20 LayoutNGBlockFlow (anonymous) at (0,20) size 784x20
LayoutInline {SPAN} at (0,0) size 103x20 LayoutInline {SPAN} at (0,0) size 103x19
LayoutTable (anonymous) at (0,0) size 103x20 LayoutTable (anonymous) at (0,0) size 103x20
LayoutTableSection (anonymous) at (0,0) size 103x20 LayoutTableSection (anonymous) at (0,0) size 103x20
LayoutTableRow {DIV} at (0,0) size 103x20 LayoutTableRow {DIV} at (0,0) size 103x20
...@@ -142,7 +142,7 @@ layer at (0,0) size 800x600 ...@@ -142,7 +142,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,417) size 784x20 LayoutNGBlockFlow {DIV} at (0,417) size 784x20
LayoutInline {SPAN} at (0,0) size 230x20 LayoutInline {SPAN} at (0,0) size 230x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutText {#text} at (40,0) size 87x19 LayoutText {#text} at (40,0) size 87x19
...@@ -154,7 +154,7 @@ layer at (0,0) size 800x600 ...@@ -154,7 +154,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,437) size 784x35 LayoutNGBlockFlow {DIV} at (0,437) size 784x35
LayoutInline {SPAN} at (0,0) size 143x35 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutTable (anonymous) at (40,15) size 103x20 LayoutTable (anonymous) at (40,15) size 103x20
...@@ -167,7 +167,7 @@ layer at (0,0) size 800x600 ...@@ -167,7 +167,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,472) size 784x35 LayoutNGBlockFlow {DIV} at (0,472) size 784x35
LayoutInline {SPAN} at (0,0) size 143x35 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutTable (anonymous) at (40,15) size 103x20 LayoutTable (anonymous) at (40,15) size 103x20
...@@ -179,7 +179,7 @@ layer at (0,0) size 800x600 ...@@ -179,7 +179,7 @@ layer at (0,0) size 800x600
LayoutText {#text} at (0,0) size 103x19 LayoutText {#text} at (0,0) size 103x19
text run at (0,0) width 103: "...continues here" text run at (0,0) width 103: "...continues here"
LayoutNGBlockFlow {DIV} at (0,507) size 784x20 LayoutNGBlockFlow {DIV} at (0,507) size 784x20
LayoutInline {SPAN} at (0,0) size 143x20 LayoutInline {SPAN} at (0,0) size 143x19
LayoutText {#text} at (0,0) size 40x19 LayoutText {#text} at (0,0) size 40x19
text run at (0,0) width 40: "Text..." text run at (0,0) width 40: "Text..."
LayoutInline {SPAN} at (0,0) size 0x0 LayoutInline {SPAN} at (0,0) size 0x0
...@@ -197,7 +197,7 @@ layer at (0,0) size 800x600 ...@@ -197,7 +197,7 @@ layer at (0,0) size 800x600
LayoutNGBlockFlow (anonymous) at (0,20) size 784x0 LayoutNGBlockFlow (anonymous) at (0,20) size 784x0
LayoutNGBlockFlow {DIV} at (0,0) size 784x0 LayoutNGBlockFlow {DIV} at (0,0) size 784x0
LayoutNGBlockFlow (anonymous) at (0,20) size 784x20 LayoutNGBlockFlow (anonymous) at (0,20) size 784x20
LayoutInline {SPAN} at (0,0) size 103x20 LayoutInline {SPAN} at (0,0) size 103x19
LayoutTable (anonymous) at (0,0) size 103x20 LayoutTable (anonymous) at (0,0) size 103x20
LayoutTableSection {DIV} at (0,0) size 103x20 LayoutTableSection {DIV} at (0,0) size 103x20
LayoutTableRow (anonymous) at (0,0) size 103x20 LayoutTableRow (anonymous) at (0,0) size 103x20
......
...@@ -17,25 +17,25 @@ layer at (0,0) size 800x675 backgroundClip at (0,0) size 800x600 clip at (0,0) s ...@@ -17,25 +17,25 @@ layer at (0,0) size 800x675 backgroundClip at (0,0) size 800x600 clip at (0,0) s
LayoutTableRow {TR} at (0,2) size 166x34 LayoutTableRow {TR} at (0,2) size 166x34
LayoutNGTableCell {TD} at (2,2) size 58x34 [r=0 c=0 rs=1 cs=1] LayoutNGTableCell {TD} at (2,2) size 58x34 [r=0 c=0 rs=1 cs=1]
LayoutNGBlockFlow {DIV} at (1,1) size 56x32 [border: (2px solid #0000FF)] LayoutNGBlockFlow {DIV} at (1,1) size 56x32 [border: (2px solid #0000FF)]
LayoutInline {FONT} at (0,0) size 52x22 LayoutInline {FONT} at (0,0) size 52x27
LayoutButton {INPUT} at (2,7) size 52x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)] LayoutButton {INPUT} at (2,7) size 52x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
LayoutBlockFlow (anonymous) at (8,3) size 36x16 LayoutBlockFlow (anonymous) at (8,3) size 36x16
LayoutText {#text} at (0,0) size 36x16 LayoutText {#text} at (0,0) size 36x16
text run at (0,0) width 36: "button" text run at (0,0) width 36: "button"
LayoutNGTableCell {TD} at (62,2) size 60x34 [r=0 c=1 rs=1 cs=1] LayoutNGTableCell {TD} at (62,2) size 60x34 [r=0 c=1 rs=1 cs=1]
LayoutNGBlockFlow {DIV} at (1,1) size 58x32 [border: (2px solid #0000FF)] LayoutNGBlockFlow {DIV} at (1,1) size 58x32 [border: (2px solid #0000FF)]
LayoutInline {FONT} at (0,0) size 54x20 LayoutInline {FONT} at (0,0) size 54x27
LayoutMenuList {SELECT} at (2,8) size 54x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)] LayoutMenuList {SELECT} at (2,8) size 54x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
LayoutBlockFlow (anonymous) at (1,1) size 52x18 LayoutBlockFlow (anonymous) at (1,1) size 52x18
LayoutText (anonymous) at (4,1) size 32x16 LayoutText (anonymous) at (4,1) size 32x16
text run at (4,1) width 32: "menu" text run at (4,1) width 32: "menu"
LayoutNGTableCell {TD} at (124,2) size 19x34 [r=0 c=2 rs=1 cs=1] LayoutNGTableCell {TD} at (124,2) size 19x34 [r=0 c=2 rs=1 cs=1]
LayoutNGBlockFlow {DIV} at (1,1) size 17x32 [border: (2px solid #0000FF)] LayoutNGBlockFlow {DIV} at (1,1) size 17x32 [border: (2px solid #0000FF)]
LayoutInline {FONT} at (0,0) size 13x13 LayoutInline {FONT} at (0,0) size 13x27
LayoutBlockFlow {INPUT} at (2,10) size 13x13 LayoutBlockFlow {INPUT} at (2,10) size 13x13
LayoutNGTableCell {TD} at (145,2) size 19x34 [r=0 c=3 rs=1 cs=1] LayoutNGTableCell {TD} at (145,2) size 19x34 [r=0 c=3 rs=1 cs=1]
LayoutNGBlockFlow {DIV} at (1,1) size 17x32 [border: (2px solid #0000FF)] LayoutNGBlockFlow {DIV} at (1,1) size 17x32 [border: (2px solid #0000FF)]
LayoutInline {FONT} at (0,0) size 13x13 LayoutInline {FONT} at (0,0) size 13x27
LayoutBlockFlow {INPUT} at (2,10) size 13x13 LayoutBlockFlow {INPUT} at (2,10) size 13x13
LayoutTable {TABLE} at (0,183.25) size 166x32 LayoutTable {TABLE} at (0,183.25) size 166x32
LayoutTableSection {TBODY} at (0,0) size 166x32 LayoutTableSection {TBODY} at (0,0) size 166x32
...@@ -63,25 +63,25 @@ layer at (0,0) size 800x675 backgroundClip at (0,0) size 800x600 clip at (0,0) s ...@@ -63,25 +63,25 @@ layer at (0,0) size 800x675 backgroundClip at (0,0) size 800x600 clip at (0,0) s
LayoutTableRow {TR} at (0,2) size 166x28 LayoutTableRow {TR} at (0,2) size 166x28
LayoutNGTableCell {TD} at (2,2) size 58x28 [r=0 c=0 rs=1 cs=1] LayoutNGTableCell {TD} at (2,2) size 58x28 [r=0 c=0 rs=1 cs=1]
LayoutNGBlockFlow {DIV} at (1,1) size 56x26 [border: (2px solid #0000FF)] LayoutNGBlockFlow {DIV} at (1,1) size 56x26 [border: (2px solid #0000FF)]
LayoutInline {FONT} at (0,0) size 52x22 LayoutInline {FONT} at (0,0) size 52x12
LayoutButton {INPUT} at (2,2) size 52x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)] LayoutButton {INPUT} at (2,2) size 52x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
LayoutBlockFlow (anonymous) at (8,3) size 36x16 LayoutBlockFlow (anonymous) at (8,3) size 36x16
LayoutText {#text} at (0,0) size 36x16 LayoutText {#text} at (0,0) size 36x16
text run at (0,0) width 36: "button" text run at (0,0) width 36: "button"
LayoutNGTableCell {TD} at (62,3) size 60x26 [r=0 c=1 rs=1 cs=1] LayoutNGTableCell {TD} at (62,3) size 60x26 [r=0 c=1 rs=1 cs=1]
LayoutNGBlockFlow {DIV} at (1,1) size 58x24 [border: (2px solid #0000FF)] LayoutNGBlockFlow {DIV} at (1,1) size 58x24 [border: (2px solid #0000FF)]
LayoutInline {FONT} at (0,0) size 54x20 LayoutInline {FONT} at (0,0) size 54x12
LayoutMenuList {SELECT} at (2,2) size 54x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)] LayoutMenuList {SELECT} at (2,2) size 54x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
LayoutBlockFlow (anonymous) at (1,1) size 52x18 LayoutBlockFlow (anonymous) at (1,1) size 52x18
LayoutText (anonymous) at (4,1) size 32x16 LayoutText (anonymous) at (4,1) size 32x16
text run at (4,1) width 32: "menu" text run at (4,1) width 32: "menu"
LayoutNGTableCell {TD} at (124,3) size 19x26 [r=0 c=2 rs=1 cs=1] LayoutNGTableCell {TD} at (124,3) size 19x26 [r=0 c=2 rs=1 cs=1]
LayoutNGBlockFlow {DIV} at (1,1) size 17x24 [border: (2px solid #0000FF)] LayoutNGBlockFlow {DIV} at (1,1) size 17x24 [border: (2px solid #0000FF)]
LayoutInline {FONT} at (0,0) size 13x13 LayoutInline {FONT} at (0,0) size 13x12
LayoutBlockFlow {INPUT} at (2,4) size 13x13 LayoutBlockFlow {INPUT} at (2,4) size 13x13
LayoutNGTableCell {TD} at (145,3) size 19x26 [r=0 c=3 rs=1 cs=1] LayoutNGTableCell {TD} at (145,3) size 19x26 [r=0 c=3 rs=1 cs=1]
LayoutNGBlockFlow {DIV} at (1,1) size 17x24 [border: (2px solid #0000FF)] LayoutNGBlockFlow {DIV} at (1,1) size 17x24 [border: (2px solid #0000FF)]
LayoutInline {FONT} at (0,0) size 13x13 LayoutInline {FONT} at (0,0) size 13x12
LayoutBlockFlow {INPUT} at (2,4) size 13x13 LayoutBlockFlow {INPUT} at (2,4) size 13x13
LayoutTable {TABLE} at (0,247.25) size 592x81 LayoutTable {TABLE} at (0,247.25) size 592x81
LayoutTableSection {TBODY} at (0,0) size 592x81 LayoutTableSection {TBODY} at (0,0) size 592x81
...@@ -221,7 +221,7 @@ layer at (0,0) size 800x675 backgroundClip at (0,0) size 800x600 clip at (0,0) s ...@@ -221,7 +221,7 @@ layer at (0,0) size 800x675 backgroundClip at (0,0) size 800x600 clip at (0,0) s
text run at (4,1) width 56: "xxxxxxxx" text run at (4,1) width 56: "xxxxxxxx"
LayoutText {#text} at (0,0) size 0x0 LayoutText {#text} at (0,0) size 0x0
LayoutNGBlockFlow {DIV} at (0,625.88) size 784x20 LayoutNGBlockFlow {DIV} at (0,625.88) size 784x20
LayoutInline {FONT} at (0,0) size 131x20 LayoutInline {FONT} at (0,0) size 131x12
LayoutText {#text} at (0,0) size 0x0 LayoutText {#text} at (0,0) size 0x0
LayoutMenuList {SELECT} at (0,0) size 22x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)] LayoutMenuList {SELECT} at (0,0) size 22x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
LayoutBlockFlow (anonymous) at (1,1) size 20x18 LayoutBlockFlow (anonymous) at (1,1) size 20x18
......
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutNGBlockFlow {HTML} at (0,0) size 800x600
LayoutNGBlockFlow {BODY} at (8,8) size 784x584
LayoutNGBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 782x19
text run at (0,0) width 782: "Test appearances of spin buttons. Disabled state and read-only state should have appearances different from the normal state."
LayoutNGBlockFlow {DIV} at (0,36) size 784x30
LayoutInline {LABEL} at (0,0) size 334x30
LayoutTextControl {INPUT} at (0,0) size 250x30 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
LayoutFlexibleBox {DIV} at (2,3) size 246x24
LayoutBlockFlow {DIV} at (0,0) size 231x24
LayoutBlockFlow {DIV} at (231,0) size 15x24
LayoutText {#text} at (250,7) size 84x19
text run at (250,7) width 84: " Normal state"
LayoutNGBlockFlow {DIV} at (0,66) size 784x30
LayoutInline {LABEL} at (0,0) size 342x30
LayoutTextControl {INPUT} at (0,0) size 250x30 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #EEEEEE)]
LayoutFlexibleBox {DIV} at (2,3) size 246x24
LayoutBlockFlow {DIV} at (0,0) size 231x24
LayoutText {#text} at (250,7) size 92x19
text run at (250,7) width 92: " Disabled state"
LayoutNGBlockFlow {DIV} at (0,96) size 784x30
LayoutInline {LABEL} at (0,0) size 352x30
LayoutTextControl {INPUT} at (0,0) size 250x30 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
LayoutFlexibleBox {DIV} at (2,3) size 246x24
LayoutBlockFlow {DIV} at (0,0) size 231x24
LayoutText {#text} at (250,7) size 102x19
text run at (250,7) width 102: " Read-only state"
layer at (10,47) size 231x24
LayoutBlockFlow {DIV} at (0,0) size 231x24
LayoutText {#text} at (0,0) size 11x23
text run at (0,0) width 11: "0"
layer at (10,77) size 231x24
LayoutBlockFlow {DIV} at (0,0) size 231x24
LayoutText {#text} at (0,0) size 11x23
text run at (0,0) width 11: "0"
layer at (10,107) size 231x24
LayoutBlockFlow {DIV} at (0,0) size 231x24
LayoutText {#text} at (0,0) size 11x23
text run at (0,0) width 11: "0"
layer at (241,77) size 15x24 transparent
LayoutBlockFlow {DIV} at (231,0) size 15x24
layer at (241,107) size 15x24 transparent
LayoutBlockFlow {DIV} at (231,0) size 15x24
caret: position 0 of child 0 {#text} of child 0 {DIV} of child 0 {DIV} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of child 0 {LABEL} of child 9 {DIV} of body
...@@ -7,15 +7,15 @@ layer at (0,0) size 800x600 ...@@ -7,15 +7,15 @@ layer at (0,0) size 800x600
LayoutInline {FONT} at (0,0) size 296x19 LayoutInline {FONT} at (0,0) size 296x19
LayoutText {#text} at (244,0) size 296x19 LayoutText {#text} at (244,0) size 296x19
text run at (244,0) width 296: "You should see a 100x100 green Image below." text run at (244,0) width 296: "You should see a 100x100 green Image below."
LayoutNGBlockFlow (anonymous) at (0,20) size 784x100 LayoutNGBlockFlow (anonymous) at (0,20) size 784x105
LayoutInline {FONT} at (0,0) size 100x100 LayoutInline {FONT} at (0,0) size 100x19
LayoutNGBlockFlow {IMG} at (0,0) size 100x100 [bgcolor=#008000] LayoutNGBlockFlow {IMG} at (0,0) size 100x100 [bgcolor=#008000]
LayoutText {#text} at (0,0) size 0x0 LayoutText {#text} at (0,0) size 0x0
LayoutTable {TABLE} at (0,120) size 6x6 LayoutTable {TABLE} at (0,125) size 6x6
LayoutTableSection {TBODY} at (0,0) size 6x6 LayoutTableSection {TBODY} at (0,0) size 6x6
LayoutTableRow {TR} at (0,2) size 6x2 LayoutTableRow {TR} at (0,2) size 6x2
LayoutNGTableCell {TD} at (2,2) size 2x2 [r=0 c=0 rs=1 cs=1] LayoutNGTableCell {TD} at (2,2) size 2x2 [r=0 c=0 rs=1 cs=1]
LayoutNGBlockFlow (anonymous) at (0,126) size 784x0 LayoutNGBlockFlow (anonymous) at (0,131) size 784x0
LayoutInline {FONT} at (0,0) size 0x0 LayoutInline {FONT} at (0,0) size 0x0
LayoutText {#text} at (0,0) size 0x0 LayoutText {#text} at (0,0) size 0x0
layer at (8,28) size 100x100 clip at (9,29) size 98x98 layer at (8,28) size 100x100 clip at (9,29) size 98x98
......
...@@ -3,7 +3,7 @@ layer at (0,0) size 800x600 ...@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
layer at (0,0) size 800x600 layer at (0,0) size 800x600
LayoutNGBlockFlow {HTML} at (0,0) size 800x600 LayoutNGBlockFlow {HTML} at (0,0) size 800x600
LayoutNGBlockFlow {BODY} at (8,8) size 784x584 LayoutNGBlockFlow {BODY} at (8,8) size 784x584
LayoutInline {MAP} at (0,0) size 564x294 LayoutInline {MAP} at (0,0) size 564x19
LayoutNGBlockFlow {IMG} at (0,0) size 564x294 LayoutNGBlockFlow {IMG} at (0,0) size 564x294
LayoutText {#text} at (0,0) size 0x0 LayoutText {#text} at (0,0) size 0x0
layer at (8,8) size 564x294 clip at (9,9) size 562x292 layer at (8,8) size 564x294 clip at (9,9) size 562x292
......
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutNGBlockFlow {HTML} at (0,0) size 800x600
LayoutNGBlockFlow {BODY} at (8,8) size 784x584
LayoutNGBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 322x19
text run at (0,0) width 322: "This is a repaint test of inline blocks with overflow."
LayoutNGBlockFlow (anonymous) at (0,46) size 784x20
LayoutInline {SPAN} at (0,0) size 198x20
LayoutText {#text} at (0,0) size 98x19
text run at (0,0) width 98: "Here comes an "
LayoutNGBlockFlow {SPAN} at (98,0) size 100x20 [bgcolor=#C0C0C0]
LayoutText {#text} at (0,0) size 92x39
text run at (0,0) width 74: "inline block"
text run at (0,20) width 92: "with overflow."
LayoutText {#text} at (0,0) size 0x0
layer at (8,44) size 784x2 clip at (0,0) size 0x0
LayoutNGBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
...@@ -2,7 +2,7 @@ layer at (0,0) size 800x600 ...@@ -2,7 +2,7 @@ layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600 LayoutView at (0,0) size 800x600
layer at (0,0) size 800x105 layer at (0,0) size 800x105
LayoutNGBlockFlow {html} at (0,0) size 800x105 LayoutNGBlockFlow {html} at (0,0) size 800x105
LayoutInline {body} at (0,0) size 225x104 LayoutInline {body} at (0,0) size 225x19
LayoutText {#text} at (0,0) size 0x0 LayoutText {#text} at (0,0) size 0x0
LayoutInline {h1} at (0,0) size 54x19 LayoutInline {h1} at (0,0) size 54x19
LayoutText {#text} at (0,85) size 54x19 LayoutText {#text} at (0,85) size 54x19
......
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x105
LayoutNGBlockFlow {html} at (0,0) size 800x105
LayoutInline {head} at (0,0) size 80x19
LayoutText {#text} at (0,0) size 0x0
LayoutInline {title} at (0,0) size 76x19
LayoutText {#text} at (0,85) size 76x19
text run at (0,85) width 76: "SVG Image"
LayoutText {#text} at (76,85) size 4x19
text run at (76,85) width 4: " "
LayoutText {#text} at (0,0) size 0x0
LayoutInline {body} at (0,0) size 600x100
LayoutText {#text} at (0,0) size 0x0
LayoutSVGRoot {svg} at (80,0) size 600x100
LayoutSVGImage {image} at (10,10) size 100x60
LayoutText {#text} at (0,0) size 0x0
LayoutText {#text} at (0,0) size 0x0
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x224
LayoutNGBlockFlow {html} at (0,0) size 800x223.88
LayoutNGBlockFlow {body} at (8,21.44) size 784x194.44
LayoutNGBlockFlow {h1} at (0,0) size 784x37
LayoutText {#text} at (0,0) size 495x36
text run at (0,0) width 495: "SVG Images in Inline CSS Elements"
LayoutNGBlockFlow {p} at (0,58.44) size 784x40
LayoutText {#text} at (0,0) size 756x39
text run at (0,0) width 756: "The two following blocks should display side-by-side a 75x75 pixels image with a 3 pixels border overlaid on top of the"
text run at (0,20) width 127: "image (Bug 14051)."
LayoutNGBlockFlow (anonymous) at (0,114.44) size 784x80
LayoutInline {div} at (0,0) size 79x79
LayoutText {#text} at (0,0) size 0x0
LayoutSVGRoot {svg} at (0,0) size 75x75
LayoutSVGImage {image} at (0,0) size 75x75
LayoutSVGRect {rect} at (0,0) size 75x75 [stroke={[type=SOLID] [color=#FF0000] [stroke width=6.00]}] [x=0.00] [y=0.00] [width=75.00] [height=75.00]
LayoutText {#text} at (75,60) size 4x19
text run at (75,60) width 4: " "
LayoutText {#text} at (0,0) size 0x0
LayoutInline {div} at (0,0) size 75x75
LayoutText {#text} at (0,0) size 0x0
LayoutSVGRoot {svg} at (79,0) size 75x75
LayoutSVGImage {image} at (0,0) size 75x75
LayoutSVGRect {rect} at (0,0) size 75x75 [stroke={[type=SOLID] [color=#FF0000] [stroke width=6.00]}] [x=0.00] [y=0.00] [width=75.00] [height=75.00]
LayoutText {#text} at (0,0) size 0x0
LayoutText {#text} at (0,0) size 0x0
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x405
LayoutNGBlockFlow {html} at (0,0) size 800x405
LayoutInline {body} at (0,0) size 400x400
LayoutText {#text} at (0,0) size 0x0
LayoutSVGRoot {svg} at (0,0) size 400x400
LayoutSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
LayoutText {#text} at (0,0) size 0x0
LayoutText {#text} at (0,0) size 0x0
layer at (0,0) size 800x600 clip at (0,0) size 785x585 scrollWidth 800 scrollHeight 605
LayoutView at (0,0) size 800x600
layer at (0,0) size 785x605 backgroundClip at (0,0) size 785x585 clip at (0,0) size 785x585
LayoutNGBlockFlow {html} at (0,0) size 785x605
LayoutInline {body} at (0,0) size 800x600
LayoutText {#text} at (0,0) size 0x0
LayoutSVGRoot {svg} at (0,0) size 800x600
LayoutSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
LayoutText {#text} at (0,0) size 0x0
LayoutText {#text} at (0,0) size 0x0
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x405
LayoutNGBlockFlow {html} at (0,0) size 800x405
LayoutInline {body} at (0,0) size 400x400
LayoutText {#text} at (0,0) size 0x0
LayoutSVGRoot {svg} at (0,0) size 400x400
LayoutSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
LayoutText {#text} at (0,0) size 0x0
LayoutText {#text} at (0,0) size 0x0
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x405
LayoutNGBlockFlow {html} at (0,0) size 800x405
LayoutInline {body} at (0,0) size 400x400
LayoutText {#text} at (0,0) size 0x0
LayoutSVGRoot {svg} at (0,0) size 400x400
LayoutSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
LayoutText {#text} at (0,0) size 0x0
LayoutText {#text} at (0,0) size 0x0
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x405
LayoutNGBlockFlow {html} at (0,0) size 800x405
LayoutInline {body} at (0,0) size 400x400
LayoutText {#text} at (0,0) size 0x0
LayoutSVGRoot {svg} at (0,0) size 400x400
LayoutSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
LayoutText {#text} at (0,0) size 0x0
LayoutText {#text} at (0,0) size 0x0
...@@ -3,7 +3,7 @@ layer at (0,0) size 800x600 ...@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
layer at (0,0) size 800x600 layer at (0,0) size 800x600
LayoutNGBlockFlow {HTML} at (0,0) size 800x600 LayoutNGBlockFlow {HTML} at (0,0) size 800x600
LayoutNGBlockFlow {BODY} at (8,8) size 784x584 LayoutNGBlockFlow {BODY} at (8,8) size 784x584
LayoutInline {MAP} at (0,0) size 564x294 LayoutInline {MAP} at (0,0) size 564x19
LayoutNGBlockFlow {IMG} at (0,0) size 564x294 LayoutNGBlockFlow {IMG} at (0,0) size 564x294
LayoutText {#text} at (0,0) size 0x0 LayoutText {#text} at (0,0) size 0x0
layer at (8,8) size 564x294 clip at (9,9) size 562x292 layer at (8,8) size 564x294 clip at (9,9) size 562x292
......
CONTENT_TYPE: application/csp-report
HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/resources/generate-csp-report.php
REQUEST_METHOD: POST
=== POST DATA ===
{"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPolicy/resources/generate-csp-report.php","referrer":"","violated-directive":"script-src","effective-directive":"script-src","original-policy":"script-src 'self'; report-uri save-report.php?test=generate-csp-report.php","disposition":"enforce","blocked-uri":"inline","line-number":1,"source-file":"http://127.0.0.1:8000/security/contentSecurityPolicy/resources/generate-csp-report.php","status-code":200,"script-sample":""}}
\ No newline at end of file
...@@ -245,11 +245,16 @@ void NGInlineBoxState::SetLineRightForBoxFragment( ...@@ -245,11 +245,16 @@ void NGInlineBoxState::SetLineRightForBoxFragment(
} }
bool NGInlineBoxState::ParentNeedsBoxFragment() const { bool NGInlineBoxState::ParentNeedsBoxFragment() const {
// Below are the known cases where parent rect may not equal the union of
// its child rects.
if (margin_inline_start || margin_inline_end) if (margin_inline_start || margin_inline_end)
return true; return true;
// TODO(xiaochengh): Include other cases: // Inline box height is determined by font metrics, which can be different
// - current box has a different font-size // from the height of its child atomic inline.
// - current box is an atomic inline if (item && item->Type() == NGInlineItem::kAtomicInline)
return true;
// TODO(xiaochengh): We may need to create box fragment when this box and
// parent have differnt 'font-size' values. Not capured by layout test yet.
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment