Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-contain] Fix contain-size-025 using "dislay: block" on images #12960

Merged
merged 1 commit into from
Sep 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions css/css-contain/contain-size-025.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
padding: 50px;
}

span.block-descendant
span.block-descendant, img
{
display: block;
}
Expand All @@ -61,8 +61,8 @@

<div>
<div id="blue-test" class="inline-block">
<span class="block-descendant"><img src="support/blue50wBy23h.png" alt="Image download support must be enabled"></span>
<span id="last-line-box" class="block-descendant"><img src="support/blue50wBy23h.png" alt="Image download support must be enabled"></span>
<span class="block-descendant"><img src="support/blue50wBy25h.png" alt="Image download support must be enabled"></span>
<span id="last-line-box" class="block-descendant"><img src="support/blue50wBy25h.png" alt="Image download support must be enabled"></span>
</div>
</div>

Expand Down
Binary file removed css/css-contain/support/blue50wBy23h.png
Binary file not shown.
Binary file added css/css-contain/support/blue50wBy25h.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.