Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[LBSE] Enable size negotiation logic for <object> + RenderSVGRoot in …
…LBSE https://bugs.webkit.org/show_bug.cgi?id=245907 Reviewed by Adrian Perez de Castro. The <object> size negotiation logic is only activated for the legacy engine. Fix that --> mark 17 more tests as passing in LBSE. * LayoutTests/platform/mac-monterey-wk2-lbse-text/TestExpectations: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/as-image/img-preserveAspectRatio-support-2-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/as-object/embedded-svg-size-changes-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/hixie/intrinsic/003-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/hixie/text/003-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/wicd/sizing-flakiness-expected.txt: * LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/wicd/test-rightsizing-b-expected.txt: * Source/WebCore/page/FrameView.cpp: (WebCore::FrameView::forceLayoutParentViewIfNeeded): (WebCore::FrameView::embeddedContentBox const): Canonical link: https://commits.webkit.org/255291@main
- Loading branch information
1 parent
b850119
commit f02cb2246d5b4b081cc8d127fb1aadfdfa2bedac
Showing
13 changed files
with
180 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
layer at (0,0) size 800x600 | ||
RenderView at (0,0) size 800x600 | ||
layer at (0,0) size 800x217 | ||
RenderBlock {HTML} at (0,0) size 800x217 [color=#000080] [bgcolor=#FFFFFF] | ||
RenderBody {BODY} at (8,16) size 784x185 | ||
RenderBlock {DIV} at (0,0) size 100x150 | ||
RenderBlock {P} at (0,0) size 100x150 | ||
RenderEmbeddedObject {OBJECT} at (0,0) size 400x150 | ||
layer at (0,0) size 300x150 | ||
RenderView at (0,0) size 300x150 | ||
layer at (0,0) size 300x150 | ||
RenderSVGRoot {svg} at (0,0) size 300x150 | ||
RenderBlock {P} at (0,166) size 784x19 | ||
layer at (0,0) size 800x267 | ||
RenderBlock {HTML} at (0,0) size 800x267 [color=#000080] [bgcolor=#FFFFFF] | ||
RenderBody {BODY} at (8,16) size 784x235 | ||
RenderBlock {DIV} at (0,0) size 100x200 | ||
RenderBlock {P} at (0,0) size 100x200 | ||
RenderEmbeddedObject {OBJECT} at (0,0) size 200x200 | ||
layer at (0,0) size 100x200 | ||
RenderView at (0,0) size 100x200 | ||
layer at (0,0) size 100x200 | ||
RenderSVGRoot {svg} at (0,0) size 100x200 | ||
RenderBlock {P} at (0,216) size 784x19 | ||
RenderText {#text} at (0,0) size 431x18 | ||
text run at (0,0) width 431: "There should be a complete unbroken yin-yang symbol (\x{262F}) above." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
layer at (0,0) size 800x600 | ||
RenderView at (0,0) size 800x600 | ||
layer at (0,0) size 800x402 | ||
RenderBlock {HTML} at (0,0) size 800x402 | ||
RenderBody {BODY} at (8,16) size 784x370 | ||
layer at (0,0) size 800x414 | ||
RenderBlock {HTML} at (0,0) size 800x414 | ||
RenderBody {BODY} at (8,16) size 784x382 | ||
RenderBlock {P} at (0,0) size 784x18 | ||
RenderText {#text} at (0,0) size 616x18 | ||
text run at (0,0) width 616: "The following two blocks should look identical (to the pixel), and they should both say \"PASS\":" | ||
RenderBlock {P} at (0,34) size 784x160 | ||
RenderEmbeddedObject {OBJECT} at (0,0) size 306x156 [border: (3px inset #000080)] | ||
layer at (0,0) size 300x150 | ||
RenderView at (0,0) size 300x150 | ||
layer at (0,0) size 300x150 | ||
RenderSVGRoot {svg} at (0,0) size 300x150 | ||
layer at (0,0) size 300x150 | ||
RenderSVGViewportContainer at (0,0) size 300x150 | ||
layer at (0,0) size 2x1 backgroundClip at (0,0) size 300x150 clip at (0,0) size 300x150 | ||
RenderBlock {P} at (0,34) size 784x166 | ||
RenderEmbeddedObject {OBJECT} at (0,0) size 784x162 [border: (3px inset #000080)] | ||
layer at (0,0) size 778x156 | ||
RenderView at (0,0) size 778x156 | ||
layer at (0,0) size 778x156 | ||
RenderSVGRoot {svg} at (0,0) size 778x156 | ||
layer at (0,0) size 778x156 | ||
RenderSVGViewportContainer at (0,0) size 778x156 | ||
layer at (0,0) size 2x1 backgroundClip at (0,0) size 778x156 clip at (0,0) size 778x156 | ||
RenderSVGText {text} at (0,-1) size 3x3 contains 1 chunk(s) | ||
RenderSVGInlineText {#text} at (0,0) size 3x2 | ||
chunk 1 text run 1 at (0.00,0.80) startOffset 0 endOffset 4 width 2.39: "PASS" | ||
RenderBlock {P} at (0,210) size 784x160 | ||
RenderEmbeddedObject {OBJECT} at (0,0) size 306x156 [border: (3px inset #000080)] | ||
layer at (0,0) size 300x150 | ||
RenderView at (0,0) size 300x150 | ||
layer at (0,0) size 300x150 | ||
RenderSVGRoot {svg} at (0,0) size 300x150 | ||
layer at (0,0) size 300x150 | ||
RenderSVGViewportContainer at (0,0) size 300x150 | ||
layer at (0,-100) size 2391x1150 backgroundClip at (0,0) size 300x150 clip at (0,0) size 300x150 | ||
RenderSVGText {text} at (0,-100) size 2391x1150 contains 1 chunk(s) | ||
RenderSVGInlineText {#text} at (0,0) size 2391x1150 | ||
chunk 1 text run 1 at (0.00,800.00) startOffset 0 endOffset 4 width 2390.63: "PASS" | ||
chunk 1 text run 1 at (0.00,0.80) startOffset 0 endOffset 4 width 2.40: "PASS" | ||
RenderBlock {P} at (0,216) size 784x166 | ||
RenderEmbeddedObject {OBJECT} at (0,0) size 784x162 [border: (3px inset #000080)] | ||
layer at (0,0) size 778x156 | ||
RenderView at (0,0) size 778x156 | ||
layer at (0,0) size 778x156 | ||
RenderSVGRoot {svg} at (0,0) size 778x156 | ||
layer at (0,0) size 778x156 | ||
RenderSVGViewportContainer at (0,0) size 778x156 | ||
layer at (0,-100) size 2397x1151 backgroundClip at (0,0) size 778x156 clip at (0,0) size 778x156 | ||
RenderSVGText {text} at (0,-100) size 2397x1151 contains 1 chunk(s) | ||
RenderSVGInlineText {#text} at (0,0) size 2397x1151 | ||
chunk 1 text run 1 at (0.00,800.00) startOffset 0 endOffset 4 width 2396.77: "PASS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.