Backed out 2 changesets (bug 1880362) for causing failures at line-breaking-013.html. CLOSED TREE

Backed out changeset 7ae70412fd03 (bug 1880362)
Backed out changeset 45b752a869b1 (bug 1880362)
This commit is contained in:
Butkovits Atila 2024-04-04 13:45:37 +03:00
parent f23ad46d67
commit 4a357d20b6
4 changed files with 3 additions and 51 deletions

File diff suppressed because one or more lines are too long

View file

@ -71,10 +71,6 @@ log "Change the directory to the cloned repo"
log ${tmpclonedir} log ${tmpclonedir}
cd ${tmpclonedir} cd ${tmpclonedir}
log "Patching line segmenter data to fix https://github.com/unicode-org/icu4x/pull/4389"
# This manually patch can be removed once we upgrade to ICU4X 1.5
wget --unlink -q -O ${tmpclonedir}/provider/datagen/data/segmenter/line.toml https://raw.githubusercontent.com/unicode-org/icu4x/e080ecd12e38d6aecc99cd0cfe8c21595c4ce6ff/provider/datagen/data/segmenter/line.toml
log "Copy icu_capi crate to local since we need a patched version" log "Copy icu_capi crate to local since we need a patched version"
rm -rf ${top_src_dir}/intl/icu_capi rm -rf ${top_src_dir}/intl/icu_capi
wget -O icu_capi.tar.gz https://crates.io/api/v1/crates/icu_capi/${icu4x_version}/download wget -O icu_capi.tar.gz https://crates.io/api/v1/crates/icu_capi/${icu4x_version}/download

View file

@ -0,0 +1,2 @@
[line-breaking-021.html]
expected: FAIL

View file

@ -1,46 +0,0 @@
<!doctype html>
<html>
<meta charset="utf-8">
<title>CSS Text — line breaking around Break After and Exclamation</title>
<meta name=assert content="When white-space allows wrapping, line breaking behavior defined for IS and QU line-breaking classes in [UAX14] must be honored.">
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-breaking">
<link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1880362">
<link rel=author title="Makoto Kato" href="mailto:m_kato@ga2.so-net.ne.jp">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
.test > div {
font-family: monospace;
font-size: 25px;
width: 1ch;
line-height: 30px;
}
</style>
<body>
<div class="test">
<div id="nonbreakable1">1.&#x201D;</div>
<div id="nonbreakable2">a.&#x201D;</div>
<div id="nonbreakable3">1.&#x0022;</div>
<div id="nonbreakable4">a.&#x0022;</div>
</div>
<script>
test(function() {
assert_true(document.getElementById('nonbreakable1').offsetHeight <= 35);
}, "U+0x0031 (NU), U+0x002E (IS) and U+0x201D (QU)");
test(function() {
assert_true(document.getElementById('nonbreakable2').offsetHeight <= 35);
}, "U+0x0041 (AL), U+0x002E (IS) and U+0x201D (QU)");
test(function() {
assert_true(document.getElementById('nonbreakable3').offsetHeight <= 35);
}, "U+0x0031 (NU), U+0x002E (IS) and U+0x0022 (QU)");
test(function() {
assert_true(document.getElementById('nonbreakable4').offsetHeight <= 35);
}, "U+0x0041 (AL), U+0x002E (IS) and U+0x0022 (QU)");
</script>
<div id='log'></div>
</body>
</html>