Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix contain-inline-size-replaced.html
https://bugs.webkit.org/show_bug.cgi?id=244799 Reviewed by Tim Nguyen. Implement contain: inline-size for replaced elements. At the moment audio elements use fixed widths in the browser style sheet, so the remaining two failures can't be fixed for now. * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-replaced-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-replaced.html: * Source/WebCore/rendering/RenderBox.cpp: (WebCore::RenderBox::intrinsicLogicalWidth const): * Source/WebCore/rendering/RenderBox.h: (WebCore::RenderBox::intrinsicLogicalWidth const): Deleted. * Source/WebCore/rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::computeReplacedLogicalWidth const): Canonical link: https://commits.webkit.org/254226@main
- Loading branch information
Showing
5 changed files
with
56 additions
and
99 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