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

Conversation

mrego
Copy link
Member

@mrego mrego commented Sep 12, 2018

The test was overflowing in Chromium in some configurations,
because of the images were sitting on the alphabetic baseline
and it varies depending on the font the browser selects.
The test was trying to avoid the issue by using a 50x23 image,
however that was not enough in some cases.

The test is modified so it uses "display: block" for the images
and 50x25 as size for them.
This was discussed offline with @TalbotG.

The test was overflowing in Chromium in some configurations,
because of the images were sitting on the alphabetic baseline
and it varies depending on the font the browser selects.
The test was trying to avoid the issue by using a 50x23 image,
however that was not enough in some cases.

The test is modified so it uses "display: block" for the images
and 50x25 as size for them.
This was discussed offline with @TalbotG.
@frivoal frivoal merged commit 13e6650 into web-platform-tests:master Sep 12, 2018
@mrego mrego deleted the fix-contain-size-025 branch September 14, 2018 05:14
aarongable pushed a commit to chromium/chromium that referenced this pull request Sep 14, 2018
These tests had issues that have been fixed in WPT so they now pass:
* contain-layout-cell-001 and contain-layout-cell-002 fixed by
  web-platform-tests/wpt#12926
* contain-size-025 fixed by
  web-platform-tests/wpt#12960
* contain-layout-formatting-context-margin-001.html fixed by
  https://bugzilla.mozilla.org/show_bug.cgi?id=1490111

Change-Id: I238fd8df20a99536d65815061e10b32b0d59f21f
Reviewed-on: https://chromium-review.googlesource.com/1226591
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#591296}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants