mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #23912 - servo-wpt-sync:wpt_update_04-08-2019, r=servo-wpt-sync
Sync WPT with upstream (04-08-2019) Automated downstream sync of changes from upstream as of 04-08-2019. [no-wpt-sync]
This commit is contained in:
commit
802e16b702
350 changed files with 5147 additions and 1855 deletions
|
@ -7,7 +7,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
[Revoke blob URL after creating Request, will fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Revoke blob URL after calling fetch, fetch should succeed]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[url-with-fetch.any.html]
|
||||
[Untitled]
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,2 +0,0 @@
|
|||
[mix-blend-mode-animation.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-001.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-002.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-003.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-004.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-001.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-002.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-003.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-004.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-005.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-006.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-007.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-008.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-009.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-010.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-011.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-012.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-013.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-014.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[trailing-other-space-separators-break-spaces-015.html]
|
||||
expected: FAIL
|
|
@ -509,15 +509,3 @@
|
|||
[border-left-width length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-bottom length(mm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[margin-top length(px) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-left length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-left length(pc) / values]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -321,9 +321,6 @@
|
|||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -336,3 +333,9 @@
|
|||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -59,3 +59,6 @@
|
|||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript error]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -11,6 +11,3 @@
|
|||
[X-Content-Type-Options%3A%20nosniff%0C]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[creating_browsing_context_test_01.html]
|
||||
[first argument: absolute url]
|
||||
expected: FAIL
|
||||
|
|
@ -1,32 +1,42 @@
|
|||
[open-features-non-integer-top.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for feature `top`]
|
||||
expected: FAIL
|
||||
|
||||
[features "top=105/5" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105*3" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105LLl" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105e-1" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105.32" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105e1" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105 " should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105^4" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105.5" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=/104" should NOT set "top=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=_104" should NOT set "top=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=L104" should NOT set "top=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
[form-submission-algorithm.html]
|
||||
expected: TIMEOUT
|
||||
[If form's firing submission events is true, then return; 'submit' event]
|
||||
expected: FAIL
|
||||
|
||||
[If form's firing submission events is true, then return; 'invalid' event]
|
||||
expected: FAIL
|
||||
|
||||
[Cannot navigate (after constructing the entry list)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[promise-rejection-events.html]
|
||||
expected: TIMEOUT
|
||||
[delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8,3 +9,6 @@
|
|||
[no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[rejectionhandled is dispatched from a queued task, and not immediately]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -158,3 +158,9 @@
|
|||
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[30\]\t9.4836157560348511e-1\t9.5236867666244507e-1\t4.0071010589599609e-3\t4.2075103446311962e-3\t3.8985999999999999e-3\n\t[31\]\t9.2646563053131104e-1\t9.3139332532882690e-1\t4.9276947975158691e-3\t5.2906700783754857e-3\t3.8985999999999999e-3\n\t[32\]\t9.0087991952896118e-1\t9.0675884485244751e-1\t5.8789253234863281e-3\t6.4834496590358351e-3\t3.8985999999999999e-3\n\t[33\]\t8.7170630693435669e-1\t8.7856203317642212e-1\t6.8557262420654297e-3\t7.8033490899654511e-3\t3.8985999999999999e-3\n\t[34\]\t8.3906102180480957e-1\t8.4691369533538818e-1\t7.8526735305786133e-3\t9.2721059699818163e-3\t3.8985999999999999e-3\n\t...and 31037 more errors.\n\tMax AbsError of 9.7228890145421028e+3 at index of 39267.\n\t[39267\]\t9.7219062500000000e+3\t-9.8276454210281372e-1\t9.7228890145421028e+3\t9.8934064040793655e+3\t3.8985999999999999e-3\n\tMax RelError of 9.8934064040793655e+3 at index of 39267.\n\t[39267\]\t9.7219062500000000e+3\t-9.8276454210281372e-1\t9.7228890145421028e+3\t9.8934064040793655e+3\t3.8985999999999999e-3\n]
|
||||
expected: FAIL
|
||||
|
||||
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[30\]\t9.4836157560348511e-1\t9.5236867666244507e-1\t4.0071010589599609e-3\t4.2075103446311962e-3\t3.8985999999999999e-3\n\t[31\]\t9.2646563053131104e-1\t9.3139332532882690e-1\t4.9276947975158691e-3\t5.2906700783754857e-3\t3.8985999999999999e-3\n\t[32\]\t9.0087991952896118e-1\t9.0675884485244751e-1\t5.8789253234863281e-3\t6.4834496590358351e-3\t3.8985999999999999e-3\n\t[33\]\t8.7170630693435669e-1\t8.7856203317642212e-1\t6.8557262420654297e-3\t7.8033490899654511e-3\t3.8985999999999999e-3\n\t[34\]\t8.3906102180480957e-1\t8.4691369533538818e-1\t7.8526735305786133e-3\t9.2721059699818163e-3\t3.8985999999999999e-3\n\t...and 31037 more errors.\n\tMax AbsError of 1.8176873647937587e+35 at index of 39267.\n\t[39267\]\t-1.8176873647937587e+35\t-9.8276454210281372e-1\t1.8176873647937587e+35\t1.8495654726252813e+35\t3.8985999999999999e-3\n\tMax RelError of 3.8206276586538330e+35 at index of 20238.\n\t[20238\]\t-1.8176620117817541e+35\t-4.7574958205223083e-1\t1.8176620117817541e+35\t3.8206276586538330e+35\t3.8985999999999999e-3\n]
|
||||
expected: FAIL
|
||||
|
||||
[X SNR (-664.7665372056329 dB) is not greater than or equal to 65.737. Got -664.7665372056329.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[xrBoundedReferenceSpace_updates.https.html]
|
||||
expected: TIMEOUT
|
||||
expected: ERROR
|
||||
['XRBoundedReferenceSpace updates properly when the changes are applied]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1104,7 +1104,7 @@ self.invokeRequest = invokeRequest;
|
|||
*/
|
||||
function invokeFromWorker(isDataUrl, workerOptions,
|
||||
subresource, sourceContextList) {
|
||||
const currentSourceContext = sourceContextList.shift();
|
||||
const currentSourceContext = sourceContextList[0];
|
||||
let workerUrl =
|
||||
"/common/security-features/scope/worker.py?policyDeliveries=" +
|
||||
encodeURIComponent(JSON.stringify(
|
||||
|
@ -1128,7 +1128,7 @@ function invokeFromWorker(isDataUrl, workerOptions,
|
|||
.then(url => {
|
||||
const worker = new Worker(url, workerOptions);
|
||||
worker.postMessage({subresource: subresource,
|
||||
sourceContextList: sourceContextList});
|
||||
sourceContextList: sourceContextList.slice(1)});
|
||||
return bindEvents2(worker, "message", worker, "error", window, "error");
|
||||
})
|
||||
.then(event => {
|
||||
|
@ -1139,7 +1139,7 @@ function invokeFromWorker(isDataUrl, workerOptions,
|
|||
}
|
||||
|
||||
function invokeFromIframe(subresource, sourceContextList) {
|
||||
const currentSourceContext = sourceContextList.shift();
|
||||
const currentSourceContext = sourceContextList[0];
|
||||
const frameUrl =
|
||||
"/common/security-features/scope/document.py?policyDeliveries=" +
|
||||
encodeURIComponent(JSON.stringify(
|
||||
|
@ -1165,7 +1165,7 @@ function invokeFromIframe(subresource, sourceContextList) {
|
|||
window, "message", iframe, "error", window, "error");
|
||||
iframe.contentWindow.postMessage(
|
||||
{subresource: subresource,
|
||||
sourceContextList: sourceContextList},
|
||||
sourceContextList: sourceContextList.slice(1)},
|
||||
"*");
|
||||
return promise;
|
||||
})
|
||||
|
|
|
@ -10,13 +10,10 @@
|
|||
<meta name='flags' content='dom'>
|
||||
<meta name="assert" content="When white-space allows wrapping, line breaking behavior defined for the WJ, ZW, and GL line-breaking classes in [UAX14] must be honored.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -10,13 +10,10 @@
|
|||
<meta name='flags' content='dom'>
|
||||
<meta name="assert" content="When white-space allows wrapping, line breaking behavior defined for the WJ, ZW, and GL line-breaking classes in [UAX14] must be honored.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa​bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa​bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa​bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa​bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,25 +7,24 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +34,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking space characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking hyphen characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa֊bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa֊bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa֊bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa֊bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking hyphen characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‐bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‐bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‐bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‐bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking hyphen characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‒bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‒bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‒bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‒bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA breaking hyphen characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa–bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa–bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa–bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa–bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break-details'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA visible word divider characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa־bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa־bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa־bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa־bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break-details'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA visible word divider characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa་bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa་bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa་bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa་bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break-details'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA visible word divider characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa፡bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa፡bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa፡bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa፡bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break-details'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA visible word divider characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៘bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៘bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៘bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៘bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break-details'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA visible word divider characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break-details'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA visible word divider characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‧bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‧bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‧bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa‧bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break-details'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after each of the BA visible word divider characters.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa|bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa|bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa|bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa|bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛫bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛫bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛫bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛫bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛬bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛬bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛬bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛬bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛭bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛭bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛭bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᛭bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁖bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁖bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁖bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁖bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁘bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁘bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁘bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁘bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁙bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁙bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁙bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁙bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁛bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁛bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁛bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁛bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁝bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁝bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁝bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁝bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⁞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸙bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸙bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸙bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸙bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸪bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸪bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸪bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸪bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸫bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸫bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸫bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸫bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸬bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸬bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸬bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸬bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸭bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸭bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸭bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸭bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸰bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸰bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸰bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa⸰bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄀bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄀bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄀bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄀bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄁bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄁bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄁bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄁bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄂bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄂bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄂bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐄂bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐎟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐎟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐎟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐎟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐏐bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐏐bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐏐bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐏐bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐤟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐤟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐤟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𐤟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA historic word separator property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𒑰bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𒑰bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𒑰bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa𒑰bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa।bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa।bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa।bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa।bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa॥bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa॥bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa॥bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa॥bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa๚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa๚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa๚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa๚bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa๛bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa๛bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa๛bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa๛bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa၊bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa၊bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa၊bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa၊bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa။bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa။bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa။bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa။bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᜵bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᜵bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᜵bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᜵bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᜶bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᜶bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᜶bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᜶bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa។bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa។bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa។bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa។bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៕bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៕bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៕bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa៕bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᭞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᭞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᭞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᭞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᭟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᭟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᭟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa᭟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꣎bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꣎bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꣎bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꣎bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꣏bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꣏bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꣏bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꣏bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩝bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩝bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩝bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩝bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩞bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-breaking'>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name='flags' content='dom'>
|
||||
<meta name='flags' content='should dom'>
|
||||
<meta name="assert" content="[Exploratory] The browser will break a line of text after any Unicode character with the BA danda property.">
|
||||
<style type='text/css'>
|
||||
@font-face {
|
||||
font-family: 'csstest_ascii';
|
||||
src: url('support/csstest-ascii-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
#breakable { font-family: csstest_ascii; font-size: 25px; width: 800px; line-height: 30px; }
|
||||
.test > div { font-family: monospace; font-size: 25px; width: 50ch; line-height: 30px; }
|
||||
#breakable2 { white-space: pre-line; }
|
||||
#breakable3 { white-space: pre-wrap; }
|
||||
#breakable4 { white-space: break-spaces; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -25,7 +22,10 @@
|
|||
|
||||
<div class="test">
|
||||
<div id="breakable">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
<div id="breakable2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable3">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
<div id="breakable4">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa꩟bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Notes:
|
||||
|
@ -35,8 +35,17 @@ Box height: <span id='debugresult'></span><script>document.getElementById('debug
|
|||
-->
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, " ");
|
||||
assert_true(document.getElementById('breakable').offsetHeight > 35);
|
||||
}, "white-space:normal");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable2').offsetHeight > 35);
|
||||
}, "white-space:pre-line");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable3').offsetHeight > 35);
|
||||
}, "white-space:pre-wrap");
|
||||
test(function() {
|
||||
assert_true(document.getElementById('breakable4').offsetHeight > 35);
|
||||
}, "white-space:break-spaces");
|
||||
</script>
|
||||
|
||||
<div id='log'></div>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue