author | Wes Kocher <wkocher@mozilla.com> |
Tue, 10 Jan 2017 18:11:10 -0800 | |
changeset 328822 | 2963cf6be7f830c0d2155e2968cfc53585868a76 |
parent 328821 | b079c9833e3ed047e1b984e26b8d62d739baa40b |
child 328823 | c5bce4cd684af6b0042ac3bbb0a260f2e770f33c |
child 328883 | 13e1a410b837a03458df121bcb35c25efb392ce8 |
child 328903 | 044fecccb3d908be3af47449469440c0029cb1fc |
push id | 85546 |
push user | kwierso@gmail.com |
push date | Wed, 11 Jan 2017 02:36:30 +0000 |
treeherder | mozilla-inbound@c5bce4cd684a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | backout |
bugs | 1316482 |
milestone | 53.0a1 |
backs out | ad208e73ab6cd3fb26734bf4a9c19004b9675b27 2a28dc0a75d3c5b2bbf0103ca8554caa9b060a75 b54126cc63d4e3313d6e2d0efbe74731ec1642a8 ebd0c6c8b7837fe7570c5ba4004de2608cdafcaa |
first release with | nightly linux32
2963cf6be7f8
/
53.0a1
/
20170111030235
/
files
nightly linux64
2963cf6be7f8
/
53.0a1
/
20170111030235
/
files
nightly mac
2963cf6be7f8
/
53.0a1
/
20170111030235
/
files
nightly win32
2963cf6be7f8
/
53.0a1
/
20170111030235
/
files
nightly win64
2963cf6be7f8
/
53.0a1
/
20170111030235
/
files
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
releases | nightly linux32
53.0a1
/
20170111030235
/
pushlog to previous
nightly linux64
53.0a1
/
20170111030235
/
pushlog to previous
nightly mac
53.0a1
/
20170111030235
/
pushlog to previous
nightly win32
53.0a1
/
20170111030235
/
pushlog to previous
nightly win64
53.0a1
/
20170111030235
/
pushlog to previous
|
--- a/layout/generic/nsTextFrameUtils.cpp +++ b/layout/generic/nsTextFrameUtils.cpp @@ -10,192 +10,56 @@ #include "nsIContent.h" #include "nsStyleStruct.h" #include "nsTextFragment.h" #include "nsUnicharUtils.h" #include <algorithm> using namespace mozilla; -static bool -IsDiscardable(char16_t ch, uint32_t* aFlags) +static bool IsDiscardable(char16_t ch, uint32_t* aFlags) { // Unlike IS_DISCARDABLE, we don't discard \r. \r will be ignored by gfxTextRun // and discarding it would force us to copy text in many cases of preformatted // text containing \r\n. if (ch == CH_SHY) { *aFlags |= nsTextFrameUtils::TEXT_HAS_SHY; return true; } return IsBidiControl(ch); } -static bool -IsDiscardable(uint8_t ch, uint32_t* aFlags) +static bool IsDiscardable(uint8_t ch, uint32_t* aFlags) { if (ch == CH_SHY) { *aFlags |= nsTextFrameUtils::TEXT_HAS_SHY; return true; } return false; } -static bool -IsSegmentBreak(char16_t aCh) -{ - return aCh == '\n' || aCh == '\r'; -} - -static bool -IsSpaceOrTab(char16_t aCh) -{ - return aCh == ' ' || aCh == '\t'; -} - -static bool -IsSpaceOrTabOrSegmentBreak(char16_t aCh) -{ - return IsSpaceOrTab(aCh) || IsSegmentBreak(aCh); -} - -template<class CharT> -static CharT* -TransformWhiteSpaces(const CharT* aText, uint32_t aLength, - uint32_t aBegin, uint32_t aEnd, - bool aHasSegmentBreak, - bool& aInWhitespace, - CharT* aOutput, - uint32_t& aFlags, - nsTextFrameUtils::CompressionMode aCompression, - gfxSkipChars* aSkipChars) -{ - MOZ_ASSERT(aCompression == nsTextFrameUtils::COMPRESS_WHITESPACE || - aCompression == nsTextFrameUtils::COMPRESS_WHITESPACE_NEWLINE, - "whitespaces should be skippable!!"); - // Get the context preceding/following this white space range. - // For 8-bit text (sizeof CharT == 1), the checks here should get optimized - // out, and isSegmentBreakSkippable should be initialized to be 'false'. - bool isSegmentBreakSkippable = - sizeof(CharT) > 1 && - ((aBegin > 0 && IS_ZERO_WIDTH_SPACE(aText[aBegin - 1])) || - (aEnd < aLength && IS_ZERO_WIDTH_SPACE(aText[aEnd]))); - if (sizeof(CharT) > 1 && !isSegmentBreakSkippable && - aBegin > 0 && aEnd < aLength) { - uint32_t ucs4before; - uint32_t ucs4after; - if (aBegin > 1 && - NS_IS_LOW_SURROGATE(aText[aBegin - 1]) && - NS_IS_HIGH_SURROGATE(aText[aBegin - 2])) { - ucs4before = SURROGATE_TO_UCS4(aText[aBegin - 2], aText[aBegin - 1]); - } else { - ucs4before = aText[aBegin - 1]; - } - if (aEnd + 1 < aLength && - NS_IS_HIGH_SURROGATE(aText[aEnd]) && - NS_IS_LOW_SURROGATE(aText[aEnd + 1])) { - ucs4after = SURROGATE_TO_UCS4(aText[aEnd], aText[aEnd + 1]); - } else { - ucs4after = aText[aEnd]; - } - // Discard newlines between characters that have F, W, or H - // EastAsianWidth property and neither side is Hangul. - isSegmentBreakSkippable = IsSegmentBreakSkipChar(ucs4before) && - IsSegmentBreakSkipChar(ucs4after); - } - - for (uint32_t i = aBegin; i < aEnd; ++i) { - CharT ch = aText[i]; - bool keepChar = false; - bool keepTransformedWhiteSpace = false; - if (IsDiscardable(ch, &aFlags)) { - aSkipChars->SkipChar(); - continue; - } - if (IsSpaceOrTab(ch)) { - if (aHasSegmentBreak) { - // If white-space is set to normal, nowrap, or pre-line, white space - // characters are considered collapsible and all spaces and tabs - // immediately preceding or following a segment break are removed. - aSkipChars->SkipChar(); - continue; - } - - if (aInWhitespace) { - aSkipChars->SkipChar(); - continue; - } else { - keepTransformedWhiteSpace = true; - } - } else { - // Apply Segment Break Transformation Rules (CSS Text 3 - 4.1.2) for - // segment break characters. - if (aCompression == nsTextFrameUtils::COMPRESS_WHITESPACE || - // XXX: According to CSS Text 3, a lone CR should not always be - // kept, but still go through the Segment Break Transformation - // Rules. However, this is what current modern browser engines - // (webkit/blink/edge) do. So, once we can get some clarity - // from the specification issue, we should either remove the - // lone CR condition here, or leave it here with this comment - // being rephrased. - // Please see https://github.com/w3c/csswg-drafts/issues/855. - ch == '\r') { - keepChar = true; - } else { - // aCompression == COMPRESS_WHITESPACE_NEWLINE - - // Any collapsible segment break immediately following another - // collapsible segment break is removed. Then the remaining segment - // break is either transformed into a space (U+0020) or removed - // depending on the context before and after the break. - if (isSegmentBreakSkippable || aInWhitespace) { - aSkipChars->SkipChar(); - continue; - } - isSegmentBreakSkippable = true; - keepTransformedWhiteSpace = true; - } - } - - if (keepChar) { - *aOutput++ = ch; - aSkipChars->KeepChar(); - aInWhitespace = IsSpaceOrTab(ch); - } else if (keepTransformedWhiteSpace) { - if (ch != ' ') { - aFlags |= nsTextFrameUtils::TEXT_WAS_TRANSFORMED; - } - *aOutput++ = ' '; - aSkipChars->KeepChar(); - aInWhitespace = true; - } else { - MOZ_ASSERT_UNREACHABLE("Should've skipped the character!!"); - } - } - return aOutput; -} - -template<class CharT> -CharT* -nsTextFrameUtils::TransformText(const CharT* aText, uint32_t aLength, - CharT* aOutput, +char16_t* +nsTextFrameUtils::TransformText(const char16_t* aText, uint32_t aLength, + char16_t* aOutput, CompressionMode aCompression, uint8_t* aIncomingFlags, gfxSkipChars* aSkipChars, uint32_t* aAnalysisFlags) { uint32_t flags = 0; - CharT* outputStart = aOutput; + char16_t* outputStart = aOutput; bool lastCharArabic = false; + if (aCompression == COMPRESS_NONE || aCompression == COMPRESS_NONE_TRANSFORM_TO_SPACE) { // Skip discardables. uint32_t i; for (i = 0; i < aLength; ++i) { - CharT ch = aText[i]; + char16_t ch = aText[i]; if (IsDiscardable(ch, &flags)) { aSkipChars->SkipChar(); } else { aSkipChars->KeepChar(); if (ch > ' ') { lastCharArabic = IS_ARABIC_CHAR(ch); } else if (aCompression == COMPRESS_NONE_TRANSFORM_TO_SPACE) { if (ch == '\t' || ch == '\n') { @@ -216,82 +80,78 @@ nsTextFrameUtils::TransformText(const Ch } else { *aIncomingFlags &= ~INCOMING_ARABICCHAR; } *aIncomingFlags &= ~INCOMING_WHITESPACE; } else { bool inWhitespace = (*aIncomingFlags & INCOMING_WHITESPACE) != 0; uint32_t i; for (i = 0; i < aLength; ++i) { - CharT ch = aText[i]; - // CSS Text 3 - 4.1. The White Space Processing Rules - // White space processing in CSS affects only the document white space - // characters: spaces (U+0020), tabs (U+0009), and segment breaks. - // Since we need the context of segment breaks and their surrounding - // white spaces to proceed the white space processing, a consecutive run - // of spaces/tabs/segment breaks is collected in a first pass loop, then - // we apply the collapsing and transformation rules to this run in a - // second pass loop. - if (IsSpaceOrTabOrSegmentBreak(ch)) { - bool keepLastSpace = false; - bool hasSegmentBreak = IsSegmentBreak(ch); - uint32_t countTrailingDiscardables = 0; - uint32_t j; - for (j = i + 1; j < aLength && - (IsSpaceOrTabOrSegmentBreak(aText[j]) || - IsDiscardable(aText[j], &flags)); - j++) { - if (IsSegmentBreak(aText[j])) { - hasSegmentBreak = true; - } + char16_t ch = aText[i]; + bool nowInWhitespace; + if (ch == ' ' && + (i + 1 >= aLength || + !IsSpaceCombiningSequenceTail(&aText[i + 1], aLength - (i + 1)))) { + nowInWhitespace = true; + } else if (ch == '\n' && aCompression == COMPRESS_WHITESPACE_NEWLINE) { + if ((i > 0 && IS_ZERO_WIDTH_SPACE(aText[i - 1])) || + (i + 1 < aLength && IS_ZERO_WIDTH_SPACE(aText[i + 1]))) { + aSkipChars->SkipChar(); + continue; + } + uint32_t ucs4before; + uint32_t ucs4after; + if (i > 1 && + NS_IS_LOW_SURROGATE(aText[i - 1]) && + NS_IS_HIGH_SURROGATE(aText[i - 2])) { + ucs4before = SURROGATE_TO_UCS4(aText[i - 2], aText[i - 1]); + } else if (i > 0) { + ucs4before = aText[i - 1]; + } + if (i + 2 < aLength && + NS_IS_HIGH_SURROGATE(aText[i + 1]) && + NS_IS_LOW_SURROGATE(aText[i + 2])) { + ucs4after = SURROGATE_TO_UCS4(aText[i + 1], aText[i + 2]); + } else if (i + 1 < aLength) { + ucs4after = aText[i + 1]; } - // Exclude trailing discardables before checking space combining - // sequence tail. - for (; IsDiscardable(aText[j - 1], &flags); j--) { - countTrailingDiscardables++; + if (i > 0 && IsSegmentBreakSkipChar(ucs4before) && + i + 1 < aLength && IsSegmentBreakSkipChar(ucs4after)) { + // Discard newlines between characters that have F, W, or H + // EastAsianWidth property and neither side is Hangul. + aSkipChars->SkipChar(); + continue; } - // If the last white space is followed by a combining sequence tail, - // exclude it from the range of TransformWhiteSpaces. - if (sizeof(CharT) > 1 && aText[j - 1] == ' ' && j < aLength && - IsSpaceCombiningSequenceTail(&aText[j], aLength - j)) { - keepLastSpace = true; - j--; + nowInWhitespace = true; + } else { + nowInWhitespace = ch == '\t'; + } + + if (!nowInWhitespace) { + if (IsDiscardable(ch, &flags)) { + aSkipChars->SkipChar(); + nowInWhitespace = inWhitespace; + } else { + *aOutput++ = ch; + aSkipChars->KeepChar(); + lastCharArabic = IS_ARABIC_CHAR(ch); } - if (j > i) { - aOutput = TransformWhiteSpaces(aText, aLength, i, j, hasSegmentBreak, - inWhitespace, aOutput, flags, - aCompression, aSkipChars); - } - // We need to keep KeepChar()/SkipChar() in order, so process the - // last white space first, then process the trailing discardables. - if (keepLastSpace) { - keepLastSpace = false; + } else { + if (inWhitespace) { + aSkipChars->SkipChar(); + } else { + if (ch != ' ') { + flags |= TEXT_WAS_TRANSFORMED; + } *aOutput++ = ' '; aSkipChars->KeepChar(); - lastCharArabic = false; - j++; } - for (; countTrailingDiscardables > 0; countTrailingDiscardables--) { - aSkipChars->SkipChar(); - j++; - } - i = j - 1; - continue; } - // Process characters other than the document white space characters. - if (IsDiscardable(ch, &flags)) { - aSkipChars->SkipChar(); - } else { - *aOutput++ = ch; - aSkipChars->KeepChar(); - } - lastCharArabic = IS_ARABIC_CHAR(ch); - inWhitespace = false; + inWhitespace = nowInWhitespace; } - if (lastCharArabic) { *aIncomingFlags |= INCOMING_ARABICCHAR; } else { *aIncomingFlags &= ~INCOMING_ARABICCHAR; } if (inWhitespace) { *aIncomingFlags |= INCOMING_WHITESPACE; } else { @@ -300,38 +160,95 @@ nsTextFrameUtils::TransformText(const Ch } if (outputStart + aLength != aOutput) { flags |= TEXT_WAS_TRANSFORMED; } *aAnalysisFlags = flags; return aOutput; } -/* - * NOTE: This template is part of public API of nsTextFrameUtils, while - * its function body is not available in the header. It may stop working - * (fail to resolve symbol in link time) once its callsites are moved to a - * different translation unit (e.g. a different unified source file). - * Explicit instantiating this function template with `uint8_t` and `char16_t` - * could prevent us from the potential risk. - */ -template uint8_t* + +uint8_t* nsTextFrameUtils::TransformText(const uint8_t* aText, uint32_t aLength, uint8_t* aOutput, CompressionMode aCompression, uint8_t* aIncomingFlags, gfxSkipChars* aSkipChars, - uint32_t* aAnalysisFlags); -template char16_t* -nsTextFrameUtils::TransformText(const char16_t* aText, uint32_t aLength, - char16_t* aOutput, - CompressionMode aCompression, - uint8_t* aIncomingFlags, - gfxSkipChars* aSkipChars, - uint32_t* aAnalysisFlags); + uint32_t* aAnalysisFlags) +{ + uint32_t flags = 0; + uint8_t* outputStart = aOutput; + + if (aCompression == COMPRESS_NONE || + aCompression == COMPRESS_NONE_TRANSFORM_TO_SPACE) { + // Skip discardables. + uint32_t i; + for (i = 0; i < aLength; ++i) { + uint8_t ch = aText[i]; + if (IsDiscardable(ch, &flags)) { + aSkipChars->SkipChar(); + } else { + aSkipChars->KeepChar(); + if (aCompression == COMPRESS_NONE_TRANSFORM_TO_SPACE) { + if (ch == '\t' || ch == '\n') { + ch = ' '; + flags |= TEXT_WAS_TRANSFORMED; + } + } else { + // aCompression == COMPRESS_NONE + if (ch == '\t') { + flags |= TEXT_HAS_TAB; + } + } + *aOutput++ = ch; + } + } + *aIncomingFlags &= ~(INCOMING_ARABICCHAR | INCOMING_WHITESPACE); + } else { + bool inWhitespace = (*aIncomingFlags & INCOMING_WHITESPACE) != 0; + uint32_t i; + for (i = 0; i < aLength; ++i) { + uint8_t ch = aText[i]; + bool nowInWhitespace = ch == ' ' || ch == '\t' || + (ch == '\n' && aCompression == COMPRESS_WHITESPACE_NEWLINE); + if (!nowInWhitespace) { + if (IsDiscardable(ch, &flags)) { + aSkipChars->SkipChar(); + nowInWhitespace = inWhitespace; + } else { + *aOutput++ = ch; + aSkipChars->KeepChar(); + } + } else { + if (inWhitespace) { + aSkipChars->SkipChar(); + } else { + if (ch != ' ') { + flags |= TEXT_WAS_TRANSFORMED; + } + *aOutput++ = ' '; + aSkipChars->KeepChar(); + } + } + inWhitespace = nowInWhitespace; + } + *aIncomingFlags &= ~INCOMING_ARABICCHAR; + if (inWhitespace) { + *aIncomingFlags |= INCOMING_WHITESPACE; + } else { + *aIncomingFlags &= ~INCOMING_WHITESPACE; + } + } + + if (outputStart + aLength != aOutput) { + flags |= TEXT_WAS_TRANSFORMED; + } + *aAnalysisFlags = flags; + return aOutput; +} uint32_t nsTextFrameUtils::ComputeApproximateLengthWithWhitespaceCompression( nsIContent *aContent, const nsStyleText *aStyleText) { const nsTextFragment *frag = aContent->GetText(); // This is an approximation so we don't really need anything // too fancy here.
--- a/layout/generic/nsTextFrameUtils.h +++ b/layout/generic/nsTextFrameUtils.h @@ -82,49 +82,51 @@ public: IsSpaceCombiningSequenceTail(const char16_t* aChars, int32_t aLength) { return aLength > 0 && (mozilla::unicode::IsClusterExtender(aChars[0]) || (IsBidiControl(aChars[0]) && IsSpaceCombiningSequenceTail(aChars + 1, aLength - 1) ) ); } - static bool - IsSpaceCombiningSequenceTail(const uint8_t* aChars, int32_t aLength) { - return false; - } enum CompressionMode { COMPRESS_NONE, COMPRESS_WHITESPACE, COMPRESS_WHITESPACE_NEWLINE, COMPRESS_NONE_TRANSFORM_TO_SPACE }; /** * Create a text run from a run of Unicode text. The text may have whitespace * compressed. A preformatted tab is sent to the text run as a single space. * (Tab spacing must be performed by textframe later.) Certain other * characters are discarded. - * + * * @param aCompression control what is compressed to a * single space character: no compression, compress spaces (not followed * by combining mark) and tabs, compress those plus newlines, or * no compression except newlines are discarded. * @param aIncomingFlags a flag indicating whether there was whitespace * or an Arabic character preceding this text. We set it to indicate if * there's an Arabic character or whitespace preceding the end of this text. */ - template<class CharT> - static CharT* TransformText(const CharT* aText, uint32_t aLength, - CharT* aOutput, - CompressionMode aCompression, - uint8_t* aIncomingFlags, - gfxSkipChars* aSkipChars, - uint32_t* aAnalysisFlags); + static char16_t* TransformText(const char16_t* aText, uint32_t aLength, + char16_t* aOutput, + CompressionMode aCompression, + uint8_t* aIncomingFlags, + gfxSkipChars* aSkipChars, + uint32_t* aAnalysisFlags); + + static uint8_t* TransformText(const uint8_t* aText, uint32_t aLength, + uint8_t* aOutput, + CompressionMode aCompression, + uint8_t* aIncomingFlags, + gfxSkipChars* aSkipChars, + uint32_t* aAnalysisFlags); static void AppendLineBreakOffset(nsTArray<uint32_t>* aArray, uint32_t aOffset) { if (aArray->Length() > 0 && (*aArray)[aArray->Length() - 1] == aOffset) return; aArray->AppendElement(aOffset); }
--- a/layout/reftests/w3c-css/submitted/text3/reftest.list +++ b/layout/reftests/w3c-css/submitted/text3/reftest.list @@ -1,67 +1,8 @@ == text-align-match-parent-01.html text-align-match-parent-ref.html == text-align-match-parent-02.html text-align-match-parent-ref.html == text-align-match-parent-03.html text-align-match-parent-ref.html == text-align-match-parent-04.html text-align-match-parent-ref.html == text-align-match-parent-root-ltr.html text-align-match-parent-root-ltr-ref.html == text-align-match-parent-root-rtl.html text-align-match-parent-root-rtl-ref.html == text-word-spacing-001.html text-word-spacing-ref.html - -== segment-break-transformation-removable-1.html segment-break-transformation-removable-ref.html -== segment-break-transformation-removable-2.html segment-break-transformation-removable-ref.html -== segment-break-transformation-removable-3.html segment-break-transformation-removable-ref.html -== segment-break-transformation-removable-4.html segment-break-transformation-removable-ref.html -== segment-break-transformation-unremovable-1.html segment-break-transformation-unremovable-ref.html -== segment-break-transformation-unremovable-2.html segment-break-transformation-unremovable-ref.html -== segment-break-transformation-unremovable-3.html segment-break-transformation-unremovable-ref.html -== segment-break-transformation-unremovable-4.html segment-break-transformation-unremovable-ref.html - -== segment-break-transformation-rules-001.html segment-break-transformation-rules-001-ref.html -== segment-break-transformation-rules-002.html segment-break-transformation-rules-002-ref.html -== segment-break-transformation-rules-003.html segment-break-transformation-rules-003-ref.html -== segment-break-transformation-rules-004.html segment-break-transformation-rules-004-ref.html -== segment-break-transformation-rules-005.html segment-break-transformation-rules-005-ref.html -== segment-break-transformation-rules-006.html segment-break-transformation-rules-006-ref.html -== segment-break-transformation-rules-007.html segment-break-transformation-rules-007-ref.html -== segment-break-transformation-rules-008.html segment-break-transformation-rules-008-ref.html -== segment-break-transformation-rules-009.html segment-break-transformation-rules-009-ref.html -== segment-break-transformation-rules-010.html segment-break-transformation-rules-010-ref.html -== segment-break-transformation-rules-011.html segment-break-transformation-rules-011-ref.html -== segment-break-transformation-rules-012.html segment-break-transformation-rules-012-ref.html -== segment-break-transformation-rules-013.html segment-break-transformation-rules-013-ref.html -== segment-break-transformation-rules-014.html segment-break-transformation-rules-014-ref.html -== segment-break-transformation-rules-015.html segment-break-transformation-rules-015-ref.html -== segment-break-transformation-rules-016.html segment-break-transformation-rules-016-ref.html -== segment-break-transformation-rules-017.html segment-break-transformation-rules-017-ref.html -== segment-break-transformation-rules-018.html segment-break-transformation-rules-018-ref.html -== segment-break-transformation-rules-019.html segment-break-transformation-rules-019-ref.html -== segment-break-transformation-rules-020.html segment-break-transformation-rules-020-ref.html -== segment-break-transformation-rules-021.html segment-break-transformation-rules-021-ref.html -== segment-break-transformation-rules-022.html segment-break-transformation-rules-022-ref.html -== segment-break-transformation-rules-023.html segment-break-transformation-rules-023-ref.html -== segment-break-transformation-rules-024.html segment-break-transformation-rules-024-ref.html -== segment-break-transformation-rules-025.html segment-break-transformation-rules-025-ref.html -== segment-break-transformation-rules-026.html segment-break-transformation-rules-026-ref.html -== segment-break-transformation-rules-027.html segment-break-transformation-rules-027-ref.html -== segment-break-transformation-rules-028.html segment-break-transformation-rules-028-ref.html -== segment-break-transformation-rules-029.html segment-break-transformation-rules-029-ref.html -== segment-break-transformation-rules-030.html segment-break-transformation-rules-030-ref.html -== segment-break-transformation-rules-031.html segment-break-transformation-rules-031-ref.html -== segment-break-transformation-rules-032.html segment-break-transformation-rules-032-ref.html -== segment-break-transformation-rules-033.html segment-break-transformation-rules-033-ref.html -== segment-break-transformation-rules-034.html segment-break-transformation-rules-034-ref.html -== segment-break-transformation-rules-035.html segment-break-transformation-rules-035-ref.html -== segment-break-transformation-rules-036.html segment-break-transformation-rules-036-ref.html -== segment-break-transformation-rules-037.html segment-break-transformation-rules-037-ref.html -== segment-break-transformation-rules-038.html segment-break-transformation-rules-038-ref.html -== segment-break-transformation-rules-039.html segment-break-transformation-rules-039-ref.html -== segment-break-transformation-rules-040.html segment-break-transformation-rules-040-ref.html -== segment-break-transformation-rules-041.html segment-break-transformation-rules-041-ref.html -== segment-break-transformation-rules-042.html segment-break-transformation-rules-042-ref.html -== segment-break-transformation-rules-043.html segment-break-transformation-rules-043-ref.html -== segment-break-transformation-rules-044.html segment-break-transformation-rules-044-ref.html -== segment-break-transformation-rules-045.html segment-break-transformation-rules-045-ref.html -== segment-break-transformation-rules-046.html segment-break-transformation-rules-046-ref.html -== segment-break-transformation-rules-047.html segment-break-transformation-rules-047-ref.html -== segment-break-transformation-rules-048.html segment-break-transformation-rules-048-ref.html -== segment-break-transformation-rules-049.html segment-break-transformation-rules-049-ref.html
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-removable-1.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<link rel="stylesheet" type="text/css" href="support/ahem.css"> -<link rel="match" href="segment-break-transformation-removable-ref.html"> -<meta name="assert" content="Test checks that a collapsible segment break should be removed correctly, -if the character immediately before/after the segment break is the zero-width space character (U+200B), -or both the character before/after the segment break is F, W, or H (not A), and neither side is Hangul."> -<style> p { line-height: 1; font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>no</b> white space between 2nd and 3rd CJK character. -<!--Some[LF]Chinese--> -<p>一些
中文</p> -<!--Some[ZWSP][LF]Chinese--> -<p>一些​
中文</p> -<!--Some[LF][ZWSP]Chinese--> -<p>一些
​中文</p> -<!--Some[ZWSP][LF]Hangul--> -<p>一些​
언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-removable-2.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<link rel="stylesheet" type="text/css" href="support/ahem.css"> -<link rel="match" href="segment-break-transformation-removable-ref.html"> -<meta name="assert" content="Test checks that multiple segment breaks should be removed correctly, -if the character immediately before/after the segment breaks is the zero-width space character (U+200B), -or both the character before/after the segment breaks is F, W, or H (not A), and neither side is Hangul."> -<style> p { line-height: 1; font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>no</b> white space between 2nd and 3rd CJK character. -<!--Some[LF][LF][LF]Chinese--> -<p>一些


中文</p> -<!--Some[ZWSP][LF][LF][LF]Chinese--> -<p>一些​


中文</p> -<!--Some[LF][LF][LF][ZWSP]Chinese--> -<p>一些


​中文</p> -<!--Some[ZWSP][LF][LF][LF]Hangul--> -<p>一些​


언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-removable-3.html +++ /dev/null @@ -1,29 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<link rel="stylesheet" type="text/css" href="support/ahem.css"> -<link rel="match" href="segment-break-transformation-removable-ref.html"> -<meta name="assert" content="Test checks that a sequence which consists of a collapsible segment break -surrounded by multiple white spaces should be removed correctly, -if the character immediately before/after the sequence is the zero-width space character (U+200B), -or both the character before/after the sequence is F, W, or H (not A), and neither side is Hangul."> -<style> p { line-height: 1; font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>no</b> white space between 2nd and 3rd CJK character. -<!--Some[WS][WS][LF][WS][WS]Chinese--> -<p>一些  
  中文</p> -<!--Some[ZWSP][WS][WS][LF][WS][WS]Chinese--> -<p>一些​  
  中文</p> -<!--Some[WS][WS][LF][WS][WS][ZWSP]Chinese--> -<p>一些  
  ​中文</p> -<!--Some[ZWSP][WS][WS][LF][WS][WS]Hangul--> -<p>一些​  
  언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-removable-4.html +++ /dev/null @@ -1,29 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<link rel="stylesheet" type="text/css" href="support/ahem.css"> -<link rel="match" href="segment-break-transformation-removable-ref.html"> -<meta name="assert" content="Test checks that a sequence which consists of multiple collapsible -segment breaks mixed with multiple white spaces should be removed correctly, -if the character immediately before/after the sequence is the zero-width space character (U+200B), -or both the character before/after the sequence is F, W, or H (not A), and neither side is Hangul."> -<style> p { line-height: 1; font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>no</b> white space between 2nd and 3rd CJK character. -<!--Some[WS][LF][WS][LF][WS][LF][WS]Chinese--> -<p>一些 
 
 
 中文</p> -<!--Some[ZWSP][WS][LF][WS][LF][WS][LF][WS]Chinese--> -<p>一些​ 
 
 
 中文</p> -<!--Some[WS][LF][WS][LF][WS][LF][WS][ZWSP]Chinese--> -<p>一些 
 
 
 ​中文</p> -<!--Some[ZWSP][WS][LF][WS][LF][WS][LF][WS]Hangul--> -<p>一些​ 
 
 
 언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-removable-ref.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { line-height: 1; font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>no</b> white space between 2nd and 3rd CJK character. -<!--Some Chinese--> -<p>一些中文</p> -<!--Some Chinese--> -<p>一些中文</p> -<!--Some Chinese--> -<p>一些中文</p> -<!--Some Hangul--> -<p>一些언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-001-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>FULLWIDTHFULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-001.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Full-width (F) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-001-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>FULLWIDTH
FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-002-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>FULLWIDTHテスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-002.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Half-width (H) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-002-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>FULLWIDTH
テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-003-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>FULLWIDTH測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-003.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Wide (W) except Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-003-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>FULLWIDTH
測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-004-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>FULLWIDTH narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-004.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Narrow (Na) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-004-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>FULLWIDTH
narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-005-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>FULLWIDTH ■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-005.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Ambiguous (A) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-005-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>FULLWIDTH
■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-006-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>FULLWIDTH آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-006.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/Not East Asian (Neutral) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-006-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>FULLWIDTH
آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-007-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>FULLWIDTH 테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-007.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-007-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>FULLWIDTH
테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-008-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>テストFULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-008.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Half-width (H)/East Asian Full-width (F) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-008-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>テスト
FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-009-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>テストテスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-009.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Half-width (H)/East Asian Half-width (H) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-009-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>テスト
テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-010-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>テスト測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-010.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Half-width (H)/East Asian Wide (W) except Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-010-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>テスト
測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-011-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>テスト narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-011.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Half-width (H)/East Asian Narrow (Na) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-011-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>テスト
narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-012-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>テスト ■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-012.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Half-width (H)/East Asian Ambiguous (A) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-012-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>テスト
■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-013-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>テスト آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-013.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Half-width (H)/Not East Asian (Neutral) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-013-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>テスト
آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-014-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>テスト 테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-014.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Half-width (H)/Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-014-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>テスト
테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-015-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>測試FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-015.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Wide (W) except Hangul/East Asian Full-width (F) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-015-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>測試
FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-016-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>測試テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-016.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Wide (W) except Hangul/East Asian Half-width (H) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-016-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>測試
テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-017-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>測試測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-017.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Wide (W) except Hangul/East Asian Wide (W) except Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-017-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is NO white space between the two strings below. -<p>測試
測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-018-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>測試 narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-018.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Wide (W) except Hangul/East Asian Narrow (Na) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-018-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>測試
narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-019-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>測試 ■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-019.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Wide (W) except Hangul/East Asian Ambiguous (A) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-019-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>測試
■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-020-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>測試 آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-020.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Wide (W) except Hangul/Not East Asian (Neutral) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-020-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>測試
آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-021-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>測試 테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-021.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Wide (W) except Hangul/Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-021-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>測試
테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-022-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-022.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Narrow (Na)/East Asian Full-width (F) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-022-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow
FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-023-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-023.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Narrow (Na)/East Asian Half-width (H) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-023-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow
テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-024-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow 測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-024.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Narrow (Na)/East Asian Wide (W) except Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-024-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow
測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-025-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-025.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Narrow (Na)/East Asian Narrow (Na) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-025-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow
narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-026-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow ■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-026.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Narrow (Na)/East Asian Ambiguous (A) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-026-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow
■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-027-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-027.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Narrow (Na)/Not East Asian (Neutral) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-027-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow
آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-028-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow 테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-028.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Narrow (Na)/Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-028-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>narrow
테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-029-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■ FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-029.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Ambiguous (A)/East Asian Full-width (F) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-029-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■
FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-030-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■ テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-030.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Ambiguous (A)/East Asian Half-width (H) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-030-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■
テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-031-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■ 測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-031.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Ambiguous (A)/East Asian Wide (W) except Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-031-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■
測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-032-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■ narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-032.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Ambiguous (A)/East Asian Narrow (Na) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-032-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■
narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-033-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■ ■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-033.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Ambiguous (A)/East Asian Ambiguous (A) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-033-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■
■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-034-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■ آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-034.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Ambiguous (A)/Not East Asian (Neutral) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-034-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■
آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-035-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■ 테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-035.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with East Asian Ambiguous (A)/Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-035-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>■
테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-036-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-036.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Not East Asian (Neutral)/East Asian Full-width (F) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-036-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون
FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-037-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-037.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Not East Asian (Neutral)/East Asian Half-width (H) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-037-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون
テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-038-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون 測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-038.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Not East Asian (Neutral)/East Asian Wide (W) except Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-038-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون
測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-039-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-039.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Not East Asian (Neutral)/East Asian Narrow (Na) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-039-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون
narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-040-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون ■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-040.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Not East Asian (Neutral)/East Asian Ambiguous (A) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-040-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون
■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-041-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-041.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Not East Asian (Neutral)/Not East Asian (Neutral) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-041-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون
آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-042-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون 테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-042.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Not East Asian (Neutral)/Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-042-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>آزمون
테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-043-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트 FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-043.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Hangul/East Asian Full-width (F) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-043-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트
FULLWIDTH</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-044-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트 テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-044.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Hangul/East Asian Half-width (H) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-044-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트
テスト</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-045-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트 測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-045.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Hangul/East Asian Wide (W) except Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-045-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트
測試</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-046-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트 narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-046.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Hangul/East Asian Narrow (Na) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-046-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트
narrow</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-047-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트 ■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-047.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Hangul/East Asian Ambiguous (A) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-047-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트
■</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-048-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트 آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-048.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Hangul/Not East Asian (Neutral) in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-048-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트
آزمون</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-049-ref.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트 테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-rules-049.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with Hangul/Hangul in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-049-ref.html"> -<style> p { font-family: ahem; } </style> -<div>Pass if there is ONE white space between the two strings below. -<p>테스트
테스트</p> -</div>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-unremovable-1.html +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<link rel="stylesheet" type="text/css" href="support/ahem.css"> -<link rel="match" href="segment-break-transformation-unremovable-ref.html"> -<meta name="assert" content="Test checks that a collapsible segment break should be converted to a white space (U+0020), -if both the character before/after the segment break is Hangul."> -<style> p { font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>one</b> white space between 2nd and 3rd CJK character. -<!--Some[LF]Hangul--> -<p>一些
언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-unremovable-2.html +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<link rel="stylesheet" type="text/css" href="support/ahem.css"> -<link rel="match" href="segment-break-transformation-unremovable-ref.html"> -<meta name="assert" content="Test checks that multiple segment breaks should be converted to a white space (U+0020), -if both the character before/after the segment breaks is Hangul."> -<style> p { font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>one</b> white space between 2nd and 3rd CJK character. -<!--Some[LF][LF][LF]Hangul--> -<p>一些


언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-unremovable-3.html +++ /dev/null @@ -1,22 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<link rel="stylesheet" type="text/css" href="support/ahem.css"> -<link rel="match" href="segment-break-transformation-unremovable-ref.html"> -<meta name="assert" content="Test checks that a sequence which consists of a collapsible segment break -surrounded by multiple white spaces should be converted to a white space (U+0020), -if both the character before/after the sequence is Hangul."> -<style> p { font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>one</b> white space between 2nd and 3rd CJK character. -<!--Some[WS][WS][LF][WS][WS]Hangul--> -<p>一些  
  언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-unremovable-4.html +++ /dev/null @@ -1,22 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<link rel="stylesheet" type="text/css" href="support/ahem.css"> -<link rel="match" href="segment-break-transformation-unremovable-ref.html"> -<meta name="assert" content="Test checks that a sequence which consists of multiple collapsible -segment breaks mixed with multiple white spaces should be converted to a white space (U+0020), -if both the character before/after the sequence is Hangul."> -<style> p { font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>one</b> white space between 2nd and 3rd CJK character. -<!--Some[WS][LF][WS][LF][WS][LF][WS]Hangul--> -<p>一些 
 
 
 언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/segment-break-transformation-unremovable-ref.html +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>CSS Text 4.1.2. Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p { font-family: ahem; } </style> -</head> -<body> -<div>Test passes if there is <b>one</b> white space between 2nd and 3rd CJK character. -<!--Some Hangul--> -<p>一些 언문</p> -</div> -</body> -</html>
deleted file mode 100644 --- a/layout/reftests/w3c-css/submitted/text3/support/generate-segment-break-transformation-rules-tests.py +++ /dev/null @@ -1,109 +0,0 @@ -#!/usr/bin/env python -# - * - coding: UTF-8 - * - - -""" -This script generates tests segment-break-transformation-rules-001 ~ 049 which -cover all possible combinations of characters at two sides of segment breaks. -More specifically, there are seven types of characters involve in these rules: - -1. East Asian Full-width (F) -2. East Asian Half-width (H) -3. East Asian Wide (W) except Hangul -4. East Asian Narrow (Na) -5. East Asian Ambiguous (A) -6. Not East Asian (Neutral) -7. Hangul - -So there are 49 different combinations. It outputs a list of all -tests it generated in the format of Mozilla reftest.list to the stdout. -""" - -from __future__ import unicode_literals - -TEST_FILE = 'segment-break-transformation-rules-{:03}.html' -TEST_TEMPLATE = '''<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Test: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="help" href="https://drafts.csswg.org/css-text/#line-break-transform"> -<meta name="assert" content="'segment-break-transformation-rules: with {prev}/{next} in front/back of the semgment break."> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<link rel="match" href="segment-break-transformation-rules-{index:03}-ref.html"> -<style> p {{ font-family: ahem; }} </style> -<div>Pass if there is {expect} white space between the two strings below. -<p>{prevchar}
{nextchar}</p> -</div> -''' - -REF_FILE = 'segment-break-transformation-rules-{:03}-ref.html' -REF_TEMPLATE_REMOVE = '''<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p {{ font-family: ahem; }} </style> -<div>Pass if there is NO white space between the two strings below. -<p>{0}{1}</p> -</div> -''' -REF_TEMPLATE_KEEP = '''<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Reftest Reference: Segment Break Transformation Rules</title> -<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> -<link rel="author" title="Mozilla" href="https://www.mozilla.org"> -<link rel="stylesheet" type="text/css" href="support/ahem.css" /> -<style> p {{ font-family: ahem; }} </style> -<div>Pass if there is ONE white space between the two strings below. -<p>{0}{2}{1}</p> -</div> -''' - -CHAR_SET = [ - ('East Asian Full-width (F)', 'FULLWIDTH'), - ('East Asian Half-width (H)', 'テスト'), - ('East Asian Wide (W) except Hangul', '測試'), - ('East Asian Narrow (Na)', 'narrow'), - ('East Asian Ambiguous (A)', '■'), - ('Not East Asian (Neutral)', 'آزمون'), - ('Hangul', '테스트'), - ] - -def write_file(filename, content): - with open(filename, 'wb') as f: - f.write(content.encode('UTF-8')) - -print("# START tests from {}".format(__file__)) -global idx -idx = 0 -for i, (prevtype, prevchars) in enumerate(CHAR_SET): - for j, (nextype, nextchars) in enumerate(CHAR_SET): - idx += 1 - reffilename = REF_FILE.format(idx) - testfilename = TEST_FILE.format(idx) - # According to CSS Text 3 - 4.1.2. Segment Break Transformation Rules, - # if the East Asian Width property of both the character before and - # after the segment break is F, W, or H (not A), and neither side is - # Hangul, then the segment break is removed. Otherwise, the segment - # break is converted to a space (U+0020). - if i < 3 and j < 3: - write_file(reffilename, - REF_TEMPLATE_REMOVE.format(prevchars, nextchars)) - write_file(testfilename, - TEST_TEMPLATE.format(index=idx, prev=prevtype, - next=nextype, - prevchar=prevchars, - nextchar=nextchars, - expect='NO')) - else: - write_file(reffilename, - REF_TEMPLATE_KEEP.format(prevchars, nextchars, ' ')) - write_file(testfilename, - TEST_TEMPLATE.format(index=idx, prev=prevtype, - next=nextype, - prevchar=prevchars, - nextchar=nextchars, - expect='ONE')) - print("== {} {}".format(testfilename, reffilename)) -print("# END tests from {}".format(__file__))