Commit c5a0d954 authored by Peng Huang's avatar Peng Huang Committed by Commit Bot

Revert "Move a test for min-content for a soft-hyphen to wpt"

This reverts commit d37409a1.

Reason for revert: external/wpt/css/css-sizing/min-content-soft-hyphen-001.html failed on Windows 10

https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Win10/36928

Original change's description:
> Move a test for min-content for a soft-hyphen to wpt
> 
> This tests when the inline-size is [min-content]:
> * A `­` produces a break opportunity when computing the
>   min-content inline size.
> * The hyphen character generated by `­` is included into
>   the min-content inline size.
> 
> Originally developed in [CL:1111895].
> 
> [min-content]: https://www.w3.org/TR/css-sizing-3/#valdef-width-min-content
> [CL:1111895] https://chromium-review.googlesource.com/c/chromium/src/+/1111895
> 
> Bug: 636993
> Change-Id: Ib492b2db023a5169247ca00e5b745e42ec33d197
> Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
> Reviewed-on: https://chromium-review.googlesource.com/1113085
> Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#570066}

TBR=cbiesinger@chromium.org,kojii@chromium.org

Change-Id: I3fb91c7c2d66e775a12994734a14afc566d05a3e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 636993
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Reviewed-on: https://chromium-review.googlesource.com/1113667Reviewed-by: default avatarPeng Huang <penghuang@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570109}
parent d0cada97
<!DOCTYPE html>
<title>The min-content inline size shold wrap at a soft-hyphen, and include its advance</title>
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#valdef-width-min-content">
<link rel="match" href="min-content-soft-hyphen-001-ref.html">
<style>
div {
width: min-content;
border: 5px blue solid;
}
</style>
<!--
This test relies on an undefined behavior and may fail if some
conditions do not stand.
The reference file of this test uses U+002D. Although `&shy;`
being rendered as U+002D is not defined, and most UA actually
use U+2010 when the font has a glyph for it, it looks like in
most common fonts the glyph for U+2010 and U+002D match, so
the use of U+002D seems to work in most cases.
-->
<div>0123&shy;45</div>
<!DOCTYPE html>
<style>
div {
width: min-content;
border: 5px blue solid;
}
</style>
<div>0123&shy;45</div>
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