gecko-dev/testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-cluster-002.html
Florian Rivoal be59810e7b Bug 1585322 [wpt PR 19443] - Fix text tests, a=testonly
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
2019-10-14 11:23:17 +00:00

21 lines
791 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: overflow-wrap:anywhere 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:anywhere">
<style>
div {
font-size: 4em;
width: 4em;
}
#test {
overflow-wrap: anywhere;
width: 0;
}
</style>
<p>Test passes if there are four identical lines of text below.
<div lang=hi id=ref>&#x0937;&#x093F;<br>&#x0937;&#x093F;</div>
<div lang=hi id=test>&#x0937;&#x093F;&#x0937;&#x093F;</div>