mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-tests [css-text] getComputedStyle sees the resolved value not the computed one -- [css-text] Fix the narrow-wide mappings based on https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt -- [css-text] Make the test fit the screen -- [css-text] Use web-fonts rather than rely on local install -- [css-text] Fix test bugs that prevented the ref from matching -- [css-text] Fix incorrect unicode codepoint -- wpt-commits: 9a7371498674f44d21b42c39b5176333304d544d, ccc9be7f001b032d7b263c2d968d36cb38e72db6, f1d52e3fdbaba266f4a2aaa85d366a736cb5c240, 966e1f37f9493b9f5b740549808478d5e36f4ec8, 08b54593024b0e329fdcad22d6423da0a52101d1, 254f8bea20e034325b5910a9dd76801eb58c1a10 wpt-pr: 19443
21 lines
797 B
HTML
21 lines
797 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Text level 3 Test: overflow-wrap:break-word and grapheme clusters</title>
|
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
|
<link rel="help" href="https://www.w3.org/TR/css-text-3/#overflow-wrap-property">
|
|
<link rel="match" href="reference/overflow-wrap-cluster-001-ref.html">
|
|
<meta name="assert" content="grapheme clusters must stay together as one unit when a line is broken by overflow-wrap:break-word">
|
|
<style>
|
|
div {
|
|
font-size: 4em;
|
|
width: 4em;
|
|
}
|
|
#test {
|
|
overflow-wrap: break-word;
|
|
width: 0;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if there are four identical lines of text below.
|
|
<div lang=hi id=ref>षि<br>षि</div>
|
|
<div lang=hi id=test>षिषि</div>
|