Skip to content

Truly independent web browser

LibUnicode+LibWeb: Honor line-break for conditional Japanese starters

Andreas Kling0f0a34c9419d
diff --git a/Libraries/LibUnicode/CharacterTypes.cpp b/Libraries/LibUnicode/CharacterTypes.cpp
index a4bbfba309a..b45c792e73c 100644
--- a/Libraries/LibUnicode/CharacterTypes.cpp
+++ b/Libraries/LibUnicode/CharacterTypes.cpp
@@ -503,7 +503,7 @@ BidiClass bidirectional_class(u32 code_point)
return char_direction_to_bidi_class(direction);
}
-LineBreakClass line_break_class(u32 code_point)
+static LineBreakClass resolved_line_break_class(u32 code_point, bool allow_conditional_japanese_starters)
{
auto icu_code_point = static_cast<UChar32>(code_point);
auto icu_line_break = static_cast<ULineBreak>(u_getIntPropertyValue(icu_code_point, UCHAR_LINE_BREAK));
@@ -524,11 +524,18 @@ LineBreakClass line_break_class(u32 code_point)
return LineBreakClass::ComplexContext;
case U_LB_COMBINING_MARK:
return LineBreakClass::CombiningMark;
+ case U_LB_CONDITIONAL_JAPANESE_STARTER:
+ return allow_conditional_japanese_starters ? LineBreakClass::Ideographic : LineBreakClass::Other;
default:
return LineBreakClass::Other;
}
}
+LineBreakClass line_break_class(u32 code_point)
+{
+ return resolved_line_break_class(code_point, false);
+}
+
// 22.2.2.7.3 Canonicalize ( rer, ch ), https://tc39.es/ecma262/#sec-runtime-semantics-canonicalize-ch
u32 canonicalize(u32 code_point, bool unicode_mode)
{
@@ -754,7 +761,7 @@ bool unicode_code_point_matches_range_ignoring_case(u32, u32, u32, bool);
u32 unicode_get_case_closure(u32, u32*, u32);
u8 unicode_layout_bidirectional_class(u32);
-u8 unicode_layout_line_break_class(u32);
+u8 unicode_layout_line_break_class(u32, bool);
bool unicode_layout_code_point_has_emoji_property(u32);
}
@@ -956,9 +963,9 @@ extern "C" u8 unicode_layout_bidirectional_class(u32 code_point)
return to_underlying(Unicode::bidirectional_class(code_point));
}
-extern "C" u8 unicode_layout_line_break_class(u32 code_point)
+extern "C" u8 unicode_layout_line_break_class(u32 code_point, bool allow_conditional_japanese_starters)
{
- return to_underlying(Unicode::line_break_class(code_point));
+ return to_underlying(Unicode::resolved_line_break_class(code_point, allow_conditional_japanese_starters));
}
extern "C" bool unicode_layout_code_point_has_emoji_property(u32 code_point)
diff --git a/Libraries/LibUnicode/Segmenter.cpp b/Libraries/LibUnicode/Segmenter.cpp
index b8c73366586..cefbe2fbd3c 100644
--- a/Libraries/LibUnicode/Segmenter.cpp
+++ b/Libraries/LibUnicode/Segmenter.cpp
@@ -756,22 +756,35 @@ struct UnicodeLayoutSegmenterHandle {
extern "C" {
void* unicode_layout_grapheme_segmenter_create(u16 const*, size_t);
-void* unicode_layout_line_segmenter_create(u16 const*, size_t);
+void* unicode_layout_line_segmenter_create(u16 const*, size_t, bool);
void unicode_layout_word_boundaries(u16 const*, size_t, size_t, size_t*, size_t*);
i64 unicode_layout_segmenter_next_boundary(void*, size_t, bool);
void unicode_layout_segmenter_destroy(void*);
}
-static Unicode::Segmenter& unicode_layout_segmenter_prototype(Unicode::SegmenterGranularity granularity)
+static Unicode::Segmenter& unicode_layout_segmenter_prototype(Unicode::SegmenterGranularity granularity, bool allow_conditional_japanese_starters = false)
{
static thread_local Unicode::Segmenter* grapheme_prototype = nullptr;
static thread_local Unicode::Segmenter* line_prototype = nullptr;
+ static thread_local Unicode::Segmenter* normal_line_prototype = nullptr;
static thread_local Unicode::Segmenter* word_prototype = nullptr;
auto& prototype = granularity == Unicode::SegmenterGranularity::Grapheme ? grapheme_prototype
: granularity == Unicode::SegmenterGranularity::Word ? word_prototype
+ : allow_conditional_japanese_starters ? normal_line_prototype
: line_prototype;
- if (!prototype)
- prototype = Unicode::Segmenter::create(granularity).leak_ptr();
+ if (!prototype) {
+ // https://drafts.csswg.org/css-text-3/#line-break-property
+ // The following breaks are forbidden for normal and strict line breaking and allowed in loose:
+ // - breaks before Japanese small kana or the Katakana-Hiragana prolonged sound mark, i.e. characters from the
+ // Unicode line breaking class CJ.
+ // INTEROP: Chrome and Firefox allow breaks before CJ characters for normal as well as loose, despite the
+ // current specification forbidding them for normal. ICU's normal tailoring resolves CJ to ID.
+ // FIXME: Use ICU's loose tailoring for loose, which also allows the other loose-only breaks, such as before
+ // iteration marks and between inseparable characters.
+ prototype = allow_conditional_japanese_starters
+ ? Unicode::Segmenter::create("en-u-lb-normal"_utf16, granularity).leak_ptr()
+ : Unicode::Segmenter::create(granularity).leak_ptr();
+ }
return *prototype;
}
@@ -789,7 +802,7 @@ extern "C" void* unicode_layout_grapheme_segmenter_create(u16 const* text, size_
return new UnicodeLayoutSegmenterHandle { .segmenter = move(segmenter), .ascii_storage = {} };
}
-extern "C" void* unicode_layout_line_segmenter_create(u16 const* text, size_t length_in_code_units)
+extern "C" void* unicode_layout_line_segmenter_create(u16 const* text, size_t length_in_code_units, bool allow_conditional_japanese_starters)
{
auto view = Utf16View { reinterpret_cast<char16_t const*>(text), length_in_code_units };
if (view.is_ascii()) {
@@ -807,7 +820,7 @@ extern "C" void* unicode_layout_line_segmenter_create(u16 const* text, size_t le
};
}
}
- auto segmenter = unicode_layout_segmenter_prototype(Unicode::SegmenterGranularity::Line).clone();
+ auto segmenter = unicode_layout_segmenter_prototype(Unicode::SegmenterGranularity::Line, allow_conditional_japanese_starters).clone();
segmenter->set_segmented_text(view);
return new UnicodeLayoutSegmenterHandle { .segmenter = move(segmenter), .ascii_storage = {} };
}
diff --git a/Libraries/LibWeb/CSS/Enums.json b/Libraries/LibWeb/CSS/Enums.json
index 805d8717ea1..c40e6b3f426 100644
--- a/Libraries/LibWeb/CSS/Enums.json
+++ b/Libraries/LibWeb/CSS/Enums.json
@@ -779,6 +779,12 @@
"right",
"anchor-center"
],
+ "line-break": [
+ "auto",
+ "loose",
+ "normal",
+ "strict"
+ ],
"line-style": [
"none",
"hidden",
diff --git a/Libraries/LibWeb/CSS/Keywords.json b/Libraries/LibWeb/CSS/Keywords.json
index 72219a17754..228acf1f43f 100644
--- a/Libraries/LibWeb/CSS/Keywords.json
+++ b/Libraries/LibWeb/CSS/Keywords.json
@@ -413,6 +413,7 @@
"listbox",
"local",
"longer",
+ "loose",
"lower-alpha-symbolic",
"lower-alpha",
"lower-armenian",
diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.json
index 9ae0e6d4da1..c55712dbcd7 100644
--- a/Libraries/LibWeb/CSS/Properties.json
+++ b/Libraries/LibWeb/CSS/Properties.json
@@ -3229,6 +3229,19 @@
"unitless-length"
]
},
+ "line-break": {
+ "style-group": "InheritedTextValues",
+ "animation-type": "discrete",
+ "initial": "auto",
+ "inherited": true,
+ "requires-computation": "never",
+ "valid-identifiers": [
+ "auto",
+ "loose",
+ "normal",
+ "strict"
+ ]
+ },
"line-clamp": {
"affects-layout": true,
"initial": "none",
diff --git a/Libraries/LibWeb/Rust/src/css/computed_value_types.rs b/Libraries/LibWeb/Rust/src/css/computed_value_types.rs
index b85424f942e..195acf88f6b 100644
--- a/Libraries/LibWeb/Rust/src/css/computed_value_types.rs
+++ b/Libraries/LibWeb/Rust/src/css/computed_value_types.rs
@@ -383,6 +383,7 @@ pub struct InheritedTextLayoutFacts {
pub white_space_collapse: u8,
pub text_wrap_mode: u8,
pub word_break: u8,
+ pub line_break: u8,
pub tab_size_is_number: bool,
pub letter_spacing: crate::css::css_pixels::CssPixels,
pub word_spacing: crate::css::css_pixels::CssPixels,
@@ -415,6 +416,7 @@ pub struct InheritedTextValues {
pub white_space_collapse: u8,
pub text_wrap_mode: u8,
pub word_break: u8,
+ pub line_break: u8,
pub tab_size_is_number: bool,
pub letter_spacing: crate::css::css_pixels::CssPixels,
pub word_spacing: crate::css::css_pixels::CssPixels,
diff --git a/Libraries/LibWeb/Rust/src/css/computed_value_views.rs b/Libraries/LibWeb/Rust/src/css/computed_value_views.rs
index 9d1393e6edd..1b4ce908f30 100644
--- a/Libraries/LibWeb/Rust/src/css/computed_value_views.rs
+++ b/Libraries/LibWeb/Rust/src/css/computed_value_views.rs
@@ -487,6 +487,7 @@ scalar_accessors! {
white_space_collapse: u8 => white_space_collapse,
text_wrap_mode: u8 => text_wrap_mode,
word_break: u8 => word_break,
+ line_break: u8 => line_break,
letter_spacing: CssPixels => letter_spacing,
word_spacing: CssPixels => word_spacing,
text_indent_each_line: bool => text_indent.each_line,
diff --git a/Libraries/LibWeb/Rust/src/css/computed_values.rs b/Libraries/LibWeb/Rust/src/css/computed_values.rs
index 49b9cb1d3e4..992b62f9a8c 100644
--- a/Libraries/LibWeb/Rust/src/css/computed_values.rs
+++ b/Libraries/LibWeb/Rust/src/css/computed_values.rs
@@ -654,6 +654,7 @@ impl_computed_payload_clone_and_eq!(InheritedTextValues {
white_space_collapse,
text_wrap_mode,
word_break,
+ line_break,
tab_size_is_number,
letter_spacing,
word_spacing,
@@ -2277,6 +2278,7 @@ pub(crate) fn group_field_descriptors(group: usize) -> &'static [GroupFieldDescr
TAB_SIZE => RequireInitialValue,
WHITE_SPACE_COLLAPSE @ white_space_collapse => EnumKeyword(enums::keyword_to_white_space_collapse),
WORD_BREAK @ word_break => EnumKeyword(enums::keyword_to_word_break),
+ LINE_BREAK @ line_break => EnumKeyword(enums::keyword_to_line_break),
OVERFLOW_WRAP @ overflow_wrap => EnumKeyword(enums::keyword_to_overflow_wrap),
BLOCK_ELLIPSIS @ block_ellipsis => RetainedData,
WORD_SPACING @ word_spacing => CssPixels,
@@ -3429,6 +3431,7 @@ impl InheritedTextValues {
white_space_collapse: enum_value(css_enums::keyword_to_white_space_collapse(css_enums::keyword::COLLAPSE)),
text_wrap_mode: enum_value(css_enums::keyword_to_text_wrap_mode(css_enums::keyword::WRAP)),
word_break: enum_value(css_enums::keyword_to_word_break(css_enums::keyword::NORMAL)),
+ line_break: enum_value(css_enums::keyword_to_line_break(css_enums::keyword::AUTO)),
tab_size_is_number: true,
letter_spacing: CssPixels::default(),
word_spacing: CssPixels::default(),
diff --git a/Libraries/LibWeb/Rust/src/layout/rendered_text.rs b/Libraries/LibWeb/Rust/src/layout/rendered_text.rs
index af253609d86..c88a047c779 100644
--- a/Libraries/LibWeb/Rust/src/layout/rendered_text.rs
+++ b/Libraries/LibWeb/Rust/src/layout/rendered_text.rs
@@ -148,6 +148,7 @@ pub(crate) struct TextChunkCacheKey {
pub(crate) unidirectional_ltr: bool,
pub(crate) white_space_collapse: u8,
pub(crate) word_break: u8,
+ pub(crate) line_break: u8,
pub(crate) font_variant_emoji: u8,
pub(crate) frozen_font_list: std::sync::Arc<libgfx_rust::font::FrozenFontList>,
pub(crate) splits_at_orientation_changes: bool,
@@ -160,6 +161,7 @@ impl PartialEq for TextChunkCacheKey {
&& self.unidirectional_ltr == other.unidirectional_ltr
&& self.white_space_collapse == other.white_space_collapse
&& self.word_break == other.word_break
+ && self.line_break == other.line_break
&& self.font_variant_emoji == other.font_variant_emoji
&& self.splits_at_orientation_changes == other.splits_at_orientation_changes
// A frozen cascade is immutable, so naming the same one is the whole of equality.
@@ -445,6 +447,7 @@ mod tests {
unidirectional_ltr: true,
white_space_collapse: 0,
word_break: 0,
+ line_break: crate::css::css_enums::line_break::AUTO,
font_variant_emoji: 0,
frozen_font_list: std::sync::Arc::new(libgfx_rust::font::FrozenFontList::empty()),
splits_at_orientation_changes: false,
diff --git a/Libraries/LibWeb/Rust/src/layout/text_chunker.rs b/Libraries/LibWeb/Rust/src/layout/text_chunker.rs
index 2559ab3f46f..cb77cd8bbf7 100644
--- a/Libraries/LibWeb/Rust/src/layout/text_chunker.rs
+++ b/Libraries/LibWeb/Rust/src/layout/text_chunker.rs
@@ -10,7 +10,11 @@ use libgfx_rust::font::{EmojiPresentation, FontHandle, FrozenFontList, emoji_pre
unsafe extern "C" {
fn unicode_layout_grapheme_segmenter_create(text: *const u16, length_in_code_units: usize) -> *mut c_void;
- fn unicode_layout_line_segmenter_create(text: *const u16, length_in_code_units: usize) -> *mut c_void;
+ fn unicode_layout_line_segmenter_create(
+ text: *const u16,
+ length_in_code_units: usize,
+ allow_conditional_japanese_starters: bool,
+ ) -> *mut c_void;
fn unicode_layout_segmenter_next_boundary(handle: *mut c_void, index: usize, inclusive: bool) -> i64;
fn unicode_layout_segmenter_destroy(handle: *mut c_void);
fn unicode_layout_word_boundaries(
@@ -21,7 +25,7 @@ unsafe extern "C" {
end: *mut usize,
);
safe fn unicode_layout_bidirectional_class(code_point: u32) -> u8;
- safe fn unicode_layout_line_break_class(code_point: u32) -> u8;
+ safe fn unicode_layout_line_break_class(code_point: u32, allow_conditional_japanese_starters: bool) -> u8;
safe fn unicode_layout_code_point_has_emoji_property(code_point: u32) -> bool;
}
@@ -35,8 +39,8 @@ mod line_break_class {
pub(super) const COMBINING_MARK: u8 = 5;
}
-fn line_break_class(code_point: u32) -> u8 {
- unicode_layout_line_break_class(code_point)
+fn line_break_class(code_point: u32, allow_conditional_japanese_starters: bool) -> u8 {
+ unicode_layout_line_break_class(code_point, allow_conditional_japanese_starters)
}
// Classifies a code point for direction-run splitting: strong LTR/RTL, direction-neutral Common, or ContextDependent
@@ -99,7 +103,11 @@ mod unicode_test_stubs {
}
#[unsafe(no_mangle)]
- extern "C" fn unicode_layout_line_segmenter_create(_text: *const u16, _length_in_code_units: usize) -> *mut c_void {
+ extern "C" fn unicode_layout_line_segmenter_create(
+ _text: *const u16,
+ _length_in_code_units: usize,
+ _allow_conditional_japanese_starters: bool,
+ ) -> *mut c_void {
unreachable!("no unit test segments text");
}
@@ -132,7 +140,7 @@ mod unicode_test_stubs {
}
#[unsafe(no_mangle)]
- extern "C" fn unicode_layout_line_break_class(_code_point: u32) -> u8 {
+ extern "C" fn unicode_layout_line_break_class(_code_point: u32, _allow_conditional_japanese_starters: bool) -> u8 {
unreachable!("no unit test segments text");
}
@@ -159,6 +167,7 @@ pub(crate) struct TextChunkInputs<'text> {
pub frozen_font_list: &'text FrozenFontList,
pub white_space_collapse: u8,
pub word_break: u8,
+ pub line_break: u8,
pub font_variant_emoji: u8,
pub should_wrap_lines: bool,
pub should_respect_linebreaks: bool,
@@ -329,10 +338,12 @@ struct LineSegmenter<'text> {
}
impl<'text> LineSegmenter<'text> {
- fn new(text: &'text [u16]) -> Self {
+ fn new(text: &'text [u16], allow_conditional_japanese_starters: bool) -> Self {
// SAFETY: See GraphemeSegmenter::new; the same lifetime contract holds,
// and the C++ side picks the ASCII line-breaking fast path internally.
- let raw = unsafe { unicode_layout_line_segmenter_create(text.as_ptr(), text.len()) };
+ let raw = unsafe {
+ unicode_layout_line_segmenter_create(text.as_ptr(), text.len(), allow_conditional_japanese_starters)
+ };
Self {
handle: IcuSegmenterHandle { raw },
text,
@@ -497,6 +508,7 @@ struct TextChunker<'text> {
grapheme_segmenter: GraphemeSegmenter,
line_segmenter: LineSegmenter<'text>,
word_break: u8,
+ allow_conditional_japanese_starters: bool,
font_variant_emoji: u8,
should_collapse_whitespace: bool,
should_wrap_lines: bool,
@@ -509,12 +521,15 @@ struct TextChunker<'text> {
impl<'text> TextChunker<'text> {
fn new(inputs: TextChunkInputs<'text>) -> Self {
+ // NB: Apply CJ tailoring to word-break classification as well as to ICU's line segmenter.
+ let allow_conditional_japanese_starters = matches!(inputs.line_break, line_break::NORMAL | line_break::LOOSE);
Self {
text: inputs.text,
frozen_font_list: inputs.frozen_font_list,
grapheme_segmenter: GraphemeSegmenter::new(inputs.text),
- line_segmenter: LineSegmenter::new(inputs.text),
+ line_segmenter: LineSegmenter::new(inputs.text, allow_conditional_japanese_starters),
word_break: inputs.word_break,
+ allow_conditional_japanese_starters,
font_variant_emoji: inputs.font_variant_emoji,
should_collapse_whitespace: matches!(
inputs.white_space_collapse,
@@ -565,7 +580,10 @@ impl<'text> TextChunker<'text> {
}
let mut index = self.current_index;
let mut previous_code_point = previous_code_point_at(self.text, &mut index);
- while line_break_class(previous_code_point) == line_break_class::COMBINING_MARK && index > 0 {
+ while line_break_class(previous_code_point, self.allow_conditional_japanese_starters)
+ == line_break_class::COMBINING_MARK
+ && index > 0
+ {
previous_code_point = previous_code_point_at(self.text, &mut index);
}
Some(previous_code_point)
@@ -589,7 +607,7 @@ impl<'text> TextChunker<'text> {
use line_break_class::*;
let breaks_anywhere = |code_point| {
matches!(
- line_break_class(code_point),
+ line_break_class(code_point, self.allow_conditional_japanese_starters),
ALPHABETIC | NUMERIC | COMPLEX_CONTEXT | IDEOGRAPHIC
)
};
@@ -608,7 +626,7 @@ impl<'text> TextChunker<'text> {
use line_break_class::*;
let keeps_together = |code_point| {
matches!(
- line_break_class(code_point),
+ line_break_class(code_point, self.allow_conditional_japanese_starters),
ALPHABETIC | NUMERIC | AMBIGUOUS | IDEOGRAPHIC
)
};
@@ -938,6 +956,7 @@ pub(crate) fn text_chunks(
unidirectional_ltr,
white_space_collapse: parent_style.white_space_collapse(),
word_break: parent_style.word_break(),
+ line_break: parent_style.line_break(),
font_variant_emoji: parent_style.font_variant_emoji(),
frozen_font_list: parent_style.frozen_font_list_ref(),
splits_at_orientation_changes: matches!(
@@ -952,6 +971,7 @@ pub(crate) fn text_chunks(
frozen_font_list: &key.frozen_font_list,
white_space_collapse: key.white_space_collapse,
word_break: key.word_break,
+ line_break: key.line_break,
font_variant_emoji: key.font_variant_emoji,
should_wrap_lines,
should_respect_linebreaks,
diff --git a/Tests/LibWeb/Text/expected/CSS/line-break-cj-style-changes.txt b/Tests/LibWeb/Text/expected/CSS/line-break-cj-style-changes.txt
index 1fb2791f5f7..f2fae9358a3 100644
--- a/Tests/LibWeb/Text/expected/CSS/line-break-cj-style-changes.txt
+++ b/Tests/LibWeb/Text/expected/CSS/line-break-cj-style-changes.txt
@@ -1,5 +1,6 @@
-normal is inherited: false
-normal allows a CJ line start: false
+normal is inherited: true
+normal allows a CJ line start: true
strict restores the original break: true
-loose allows a CJ line start: false
+loose allows a CJ line start: true
auto restores the original break: true
+keep-all keeps CJ with adjacent ideographs: true
diff --git a/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt b/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt
index 09fa61081f6..8c901084252 100644
--- a/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt
+++ b/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt
@@ -48,6 +48,7 @@ All properties associated with getComputedStyle(document.body):
"image-rendering",
"interpolate-size",
"letter-spacing",
+ "line-break",
"line-height",
"list-style-image",
"list-style-position",
diff --git a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
index 28c428d6619..3eafdc5bfc2 100644
--- a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
+++ b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
@@ -653,6 +653,8 @@ All supported properties and their default values exposed from CSSStylePropertie
'left': 'auto'
'letterSpacing': 'normal'
'letter-spacing': 'normal'
+'lineBreak': 'auto'
+'line-break': 'auto'
'lineClamp': 'none'
'line-clamp': 'none'
'lineHeight': 'normal'
diff --git a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
index fefc85daa77..1863373ed79 100644
--- a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
+++ b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
@@ -46,6 +46,7 @@ hyphenate-character: auto
image-rendering: auto
interpolate-size: numeric-only
letter-spacing: normal
+line-break: auto
line-height: normal
list-style-image: none
list-style-position: outside
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/ja/css-text-line-break-ja-cj-loose.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/ja/css-text-line-break-ja-cj-loose.txt
index 3771a4c1428..e535a59411c 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/ja/css-text-line-break-ja-cj-loose.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/ja/css-text-line-break-ja-cj-loose.txt
@@ -2,55 +2,55 @@ Harness status: OK
Found 51 tests
-51 Fail
-Fail 3041 HIRAGANA LETTER SMALL A may appear at line start if ja and loose
-Fail 3043 HIRAGANA LETTER SMALL I may appear at line start if ja and loose
-Fail 3045 HIRAGANA LETTER SMALL U may appear at line start if ja and loose
-Fail 3047 HIRAGANA LETTER SMALL E may appear at line start if ja and loose
-Fail 3049 HIRAGANA LETTER SMALL O may appear at line start if ja and loose
-Fail 3063 HIRAGANA LETTER SMALL TU may appear at line start if ja and loose
-Fail 3083 HIRAGANA LETTER SMALL YA may appear at line start if ja and loose
-Fail 3085 HIRAGANA LETTER SMALL YU may appear at line start if ja and loose
-Fail 3087 HIRAGANA LETTER SMALL YO may appear at line start if ja and loose
-Fail 308E HIRAGANA LETTER SMALL WA may appear at line start if ja and loose
-Fail 3095 HIRAGANA LETTER SMALL KA may appear at line start if ja and loose
-Fail 3096 HIRAGANA LETTER SMALL KE may appear at line start if ja and loose
-Fail 30A1 KATAKANA LETTER SMALL A may appear at line start if ja and loose
-Fail 30A3 KATAKANA LETTER SMALL I may appear at line start if ja and loose
-Fail 30A5 KATAKANA LETTER SMALL U may appear at line start if ja and loose
-Fail 30A7 KATAKANA LETTER SMALL E may appear at line start if ja and loose
-Fail 30A9 KATAKANA LETTER SMALL O may appear at line start if ja and loose
-Fail 30C3 KATAKANA LETTER SMALL TU may appear at line start if ja and loose
-Fail 30E3 KATAKANA LETTER SMALL YA may appear at line start if ja and loose
-Fail 30E5 KATAKANA LETTER SMALL YU may appear at line start if ja and loose
-Fail 30E7 KATAKANA LETTER SMALL YO may appear at line start if ja and loose
-Fail 30EE KATAKANA LETTER SMALL WA may appear at line start if ja and loose
-Fail 30F5 KATAKANA LETTER SMALL KA may appear at line start if ja and loose
-Fail 30F6 KATAKANA LETTER SMALL KE may appear at line start if ja and loose
-Fail 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if ja and loose
-Fail 31F0 KATAKANA LETTER SMALL KU may appear at line start if ja and loose
-Fail 31F1 KATAKANA LETTER SMALL SI may appear at line start if ja and loose
-Fail 31F2 KATAKANA LETTER SMALL SU may appear at line start if ja and loose
-Fail 31F3 KATAKANA LETTER SMALL TO may appear at line start if ja and loose
-Fail 31F4 KATAKANA LETTER SMALL NU may appear at line start if ja and loose
-Fail 31F5 KATAKANA LETTER SMALL HA may appear at line start if ja and loose
-Fail 31F6 KATAKANA LETTER SMALL HI may appear at line start if ja and loose
-Fail 31F7 KATAKANA LETTER SMALL HU may appear at line start if ja and loose
-Fail 31F8 KATAKANA LETTER SMALL HE may appear at line start if ja and loose
-Fail 31F9 KATAKANA LETTER SMALL HO may appear at line start if ja and loose
-Fail 31FA KATAKANA LETTER SMALL MU may appear at line start if ja and loose
-Fail 31FB KATAKANA LETTER SMALL RA may appear at line start if ja and loose
-Fail 31FC KATAKANA LETTER SMALL RI may appear at line start if ja and loose
-Fail 31FD KATAKANA LETTER SMALL RU may appear at line start if ja and loose
-Fail 31FE KATAKANA LETTER SMALL RE may appear at line start if ja and loose
-Fail 31FF KATAKANA LETTER SMALL RO may appear at line start if ja and loose
-Fail FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if ja and loose
-Fail FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if ja and loose
-Fail FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if ja and loose
-Fail FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if ja and loose
-Fail FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if ja and loose
-Fail FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if ja and loose
-Fail FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if ja and loose
-Fail FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if ja and loose
-Fail FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if ja and loose
-Fail FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if ja and loose
\ No newline at end of file
+51 Pass
+Pass 3041 HIRAGANA LETTER SMALL A may appear at line start if ja and loose
+Pass 3043 HIRAGANA LETTER SMALL I may appear at line start if ja and loose
+Pass 3045 HIRAGANA LETTER SMALL U may appear at line start if ja and loose
+Pass 3047 HIRAGANA LETTER SMALL E may appear at line start if ja and loose
+Pass 3049 HIRAGANA LETTER SMALL O may appear at line start if ja and loose
+Pass 3063 HIRAGANA LETTER SMALL TU may appear at line start if ja and loose
+Pass 3083 HIRAGANA LETTER SMALL YA may appear at line start if ja and loose
+Pass 3085 HIRAGANA LETTER SMALL YU may appear at line start if ja and loose
+Pass 3087 HIRAGANA LETTER SMALL YO may appear at line start if ja and loose
+Pass 308E HIRAGANA LETTER SMALL WA may appear at line start if ja and loose
+Pass 3095 HIRAGANA LETTER SMALL KA may appear at line start if ja and loose
+Pass 3096 HIRAGANA LETTER SMALL KE may appear at line start if ja and loose
+Pass 30A1 KATAKANA LETTER SMALL A may appear at line start if ja and loose
+Pass 30A3 KATAKANA LETTER SMALL I may appear at line start if ja and loose
+Pass 30A5 KATAKANA LETTER SMALL U may appear at line start if ja and loose
+Pass 30A7 KATAKANA LETTER SMALL E may appear at line start if ja and loose
+Pass 30A9 KATAKANA LETTER SMALL O may appear at line start if ja and loose
+Pass 30C3 KATAKANA LETTER SMALL TU may appear at line start if ja and loose
+Pass 30E3 KATAKANA LETTER SMALL YA may appear at line start if ja and loose
+Pass 30E5 KATAKANA LETTER SMALL YU may appear at line start if ja and loose
+Pass 30E7 KATAKANA LETTER SMALL YO may appear at line start if ja and loose
+Pass 30EE KATAKANA LETTER SMALL WA may appear at line start if ja and loose
+Pass 30F5 KATAKANA LETTER SMALL KA may appear at line start if ja and loose
+Pass 30F6 KATAKANA LETTER SMALL KE may appear at line start if ja and loose
+Pass 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if ja and loose
+Pass 31F0 KATAKANA LETTER SMALL KU may appear at line start if ja and loose
+Pass 31F1 KATAKANA LETTER SMALL SI may appear at line start if ja and loose
+Pass 31F2 KATAKANA LETTER SMALL SU may appear at line start if ja and loose
+Pass 31F3 KATAKANA LETTER SMALL TO may appear at line start if ja and loose
+Pass 31F4 KATAKANA LETTER SMALL NU may appear at line start if ja and loose
+Pass 31F5 KATAKANA LETTER SMALL HA may appear at line start if ja and loose
+Pass 31F6 KATAKANA LETTER SMALL HI may appear at line start if ja and loose
+Pass 31F7 KATAKANA LETTER SMALL HU may appear at line start if ja and loose
+Pass 31F8 KATAKANA LETTER SMALL HE may appear at line start if ja and loose
+Pass 31F9 KATAKANA LETTER SMALL HO may appear at line start if ja and loose
+Pass 31FA KATAKANA LETTER SMALL MU may appear at line start if ja and loose
+Pass 31FB KATAKANA LETTER SMALL RA may appear at line start if ja and loose
+Pass 31FC KATAKANA LETTER SMALL RI may appear at line start if ja and loose
+Pass 31FD KATAKANA LETTER SMALL RU may appear at line start if ja and loose
+Pass 31FE KATAKANA LETTER SMALL RE may appear at line start if ja and loose
+Pass 31FF KATAKANA LETTER SMALL RO may appear at line start if ja and loose
+Pass FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if ja and loose
+Pass FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if ja and loose
+Pass FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if ja and loose
+Pass FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if ja and loose
+Pass FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if ja and loose
+Pass FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if ja and loose
+Pass FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if ja and loose
+Pass FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if ja and loose
+Pass FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if ja and loose
+Pass FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if ja and loose
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/ja/css-text-line-break-ja-cj-normal.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/ja/css-text-line-break-ja-cj-normal.txt
index fc64a3aab3c..ac66449cb7d 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/ja/css-text-line-break-ja-cj-normal.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/ja/css-text-line-break-ja-cj-normal.txt
@@ -2,55 +2,55 @@ Harness status: OK
Found 51 tests
-51 Fail
-Fail 3041 HIRAGANA LETTER SMALL A may appear at line start if ja and normal
-Fail 3043 HIRAGANA LETTER SMALL I may appear at line start if ja and normal
-Fail 3045 HIRAGANA LETTER SMALL U may appear at line start if ja and normal
-Fail 3047 HIRAGANA LETTER SMALL E may appear at line start if ja and normal
-Fail 3049 HIRAGANA LETTER SMALL O may appear at line start if ja and normal
-Fail 3063 HIRAGANA LETTER SMALL TU may appear at line start if ja and normal
-Fail 3083 HIRAGANA LETTER SMALL YA may appear at line start if ja and normal
-Fail 3085 HIRAGANA LETTER SMALL YU may appear at line start if ja and normal
-Fail 3087 HIRAGANA LETTER SMALL YO may appear at line start if ja and normal
-Fail 308E HIRAGANA LETTER SMALL WA may appear at line start if ja and normal
-Fail 3095 HIRAGANA LETTER SMALL KA may appear at line start if ja and normal
-Fail 3096 HIRAGANA LETTER SMALL KE may appear at line start if ja and normal
-Fail 30A1 KATAKANA LETTER SMALL A may appear at line start if ja and normal
-Fail 30A3 KATAKANA LETTER SMALL I may appear at line start if ja and normal
-Fail 30A5 KATAKANA LETTER SMALL U may appear at line start if ja and normal
-Fail 30A7 KATAKANA LETTER SMALL E may appear at line start if ja and normal
-Fail 30A9 KATAKANA LETTER SMALL O may appear at line start if ja and normal
-Fail 30C3 KATAKANA LETTER SMALL TU may appear at line start if ja and normal
-Fail 30E3 KATAKANA LETTER SMALL YA may appear at line start if ja and normal
-Fail 30E5 KATAKANA LETTER SMALL YU may appear at line start if ja and normal
-Fail 30E7 KATAKANA LETTER SMALL YO may appear at line start if ja and normal
-Fail 30EE KATAKANA LETTER SMALL WA may appear at line start if ja and normal
-Fail 30F5 KATAKANA LETTER SMALL KA may appear at line start if ja and normal
-Fail 30F6 KATAKANA LETTER SMALL KE may appear at line start if ja and normal
-Fail 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if ja and normal
-Fail 31F0 KATAKANA LETTER SMALL KU may appear at line start if ja and normal
-Fail 31F1 KATAKANA LETTER SMALL SI may appear at line start if ja and normal
-Fail 31F2 KATAKANA LETTER SMALL SU may appear at line start if ja and normal
-Fail 31F3 KATAKANA LETTER SMALL TO may appear at line start if ja and normal
-Fail 31F4 KATAKANA LETTER SMALL NU may appear at line start if ja and normal
-Fail 31F5 KATAKANA LETTER SMALL HA may appear at line start if ja and normal
-Fail 31F6 KATAKANA LETTER SMALL HI may appear at line start if ja and normal
-Fail 31F7 KATAKANA LETTER SMALL HU may appear at line start if ja and normal
-Fail 31F8 KATAKANA LETTER SMALL HE may appear at line start if ja and normal
-Fail 31F9 KATAKANA LETTER SMALL HO may appear at line start if ja and normal
-Fail 31FA KATAKANA LETTER SMALL MU may appear at line start if ja and normal
-Fail 31FB KATAKANA LETTER SMALL RA may appear at line start if ja and normal
-Fail 31FC KATAKANA LETTER SMALL RI may appear at line start if ja and normal
-Fail 31FD KATAKANA LETTER SMALL RU may appear at line start if ja and normal
-Fail 31FE KATAKANA LETTER SMALL RE may appear at line start if ja and normal
-Fail 31FF KATAKANA LETTER SMALL RO may appear at line start if ja and normal
-Fail FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if ja and normal
-Fail FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if ja and normal
-Fail FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if ja and normal
-Fail FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if ja and normal
-Fail FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if ja and normal
-Fail FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if ja and normal
-Fail FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if ja and normal
-Fail FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if ja and normal
-Fail FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if ja and normal
-Fail FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if ja and normal
\ No newline at end of file
+51 Pass
+Pass 3041 HIRAGANA LETTER SMALL A may appear at line start if ja and normal
+Pass 3043 HIRAGANA LETTER SMALL I may appear at line start if ja and normal
+Pass 3045 HIRAGANA LETTER SMALL U may appear at line start if ja and normal
+Pass 3047 HIRAGANA LETTER SMALL E may appear at line start if ja and normal
+Pass 3049 HIRAGANA LETTER SMALL O may appear at line start if ja and normal
+Pass 3063 HIRAGANA LETTER SMALL TU may appear at line start if ja and normal
+Pass 3083 HIRAGANA LETTER SMALL YA may appear at line start if ja and normal
+Pass 3085 HIRAGANA LETTER SMALL YU may appear at line start if ja and normal
+Pass 3087 HIRAGANA LETTER SMALL YO may appear at line start if ja and normal
+Pass 308E HIRAGANA LETTER SMALL WA may appear at line start if ja and normal
+Pass 3095 HIRAGANA LETTER SMALL KA may appear at line start if ja and normal
+Pass 3096 HIRAGANA LETTER SMALL KE may appear at line start if ja and normal
+Pass 30A1 KATAKANA LETTER SMALL A may appear at line start if ja and normal
+Pass 30A3 KATAKANA LETTER SMALL I may appear at line start if ja and normal
+Pass 30A5 KATAKANA LETTER SMALL U may appear at line start if ja and normal
+Pass 30A7 KATAKANA LETTER SMALL E may appear at line start if ja and normal
+Pass 30A9 KATAKANA LETTER SMALL O may appear at line start if ja and normal
+Pass 30C3 KATAKANA LETTER SMALL TU may appear at line start if ja and normal
+Pass 30E3 KATAKANA LETTER SMALL YA may appear at line start if ja and normal
+Pass 30E5 KATAKANA LETTER SMALL YU may appear at line start if ja and normal
+Pass 30E7 KATAKANA LETTER SMALL YO may appear at line start if ja and normal
+Pass 30EE KATAKANA LETTER SMALL WA may appear at line start if ja and normal
+Pass 30F5 KATAKANA LETTER SMALL KA may appear at line start if ja and normal
+Pass 30F6 KATAKANA LETTER SMALL KE may appear at line start if ja and normal
+Pass 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if ja and normal
+Pass 31F0 KATAKANA LETTER SMALL KU may appear at line start if ja and normal
+Pass 31F1 KATAKANA LETTER SMALL SI may appear at line start if ja and normal
+Pass 31F2 KATAKANA LETTER SMALL SU may appear at line start if ja and normal
+Pass 31F3 KATAKANA LETTER SMALL TO may appear at line start if ja and normal
+Pass 31F4 KATAKANA LETTER SMALL NU may appear at line start if ja and normal
+Pass 31F5 KATAKANA LETTER SMALL HA may appear at line start if ja and normal
+Pass 31F6 KATAKANA LETTER SMALL HI may appear at line start if ja and normal
+Pass 31F7 KATAKANA LETTER SMALL HU may appear at line start if ja and normal
+Pass 31F8 KATAKANA LETTER SMALL HE may appear at line start if ja and normal
+Pass 31F9 KATAKANA LETTER SMALL HO may appear at line start if ja and normal
+Pass 31FA KATAKANA LETTER SMALL MU may appear at line start if ja and normal
+Pass 31FB KATAKANA LETTER SMALL RA may appear at line start if ja and normal
+Pass 31FC KATAKANA LETTER SMALL RI may appear at line start if ja and normal
+Pass 31FD KATAKANA LETTER SMALL RU may appear at line start if ja and normal
+Pass 31FE KATAKANA LETTER SMALL RE may appear at line start if ja and normal
+Pass 31FF KATAKANA LETTER SMALL RO may appear at line start if ja and normal
+Pass FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if ja and normal
+Pass FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if ja and normal
+Pass FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if ja and normal
+Pass FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if ja and normal
+Pass FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if ja and normal
+Pass FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if ja and normal
+Pass FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if ja and normal
+Pass FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if ja and normal
+Pass FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if ja and normal
+Pass FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if ja and normal
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/other-lang/css-text-line-break-de-cj-loose.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/other-lang/css-text-line-break-de-cj-loose.txt
index e210720bde5..7639284d5fb 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/other-lang/css-text-line-break-de-cj-loose.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/other-lang/css-text-line-break-de-cj-loose.txt
@@ -2,55 +2,55 @@ Harness status: OK
Found 51 tests
-51 Fail
-Fail 3041 HIRAGANA LETTER SMALL A may appear at line start if de and loose
-Fail 3043 HIRAGANA LETTER SMALL I may appear at line start if de and loose
-Fail 3045 HIRAGANA LETTER SMALL U may appear at line start if de and loose
-Fail 3047 HIRAGANA LETTER SMALL E may appear at line start if de and loose
-Fail 3049 HIRAGANA LETTER SMALL O may appear at line start if de and loose
-Fail 3063 HIRAGANA LETTER SMALL TU may appear at line start if de and loose
-Fail 3083 HIRAGANA LETTER SMALL YA may appear at line start if de and loose
-Fail 3085 HIRAGANA LETTER SMALL YU may appear at line start if de and loose
-Fail 3087 HIRAGANA LETTER SMALL YO may appear at line start if de and loose
-Fail 308E HIRAGANA LETTER SMALL WA may appear at line start if de and loose
-Fail 3095 HIRAGANA LETTER SMALL KA may appear at line start if de and loose
-Fail 3096 HIRAGANA LETTER SMALL KE may appear at line start if de and loose
-Fail 30A1 KATAKANA LETTER SMALL A may appear at line start if de and loose
-Fail 30A3 KATAKANA LETTER SMALL I may appear at line start if de and loose
-Fail 30A5 KATAKANA LETTER SMALL U may appear at line start if de and loose
-Fail 30A7 KATAKANA LETTER SMALL E may appear at line start if de and loose
-Fail 30A9 KATAKANA LETTER SMALL O may appear at line start if de and loose
-Fail 30C3 KATAKANA LETTER SMALL TU may appear at line start if de and loose
-Fail 30E3 KATAKANA LETTER SMALL YA may appear at line start if de and loose
-Fail 30E5 KATAKANA LETTER SMALL YU may appear at line start if de and loose
-Fail 30E7 KATAKANA LETTER SMALL YO may appear at line start if de and loose
-Fail 30EE KATAKANA LETTER SMALL WA may appear at line start if de and loose
-Fail 30F5 KATAKANA LETTER SMALL KA may appear at line start if de and loose
-Fail 30F6 KATAKANA LETTER SMALL KE may appear at line start if de and loose
-Fail 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if de and loose
-Fail 31F0 KATAKANA LETTER SMALL KU may appear at line start if de and loose
-Fail 31F1 KATAKANA LETTER SMALL SI may appear at line start if de and loose
-Fail 31F2 KATAKANA LETTER SMALL SU may appear at line start if de and loose
-Fail 31F3 KATAKANA LETTER SMALL TO may appear at line start if de and loose
-Fail 31F4 KATAKANA LETTER SMALL NU may appear at line start if de and loose
-Fail 31F5 KATAKANA LETTER SMALL HA may appear at line start if de and loose
-Fail 31F6 KATAKANA LETTER SMALL HI may appear at line start if de and loose
-Fail 31F7 KATAKANA LETTER SMALL HU may appear at line start if de and loose
-Fail 31F8 KATAKANA LETTER SMALL HE may appear at line start if de and loose
-Fail 31F9 KATAKANA LETTER SMALL HO may appear at line start if de and loose
-Fail 31FA KATAKANA LETTER SMALL MU may appear at line start if de and loose
-Fail 31FB KATAKANA LETTER SMALL RA may appear at line start if de and loose
-Fail 31FC KATAKANA LETTER SMALL RI may appear at line start if de and loose
-Fail 31FD KATAKANA LETTER SMALL RU may appear at line start if de and loose
-Fail 31FE KATAKANA LETTER SMALL RE may appear at line start if de and loose
-Fail 31FF KATAKANA LETTER SMALL RO may appear at line start if de and loose
-Fail FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if de and loose
-Fail FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if de and loose
-Fail FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if de and loose
-Fail FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if de and loose
-Fail FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if de and loose
-Fail FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if de and loose
-Fail FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if de and loose
-Fail FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if de and loose
-Fail FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if de and loose
-Fail FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if de and loose
\ No newline at end of file
+51 Pass
+Pass 3041 HIRAGANA LETTER SMALL A may appear at line start if de and loose
+Pass 3043 HIRAGANA LETTER SMALL I may appear at line start if de and loose
+Pass 3045 HIRAGANA LETTER SMALL U may appear at line start if de and loose
+Pass 3047 HIRAGANA LETTER SMALL E may appear at line start if de and loose
+Pass 3049 HIRAGANA LETTER SMALL O may appear at line start if de and loose
+Pass 3063 HIRAGANA LETTER SMALL TU may appear at line start if de and loose
+Pass 3083 HIRAGANA LETTER SMALL YA may appear at line start if de and loose
+Pass 3085 HIRAGANA LETTER SMALL YU may appear at line start if de and loose
+Pass 3087 HIRAGANA LETTER SMALL YO may appear at line start if de and loose
+Pass 308E HIRAGANA LETTER SMALL WA may appear at line start if de and loose
+Pass 3095 HIRAGANA LETTER SMALL KA may appear at line start if de and loose
+Pass 3096 HIRAGANA LETTER SMALL KE may appear at line start if de and loose
+Pass 30A1 KATAKANA LETTER SMALL A may appear at line start if de and loose
+Pass 30A3 KATAKANA LETTER SMALL I may appear at line start if de and loose
+Pass 30A5 KATAKANA LETTER SMALL U may appear at line start if de and loose
+Pass 30A7 KATAKANA LETTER SMALL E may appear at line start if de and loose
+Pass 30A9 KATAKANA LETTER SMALL O may appear at line start if de and loose
+Pass 30C3 KATAKANA LETTER SMALL TU may appear at line start if de and loose
+Pass 30E3 KATAKANA LETTER SMALL YA may appear at line start if de and loose
+Pass 30E5 KATAKANA LETTER SMALL YU may appear at line start if de and loose
+Pass 30E7 KATAKANA LETTER SMALL YO may appear at line start if de and loose
+Pass 30EE KATAKANA LETTER SMALL WA may appear at line start if de and loose
+Pass 30F5 KATAKANA LETTER SMALL KA may appear at line start if de and loose
+Pass 30F6 KATAKANA LETTER SMALL KE may appear at line start if de and loose
+Pass 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if de and loose
+Pass 31F0 KATAKANA LETTER SMALL KU may appear at line start if de and loose
+Pass 31F1 KATAKANA LETTER SMALL SI may appear at line start if de and loose
+Pass 31F2 KATAKANA LETTER SMALL SU may appear at line start if de and loose
+Pass 31F3 KATAKANA LETTER SMALL TO may appear at line start if de and loose
+Pass 31F4 KATAKANA LETTER SMALL NU may appear at line start if de and loose
+Pass 31F5 KATAKANA LETTER SMALL HA may appear at line start if de and loose
+Pass 31F6 KATAKANA LETTER SMALL HI may appear at line start if de and loose
+Pass 31F7 KATAKANA LETTER SMALL HU may appear at line start if de and loose
+Pass 31F8 KATAKANA LETTER SMALL HE may appear at line start if de and loose
+Pass 31F9 KATAKANA LETTER SMALL HO may appear at line start if de and loose
+Pass 31FA KATAKANA LETTER SMALL MU may appear at line start if de and loose
+Pass 31FB KATAKANA LETTER SMALL RA may appear at line start if de and loose
+Pass 31FC KATAKANA LETTER SMALL RI may appear at line start if de and loose
+Pass 31FD KATAKANA LETTER SMALL RU may appear at line start if de and loose
+Pass 31FE KATAKANA LETTER SMALL RE may appear at line start if de and loose
+Pass 31FF KATAKANA LETTER SMALL RO may appear at line start if de and loose
+Pass FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if de and loose
+Pass FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if de and loose
+Pass FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if de and loose
+Pass FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if de and loose
+Pass FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if de and loose
+Pass FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if de and loose
+Pass FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if de and loose
+Pass FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if de and loose
+Pass FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if de and loose
+Pass FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if de and loose
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/other-lang/css-text-line-break-de-cj-normal.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/other-lang/css-text-line-break-de-cj-normal.txt
index 76fdb838240..95cae7b44ca 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/other-lang/css-text-line-break-de-cj-normal.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/other-lang/css-text-line-break-de-cj-normal.txt
@@ -2,55 +2,55 @@ Harness status: OK
Found 51 tests
-51 Fail
-Fail 3041 HIRAGANA LETTER SMALL A may appear at line start if de and normal
-Fail 3043 HIRAGANA LETTER SMALL I may appear at line start if de and normal
-Fail 3045 HIRAGANA LETTER SMALL U may appear at line start if de and normal
-Fail 3047 HIRAGANA LETTER SMALL E may appear at line start if de and normal
-Fail 3049 HIRAGANA LETTER SMALL O may appear at line start if de and normal
-Fail 3063 HIRAGANA LETTER SMALL TU may appear at line start if de and normal
-Fail 3083 HIRAGANA LETTER SMALL YA may appear at line start if de and normal
-Fail 3085 HIRAGANA LETTER SMALL YU may appear at line start if de and normal
-Fail 3087 HIRAGANA LETTER SMALL YO may appear at line start if de and normal
-Fail 308E HIRAGANA LETTER SMALL WA may appear at line start if de and normal
-Fail 3095 HIRAGANA LETTER SMALL KA may appear at line start if de and normal
-Fail 3096 HIRAGANA LETTER SMALL KE may appear at line start if de and normal
-Fail 30A1 KATAKANA LETTER SMALL A may appear at line start if de and normal
-Fail 30A3 KATAKANA LETTER SMALL I may appear at line start if de and normal
-Fail 30A5 KATAKANA LETTER SMALL U may appear at line start if de and normal
-Fail 30A7 KATAKANA LETTER SMALL E may appear at line start if de and normal
-Fail 30A9 KATAKANA LETTER SMALL O may appear at line start if de and normal
-Fail 30C3 KATAKANA LETTER SMALL TU may appear at line start if de and normal
-Fail 30E3 KATAKANA LETTER SMALL YA may appear at line start if de and normal
-Fail 30E5 KATAKANA LETTER SMALL YU may appear at line start if de and normal
-Fail 30E7 KATAKANA LETTER SMALL YO may appear at line start if de and normal
-Fail 30EE KATAKANA LETTER SMALL WA may appear at line start if de and normal
-Fail 30F5 KATAKANA LETTER SMALL KA may appear at line start if de and normal
-Fail 30F6 KATAKANA LETTER SMALL KE may appear at line start if de and normal
-Fail 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if de and normal
-Fail 31F0 KATAKANA LETTER SMALL KU may appear at line start if de and normal
-Fail 31F1 KATAKANA LETTER SMALL SI may appear at line start if de and normal
-Fail 31F2 KATAKANA LETTER SMALL SU may appear at line start if de and normal
-Fail 31F3 KATAKANA LETTER SMALL TO may appear at line start if de and normal
-Fail 31F4 KATAKANA LETTER SMALL NU may appear at line start if de and normal
-Fail 31F5 KATAKANA LETTER SMALL HA may appear at line start if de and normal
-Fail 31F6 KATAKANA LETTER SMALL HI may appear at line start if de and normal
-Fail 31F7 KATAKANA LETTER SMALL HU may appear at line start if de and normal
-Fail 31F8 KATAKANA LETTER SMALL HE may appear at line start if de and normal
-Fail 31F9 KATAKANA LETTER SMALL HO may appear at line start if de and normal
-Fail 31FA KATAKANA LETTER SMALL MU may appear at line start if de and normal
-Fail 31FB KATAKANA LETTER SMALL RA may appear at line start if de and normal
-Fail 31FC KATAKANA LETTER SMALL RI may appear at line start if de and normal
-Fail 31FD KATAKANA LETTER SMALL RU may appear at line start if de and normal
-Fail 31FE KATAKANA LETTER SMALL RE may appear at line start if de and normal
-Fail 31FF KATAKANA LETTER SMALL RO may appear at line start if de and normal
-Fail FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if de and normal
-Fail FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if de and normal
-Fail FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if de and normal
-Fail FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if de and normal
-Fail FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if de and normal
-Fail FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if de and normal
-Fail FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if de and normal
-Fail FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if de and normal
-Fail FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if de and normal
-Fail FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if de and normal
\ No newline at end of file
+51 Pass
+Pass 3041 HIRAGANA LETTER SMALL A may appear at line start if de and normal
+Pass 3043 HIRAGANA LETTER SMALL I may appear at line start if de and normal
+Pass 3045 HIRAGANA LETTER SMALL U may appear at line start if de and normal
+Pass 3047 HIRAGANA LETTER SMALL E may appear at line start if de and normal
+Pass 3049 HIRAGANA LETTER SMALL O may appear at line start if de and normal
+Pass 3063 HIRAGANA LETTER SMALL TU may appear at line start if de and normal
+Pass 3083 HIRAGANA LETTER SMALL YA may appear at line start if de and normal
+Pass 3085 HIRAGANA LETTER SMALL YU may appear at line start if de and normal
+Pass 3087 HIRAGANA LETTER SMALL YO may appear at line start if de and normal
+Pass 308E HIRAGANA LETTER SMALL WA may appear at line start if de and normal
+Pass 3095 HIRAGANA LETTER SMALL KA may appear at line start if de and normal
+Pass 3096 HIRAGANA LETTER SMALL KE may appear at line start if de and normal
+Pass 30A1 KATAKANA LETTER SMALL A may appear at line start if de and normal
+Pass 30A3 KATAKANA LETTER SMALL I may appear at line start if de and normal
+Pass 30A5 KATAKANA LETTER SMALL U may appear at line start if de and normal
+Pass 30A7 KATAKANA LETTER SMALL E may appear at line start if de and normal
+Pass 30A9 KATAKANA LETTER SMALL O may appear at line start if de and normal
+Pass 30C3 KATAKANA LETTER SMALL TU may appear at line start if de and normal
+Pass 30E3 KATAKANA LETTER SMALL YA may appear at line start if de and normal
+Pass 30E5 KATAKANA LETTER SMALL YU may appear at line start if de and normal
+Pass 30E7 KATAKANA LETTER SMALL YO may appear at line start if de and normal
+Pass 30EE KATAKANA LETTER SMALL WA may appear at line start if de and normal
+Pass 30F5 KATAKANA LETTER SMALL KA may appear at line start if de and normal
+Pass 30F6 KATAKANA LETTER SMALL KE may appear at line start if de and normal
+Pass 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if de and normal
+Pass 31F0 KATAKANA LETTER SMALL KU may appear at line start if de and normal
+Pass 31F1 KATAKANA LETTER SMALL SI may appear at line start if de and normal
+Pass 31F2 KATAKANA LETTER SMALL SU may appear at line start if de and normal
+Pass 31F3 KATAKANA LETTER SMALL TO may appear at line start if de and normal
+Pass 31F4 KATAKANA LETTER SMALL NU may appear at line start if de and normal
+Pass 31F5 KATAKANA LETTER SMALL HA may appear at line start if de and normal
+Pass 31F6 KATAKANA LETTER SMALL HI may appear at line start if de and normal
+Pass 31F7 KATAKANA LETTER SMALL HU may appear at line start if de and normal
+Pass 31F8 KATAKANA LETTER SMALL HE may appear at line start if de and normal
+Pass 31F9 KATAKANA LETTER SMALL HO may appear at line start if de and normal
+Pass 31FA KATAKANA LETTER SMALL MU may appear at line start if de and normal
+Pass 31FB KATAKANA LETTER SMALL RA may appear at line start if de and normal
+Pass 31FC KATAKANA LETTER SMALL RI may appear at line start if de and normal
+Pass 31FD KATAKANA LETTER SMALL RU may appear at line start if de and normal
+Pass 31FE KATAKANA LETTER SMALL RE may appear at line start if de and normal
+Pass 31FF KATAKANA LETTER SMALL RO may appear at line start if de and normal
+Pass FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if de and normal
+Pass FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if de and normal
+Pass FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if de and normal
+Pass FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if de and normal
+Pass FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if de and normal
+Pass FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if de and normal
+Pass FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if de and normal
+Pass FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if de and normal
+Pass FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if de and normal
+Pass FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if de and normal
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/unknown-lang/css-text-line-break-cj-loose.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/unknown-lang/css-text-line-break-cj-loose.txt
index 95609b4a8b3..8281bd21c41 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/unknown-lang/css-text-line-break-cj-loose.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/unknown-lang/css-text-line-break-cj-loose.txt
@@ -2,55 +2,55 @@ Harness status: OK
Found 51 tests
-51 Fail
-Fail 3041 HIRAGANA LETTER SMALL A may appear at line start if loose
-Fail 3043 HIRAGANA LETTER SMALL I may appear at line start if loose
-Fail 3045 HIRAGANA LETTER SMALL U may appear at line start if loose
-Fail 3047 HIRAGANA LETTER SMALL E may appear at line start if loose
-Fail 3049 HIRAGANA LETTER SMALL O may appear at line start if loose
-Fail 3063 HIRAGANA LETTER SMALL TU may appear at line start if loose
-Fail 3083 HIRAGANA LETTER SMALL YA may appear at line start if loose
-Fail 3085 HIRAGANA LETTER SMALL YU may appear at line start if loose
-Fail 3087 HIRAGANA LETTER SMALL YO may appear at line start if loose
-Fail 308E HIRAGANA LETTER SMALL WA may appear at line start if loose
-Fail 3095 HIRAGANA LETTER SMALL KA may appear at line start if loose
-Fail 3096 HIRAGANA LETTER SMALL KE may appear at line start if loose
-Fail 30A1 KATAKANA LETTER SMALL A may appear at line start if loose
-Fail 30A3 KATAKANA LETTER SMALL I may appear at line start if loose
-Fail 30A5 KATAKANA LETTER SMALL U may appear at line start if loose
-Fail 30A7 KATAKANA LETTER SMALL E may appear at line start if loose
-Fail 30A9 KATAKANA LETTER SMALL O may appear at line start if loose
-Fail 30C3 KATAKANA LETTER SMALL TU may appear at line start if loose
-Fail 30E3 KATAKANA LETTER SMALL YA may appear at line start if loose
-Fail 30E5 KATAKANA LETTER SMALL YU may appear at line start if loose
-Fail 30E7 KATAKANA LETTER SMALL YO may appear at line start if loose
-Fail 30EE KATAKANA LETTER SMALL WA may appear at line start if loose
-Fail 30F5 KATAKANA LETTER SMALL KA may appear at line start if loose
-Fail 30F6 KATAKANA LETTER SMALL KE may appear at line start if loose
-Fail 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if loose
-Fail 31F0 KATAKANA LETTER SMALL KU may appear at line start if loose
-Fail 31F1 KATAKANA LETTER SMALL SI may appear at line start if loose
-Fail 31F2 KATAKANA LETTER SMALL SU may appear at line start if loose
-Fail 31F3 KATAKANA LETTER SMALL TO may appear at line start if loose
-Fail 31F4 KATAKANA LETTER SMALL NU may appear at line start if loose
-Fail 31F5 KATAKANA LETTER SMALL HA may appear at line start if loose
-Fail 31F6 KATAKANA LETTER SMALL HI may appear at line start if loose
-Fail 31F7 KATAKANA LETTER SMALL HU may appear at line start if loose
-Fail 31F8 KATAKANA LETTER SMALL HE may appear at line start if loose
-Fail 31F9 KATAKANA LETTER SMALL HO may appear at line start if loose
-Fail 31FA KATAKANA LETTER SMALL MU may appear at line start if loose
-Fail 31FB KATAKANA LETTER SMALL RA may appear at line start if loose
-Fail 31FC KATAKANA LETTER SMALL RI may appear at line start if loose
-Fail 31FD KATAKANA LETTER SMALL RU may appear at line start if loose
-Fail 31FE KATAKANA LETTER SMALL RE may appear at line start if loose
-Fail 31FF KATAKANA LETTER SMALL RO may appear at line start if loose
-Fail FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if loose
-Fail FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if loose
-Fail FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if loose
-Fail FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if loose
-Fail FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if loose
-Fail FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if loose
-Fail FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if loose
-Fail FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if loose
-Fail FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if loose
-Fail FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if loose
\ No newline at end of file
+51 Pass
+Pass 3041 HIRAGANA LETTER SMALL A may appear at line start if loose
+Pass 3043 HIRAGANA LETTER SMALL I may appear at line start if loose
+Pass 3045 HIRAGANA LETTER SMALL U may appear at line start if loose
+Pass 3047 HIRAGANA LETTER SMALL E may appear at line start if loose
+Pass 3049 HIRAGANA LETTER SMALL O may appear at line start if loose
+Pass 3063 HIRAGANA LETTER SMALL TU may appear at line start if loose
+Pass 3083 HIRAGANA LETTER SMALL YA may appear at line start if loose
+Pass 3085 HIRAGANA LETTER SMALL YU may appear at line start if loose
+Pass 3087 HIRAGANA LETTER SMALL YO may appear at line start if loose
+Pass 308E HIRAGANA LETTER SMALL WA may appear at line start if loose
+Pass 3095 HIRAGANA LETTER SMALL KA may appear at line start if loose
+Pass 3096 HIRAGANA LETTER SMALL KE may appear at line start if loose
+Pass 30A1 KATAKANA LETTER SMALL A may appear at line start if loose
+Pass 30A3 KATAKANA LETTER SMALL I may appear at line start if loose
+Pass 30A5 KATAKANA LETTER SMALL U may appear at line start if loose
+Pass 30A7 KATAKANA LETTER SMALL E may appear at line start if loose
+Pass 30A9 KATAKANA LETTER SMALL O may appear at line start if loose
+Pass 30C3 KATAKANA LETTER SMALL TU may appear at line start if loose
+Pass 30E3 KATAKANA LETTER SMALL YA may appear at line start if loose
+Pass 30E5 KATAKANA LETTER SMALL YU may appear at line start if loose
+Pass 30E7 KATAKANA LETTER SMALL YO may appear at line start if loose
+Pass 30EE KATAKANA LETTER SMALL WA may appear at line start if loose
+Pass 30F5 KATAKANA LETTER SMALL KA may appear at line start if loose
+Pass 30F6 KATAKANA LETTER SMALL KE may appear at line start if loose
+Pass 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if loose
+Pass 31F0 KATAKANA LETTER SMALL KU may appear at line start if loose
+Pass 31F1 KATAKANA LETTER SMALL SI may appear at line start if loose
+Pass 31F2 KATAKANA LETTER SMALL SU may appear at line start if loose
+Pass 31F3 KATAKANA LETTER SMALL TO may appear at line start if loose
+Pass 31F4 KATAKANA LETTER SMALL NU may appear at line start if loose
+Pass 31F5 KATAKANA LETTER SMALL HA may appear at line start if loose
+Pass 31F6 KATAKANA LETTER SMALL HI may appear at line start if loose
+Pass 31F7 KATAKANA LETTER SMALL HU may appear at line start if loose
+Pass 31F8 KATAKANA LETTER SMALL HE may appear at line start if loose
+Pass 31F9 KATAKANA LETTER SMALL HO may appear at line start if loose
+Pass 31FA KATAKANA LETTER SMALL MU may appear at line start if loose
+Pass 31FB KATAKANA LETTER SMALL RA may appear at line start if loose
+Pass 31FC KATAKANA LETTER SMALL RI may appear at line start if loose
+Pass 31FD KATAKANA LETTER SMALL RU may appear at line start if loose
+Pass 31FE KATAKANA LETTER SMALL RE may appear at line start if loose
+Pass 31FF KATAKANA LETTER SMALL RO may appear at line start if loose
+Pass FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if loose
+Pass FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if loose
+Pass FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if loose
+Pass FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if loose
+Pass FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if loose
+Pass FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if loose
+Pass FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if loose
+Pass FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if loose
+Pass FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if loose
+Pass FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if loose
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/unknown-lang/css-text-line-break-cj-normal.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/unknown-lang/css-text-line-break-cj-normal.txt
index 2553e5c6f6e..984e0555646 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/unknown-lang/css-text-line-break-cj-normal.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/unknown-lang/css-text-line-break-cj-normal.txt
@@ -2,55 +2,55 @@ Harness status: OK
Found 51 tests
-51 Fail
-Fail 3041 HIRAGANA LETTER SMALL A may appear at line start if normal
-Fail 3043 HIRAGANA LETTER SMALL I may appear at line start if normal
-Fail 3045 HIRAGANA LETTER SMALL U may appear at line start if normal
-Fail 3047 HIRAGANA LETTER SMALL E may appear at line start if normal
-Fail 3049 HIRAGANA LETTER SMALL O may appear at line start if normal
-Fail 3063 HIRAGANA LETTER SMALL TU may appear at line start if normal
-Fail 3083 HIRAGANA LETTER SMALL YA may appear at line start if normal
-Fail 3085 HIRAGANA LETTER SMALL YU may appear at line start if normal
-Fail 3087 HIRAGANA LETTER SMALL YO may appear at line start if normal
-Fail 308E HIRAGANA LETTER SMALL WA may appear at line start if normal
-Fail 3095 HIRAGANA LETTER SMALL KA may appear at line start if normal
-Fail 3096 HIRAGANA LETTER SMALL KE may appear at line start if normal
-Fail 30A1 KATAKANA LETTER SMALL A may appear at line start if normal
-Fail 30A3 KATAKANA LETTER SMALL I may appear at line start if normal
-Fail 30A5 KATAKANA LETTER SMALL U may appear at line start if normal
-Fail 30A7 KATAKANA LETTER SMALL E may appear at line start if normal
-Fail 30A9 KATAKANA LETTER SMALL O may appear at line start if normal
-Fail 30C3 KATAKANA LETTER SMALL TU may appear at line start if normal
-Fail 30E3 KATAKANA LETTER SMALL YA may appear at line start if normal
-Fail 30E5 KATAKANA LETTER SMALL YU may appear at line start if normal
-Fail 30E7 KATAKANA LETTER SMALL YO may appear at line start if normal
-Fail 30EE KATAKANA LETTER SMALL WA may appear at line start if normal
-Fail 30F5 KATAKANA LETTER SMALL KA may appear at line start if normal
-Fail 30F6 KATAKANA LETTER SMALL KE may appear at line start if normal
-Fail 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if normal
-Fail 31F0 KATAKANA LETTER SMALL KU may appear at line start if normal
-Fail 31F1 KATAKANA LETTER SMALL SI may appear at line start if normal
-Fail 31F2 KATAKANA LETTER SMALL SU may appear at line start if normal
-Fail 31F3 KATAKANA LETTER SMALL TO may appear at line start if normal
-Fail 31F4 KATAKANA LETTER SMALL NU may appear at line start if normal
-Fail 31F5 KATAKANA LETTER SMALL HA may appear at line start if normal
-Fail 31F6 KATAKANA LETTER SMALL HI may appear at line start if normal
-Fail 31F7 KATAKANA LETTER SMALL HU may appear at line start if normal
-Fail 31F8 KATAKANA LETTER SMALL HE may appear at line start if normal
-Fail 31F9 KATAKANA LETTER SMALL HO may appear at line start if normal
-Fail 31FA KATAKANA LETTER SMALL MU may appear at line start if normal
-Fail 31FB KATAKANA LETTER SMALL RA may appear at line start if normal
-Fail 31FC KATAKANA LETTER SMALL RI may appear at line start if normal
-Fail 31FD KATAKANA LETTER SMALL RU may appear at line start if normal
-Fail 31FE KATAKANA LETTER SMALL RE may appear at line start if normal
-Fail 31FF KATAKANA LETTER SMALL RO may appear at line start if normal
-Fail FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if normal
-Fail FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if normal
-Fail FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if normal
-Fail FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if normal
-Fail FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if normal
-Fail FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if normal
-Fail FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if normal
-Fail FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if normal
-Fail FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if normal
-Fail FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if normal
\ No newline at end of file
+51 Pass
+Pass 3041 HIRAGANA LETTER SMALL A may appear at line start if normal
+Pass 3043 HIRAGANA LETTER SMALL I may appear at line start if normal
+Pass 3045 HIRAGANA LETTER SMALL U may appear at line start if normal
+Pass 3047 HIRAGANA LETTER SMALL E may appear at line start if normal
+Pass 3049 HIRAGANA LETTER SMALL O may appear at line start if normal
+Pass 3063 HIRAGANA LETTER SMALL TU may appear at line start if normal
+Pass 3083 HIRAGANA LETTER SMALL YA may appear at line start if normal
+Pass 3085 HIRAGANA LETTER SMALL YU may appear at line start if normal
+Pass 3087 HIRAGANA LETTER SMALL YO may appear at line start if normal
+Pass 308E HIRAGANA LETTER SMALL WA may appear at line start if normal
+Pass 3095 HIRAGANA LETTER SMALL KA may appear at line start if normal
+Pass 3096 HIRAGANA LETTER SMALL KE may appear at line start if normal
+Pass 30A1 KATAKANA LETTER SMALL A may appear at line start if normal
+Pass 30A3 KATAKANA LETTER SMALL I may appear at line start if normal
+Pass 30A5 KATAKANA LETTER SMALL U may appear at line start if normal
+Pass 30A7 KATAKANA LETTER SMALL E may appear at line start if normal
+Pass 30A9 KATAKANA LETTER SMALL O may appear at line start if normal
+Pass 30C3 KATAKANA LETTER SMALL TU may appear at line start if normal
+Pass 30E3 KATAKANA LETTER SMALL YA may appear at line start if normal
+Pass 30E5 KATAKANA LETTER SMALL YU may appear at line start if normal
+Pass 30E7 KATAKANA LETTER SMALL YO may appear at line start if normal
+Pass 30EE KATAKANA LETTER SMALL WA may appear at line start if normal
+Pass 30F5 KATAKANA LETTER SMALL KA may appear at line start if normal
+Pass 30F6 KATAKANA LETTER SMALL KE may appear at line start if normal
+Pass 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if normal
+Pass 31F0 KATAKANA LETTER SMALL KU may appear at line start if normal
+Pass 31F1 KATAKANA LETTER SMALL SI may appear at line start if normal
+Pass 31F2 KATAKANA LETTER SMALL SU may appear at line start if normal
+Pass 31F3 KATAKANA LETTER SMALL TO may appear at line start if normal
+Pass 31F4 KATAKANA LETTER SMALL NU may appear at line start if normal
+Pass 31F5 KATAKANA LETTER SMALL HA may appear at line start if normal
+Pass 31F6 KATAKANA LETTER SMALL HI may appear at line start if normal
+Pass 31F7 KATAKANA LETTER SMALL HU may appear at line start if normal
+Pass 31F8 KATAKANA LETTER SMALL HE may appear at line start if normal
+Pass 31F9 KATAKANA LETTER SMALL HO may appear at line start if normal
+Pass 31FA KATAKANA LETTER SMALL MU may appear at line start if normal
+Pass 31FB KATAKANA LETTER SMALL RA may appear at line start if normal
+Pass 31FC KATAKANA LETTER SMALL RI may appear at line start if normal
+Pass 31FD KATAKANA LETTER SMALL RU may appear at line start if normal
+Pass 31FE KATAKANA LETTER SMALL RE may appear at line start if normal
+Pass 31FF KATAKANA LETTER SMALL RO may appear at line start if normal
+Pass FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if normal
+Pass FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if normal
+Pass FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if normal
+Pass FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if normal
+Pass FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if normal
+Pass FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if normal
+Pass FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if normal
+Pass FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if normal
+Pass FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if normal
+Pass FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if normal
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/zh/css-text-line-break-zh-cj-loose.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/zh/css-text-line-break-zh-cj-loose.txt
index 499684feaf4..b20499b5e34 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/zh/css-text-line-break-zh-cj-loose.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/zh/css-text-line-break-zh-cj-loose.txt
@@ -2,55 +2,55 @@ Harness status: OK
Found 51 tests
-51 Fail
-Fail 3041 HIRAGANA LETTER SMALL A may appear at line start if zh and loose
-Fail 3043 HIRAGANA LETTER SMALL I may appear at line start if zh and loose
-Fail 3045 HIRAGANA LETTER SMALL U may appear at line start if zh and loose
-Fail 3047 HIRAGANA LETTER SMALL E may appear at line start if zh and loose
-Fail 3049 HIRAGANA LETTER SMALL O may appear at line start if zh and loose
-Fail 3063 HIRAGANA LETTER SMALL TU may appear at line start if zh and loose
-Fail 3083 HIRAGANA LETTER SMALL YA may appear at line start if zh and loose
-Fail 3085 HIRAGANA LETTER SMALL YU may appear at line start if zh and loose
-Fail 3087 HIRAGANA LETTER SMALL YO may appear at line start if zh and loose
-Fail 308E HIRAGANA LETTER SMALL WA may appear at line start if zh and loose
-Fail 3095 HIRAGANA LETTER SMALL KA may appear at line start if zh and loose
-Fail 3096 HIRAGANA LETTER SMALL KE may appear at line start if zh and loose
-Fail 30A1 KATAKANA LETTER SMALL A may appear at line start if zh and loose
-Fail 30A3 KATAKANA LETTER SMALL I may appear at line start if zh and loose
-Fail 30A5 KATAKANA LETTER SMALL U may appear at line start if zh and loose
-Fail 30A7 KATAKANA LETTER SMALL E may appear at line start if zh and loose
-Fail 30A9 KATAKANA LETTER SMALL O may appear at line start if zh and loose
-Fail 30C3 KATAKANA LETTER SMALL TU may appear at line start if zh and loose
-Fail 30E3 KATAKANA LETTER SMALL YA may appear at line start if zh and loose
-Fail 30E5 KATAKANA LETTER SMALL YU may appear at line start if zh and loose
-Fail 30E7 KATAKANA LETTER SMALL YO may appear at line start if zh and loose
-Fail 30EE KATAKANA LETTER SMALL WA may appear at line start if zh and loose
-Fail 30F5 KATAKANA LETTER SMALL KA may appear at line start if zh and loose
-Fail 30F6 KATAKANA LETTER SMALL KE may appear at line start if zh and loose
-Fail 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if zh and loose
-Fail 31F0 KATAKANA LETTER SMALL KU may appear at line start if zh and loose
-Fail 31F1 KATAKANA LETTER SMALL SI may appear at line start if zh and loose
-Fail 31F2 KATAKANA LETTER SMALL SU may appear at line start if zh and loose
-Fail 31F3 KATAKANA LETTER SMALL TO may appear at line start if zh and loose
-Fail 31F4 KATAKANA LETTER SMALL NU may appear at line start if zh and loose
-Fail 31F5 KATAKANA LETTER SMALL HA may appear at line start if zh and loose
-Fail 31F6 KATAKANA LETTER SMALL HI may appear at line start if zh and loose
-Fail 31F7 KATAKANA LETTER SMALL HU may appear at line start if zh and loose
-Fail 31F8 KATAKANA LETTER SMALL HE may appear at line start if zh and loose
-Fail 31F9 KATAKANA LETTER SMALL HO may appear at line start if zh and loose
-Fail 31FA KATAKANA LETTER SMALL MU may appear at line start if zh and loose
-Fail 31FB KATAKANA LETTER SMALL RA may appear at line start if zh and loose
-Fail 31FC KATAKANA LETTER SMALL RI may appear at line start if zh and loose
-Fail 31FD KATAKANA LETTER SMALL RU may appear at line start if zh and loose
-Fail 31FE KATAKANA LETTER SMALL RE may appear at line start if zh and loose
-Fail 31FF KATAKANA LETTER SMALL RO may appear at line start if zh and loose
-Fail FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if zh and loose
-Fail FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if zh and loose
-Fail FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if zh and loose
-Fail FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if zh and loose
-Fail FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if zh and loose
-Fail FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if zh and loose
-Fail FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if zh and loose
-Fail FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if zh and loose
-Fail FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if zh and loose
-Fail FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if zh and loose
\ No newline at end of file
+51 Pass
+Pass 3041 HIRAGANA LETTER SMALL A may appear at line start if zh and loose
+Pass 3043 HIRAGANA LETTER SMALL I may appear at line start if zh and loose
+Pass 3045 HIRAGANA LETTER SMALL U may appear at line start if zh and loose
+Pass 3047 HIRAGANA LETTER SMALL E may appear at line start if zh and loose
+Pass 3049 HIRAGANA LETTER SMALL O may appear at line start if zh and loose
+Pass 3063 HIRAGANA LETTER SMALL TU may appear at line start if zh and loose
+Pass 3083 HIRAGANA LETTER SMALL YA may appear at line start if zh and loose
+Pass 3085 HIRAGANA LETTER SMALL YU may appear at line start if zh and loose
+Pass 3087 HIRAGANA LETTER SMALL YO may appear at line start if zh and loose
+Pass 308E HIRAGANA LETTER SMALL WA may appear at line start if zh and loose
+Pass 3095 HIRAGANA LETTER SMALL KA may appear at line start if zh and loose
+Pass 3096 HIRAGANA LETTER SMALL KE may appear at line start if zh and loose
+Pass 30A1 KATAKANA LETTER SMALL A may appear at line start if zh and loose
+Pass 30A3 KATAKANA LETTER SMALL I may appear at line start if zh and loose
+Pass 30A5 KATAKANA LETTER SMALL U may appear at line start if zh and loose
+Pass 30A7 KATAKANA LETTER SMALL E may appear at line start if zh and loose
+Pass 30A9 KATAKANA LETTER SMALL O may appear at line start if zh and loose
+Pass 30C3 KATAKANA LETTER SMALL TU may appear at line start if zh and loose
+Pass 30E3 KATAKANA LETTER SMALL YA may appear at line start if zh and loose
+Pass 30E5 KATAKANA LETTER SMALL YU may appear at line start if zh and loose
+Pass 30E7 KATAKANA LETTER SMALL YO may appear at line start if zh and loose
+Pass 30EE KATAKANA LETTER SMALL WA may appear at line start if zh and loose
+Pass 30F5 KATAKANA LETTER SMALL KA may appear at line start if zh and loose
+Pass 30F6 KATAKANA LETTER SMALL KE may appear at line start if zh and loose
+Pass 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if zh and loose
+Pass 31F0 KATAKANA LETTER SMALL KU may appear at line start if zh and loose
+Pass 31F1 KATAKANA LETTER SMALL SI may appear at line start if zh and loose
+Pass 31F2 KATAKANA LETTER SMALL SU may appear at line start if zh and loose
+Pass 31F3 KATAKANA LETTER SMALL TO may appear at line start if zh and loose
+Pass 31F4 KATAKANA LETTER SMALL NU may appear at line start if zh and loose
+Pass 31F5 KATAKANA LETTER SMALL HA may appear at line start if zh and loose
+Pass 31F6 KATAKANA LETTER SMALL HI may appear at line start if zh and loose
+Pass 31F7 KATAKANA LETTER SMALL HU may appear at line start if zh and loose
+Pass 31F8 KATAKANA LETTER SMALL HE may appear at line start if zh and loose
+Pass 31F9 KATAKANA LETTER SMALL HO may appear at line start if zh and loose
+Pass 31FA KATAKANA LETTER SMALL MU may appear at line start if zh and loose
+Pass 31FB KATAKANA LETTER SMALL RA may appear at line start if zh and loose
+Pass 31FC KATAKANA LETTER SMALL RI may appear at line start if zh and loose
+Pass 31FD KATAKANA LETTER SMALL RU may appear at line start if zh and loose
+Pass 31FE KATAKANA LETTER SMALL RE may appear at line start if zh and loose
+Pass 31FF KATAKANA LETTER SMALL RO may appear at line start if zh and loose
+Pass FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if zh and loose
+Pass FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if zh and loose
+Pass FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if zh and loose
+Pass FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if zh and loose
+Pass FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if zh and loose
+Pass FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if zh and loose
+Pass FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if zh and loose
+Pass FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if zh and loose
+Pass FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if zh and loose
+Pass FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if zh and loose
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/zh/css-text-line-break-zh-cj-normal.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/zh/css-text-line-break-zh-cj-normal.txt
index 8b2bc419166..30417638d78 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/zh/css-text-line-break-zh-cj-normal.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/i18n/zh/css-text-line-break-zh-cj-normal.txt
@@ -2,55 +2,55 @@ Harness status: OK
Found 51 tests
-51 Fail
-Fail 3041 HIRAGANA LETTER SMALL A may appear at line start if zh and normal
-Fail 3043 HIRAGANA LETTER SMALL I may appear at line start if zh and normal
-Fail 3045 HIRAGANA LETTER SMALL U may appear at line start if zh and normal
-Fail 3047 HIRAGANA LETTER SMALL E may appear at line start if zh and normal
-Fail 3049 HIRAGANA LETTER SMALL O may appear at line start if zh and normal
-Fail 3063 HIRAGANA LETTER SMALL TU may appear at line start if zh and normal
-Fail 3083 HIRAGANA LETTER SMALL YA may appear at line start if zh and normal
-Fail 3085 HIRAGANA LETTER SMALL YU may appear at line start if zh and normal
-Fail 3087 HIRAGANA LETTER SMALL YO may appear at line start if zh and normal
-Fail 308E HIRAGANA LETTER SMALL WA may appear at line start if zh and normal
-Fail 3095 HIRAGANA LETTER SMALL KA may appear at line start if zh and normal
-Fail 3096 HIRAGANA LETTER SMALL KE may appear at line start if zh and normal
-Fail 30A1 KATAKANA LETTER SMALL A may appear at line start if zh and normal
-Fail 30A3 KATAKANA LETTER SMALL I may appear at line start if zh and normal
-Fail 30A5 KATAKANA LETTER SMALL U may appear at line start if zh and normal
-Fail 30A7 KATAKANA LETTER SMALL E may appear at line start if zh and normal
-Fail 30A9 KATAKANA LETTER SMALL O may appear at line start if zh and normal
-Fail 30C3 KATAKANA LETTER SMALL TU may appear at line start if zh and normal
-Fail 30E3 KATAKANA LETTER SMALL YA may appear at line start if zh and normal
-Fail 30E5 KATAKANA LETTER SMALL YU may appear at line start if zh and normal
-Fail 30E7 KATAKANA LETTER SMALL YO may appear at line start if zh and normal
-Fail 30EE KATAKANA LETTER SMALL WA may appear at line start if zh and normal
-Fail 30F5 KATAKANA LETTER SMALL KA may appear at line start if zh and normal
-Fail 30F6 KATAKANA LETTER SMALL KE may appear at line start if zh and normal
-Fail 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if zh and normal
-Fail 31F0 KATAKANA LETTER SMALL KU may appear at line start if zh and normal
-Fail 31F1 KATAKANA LETTER SMALL SI may appear at line start if zh and normal
-Fail 31F2 KATAKANA LETTER SMALL SU may appear at line start if zh and normal
-Fail 31F3 KATAKANA LETTER SMALL TO may appear at line start if zh and normal
-Fail 31F4 KATAKANA LETTER SMALL NU may appear at line start if zh and normal
-Fail 31F5 KATAKANA LETTER SMALL HA may appear at line start if zh and normal
-Fail 31F6 KATAKANA LETTER SMALL HI may appear at line start if zh and normal
-Fail 31F7 KATAKANA LETTER SMALL HU may appear at line start if zh and normal
-Fail 31F8 KATAKANA LETTER SMALL HE may appear at line start if zh and normal
-Fail 31F9 KATAKANA LETTER SMALL HO may appear at line start if zh and normal
-Fail 31FA KATAKANA LETTER SMALL MU may appear at line start if zh and normal
-Fail 31FB KATAKANA LETTER SMALL RA may appear at line start if zh and normal
-Fail 31FC KATAKANA LETTER SMALL RI may appear at line start if zh and normal
-Fail 31FD KATAKANA LETTER SMALL RU may appear at line start if zh and normal
-Fail 31FE KATAKANA LETTER SMALL RE may appear at line start if zh and normal
-Fail 31FF KATAKANA LETTER SMALL RO may appear at line start if zh and normal
-Fail FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if zh and normal
-Fail FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if zh and normal
-Fail FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if zh and normal
-Fail FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if zh and normal
-Fail FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if zh and normal
-Fail FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if zh and normal
-Fail FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if zh and normal
-Fail FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if zh and normal
-Fail FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if zh and normal
-Fail FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if zh and normal
\ No newline at end of file
+51 Pass
+Pass 3041 HIRAGANA LETTER SMALL A may appear at line start if zh and normal
+Pass 3043 HIRAGANA LETTER SMALL I may appear at line start if zh and normal
+Pass 3045 HIRAGANA LETTER SMALL U may appear at line start if zh and normal
+Pass 3047 HIRAGANA LETTER SMALL E may appear at line start if zh and normal
+Pass 3049 HIRAGANA LETTER SMALL O may appear at line start if zh and normal
+Pass 3063 HIRAGANA LETTER SMALL TU may appear at line start if zh and normal
+Pass 3083 HIRAGANA LETTER SMALL YA may appear at line start if zh and normal
+Pass 3085 HIRAGANA LETTER SMALL YU may appear at line start if zh and normal
+Pass 3087 HIRAGANA LETTER SMALL YO may appear at line start if zh and normal
+Pass 308E HIRAGANA LETTER SMALL WA may appear at line start if zh and normal
+Pass 3095 HIRAGANA LETTER SMALL KA may appear at line start if zh and normal
+Pass 3096 HIRAGANA LETTER SMALL KE may appear at line start if zh and normal
+Pass 30A1 KATAKANA LETTER SMALL A may appear at line start if zh and normal
+Pass 30A3 KATAKANA LETTER SMALL I may appear at line start if zh and normal
+Pass 30A5 KATAKANA LETTER SMALL U may appear at line start if zh and normal
+Pass 30A7 KATAKANA LETTER SMALL E may appear at line start if zh and normal
+Pass 30A9 KATAKANA LETTER SMALL O may appear at line start if zh and normal
+Pass 30C3 KATAKANA LETTER SMALL TU may appear at line start if zh and normal
+Pass 30E3 KATAKANA LETTER SMALL YA may appear at line start if zh and normal
+Pass 30E5 KATAKANA LETTER SMALL YU may appear at line start if zh and normal
+Pass 30E7 KATAKANA LETTER SMALL YO may appear at line start if zh and normal
+Pass 30EE KATAKANA LETTER SMALL WA may appear at line start if zh and normal
+Pass 30F5 KATAKANA LETTER SMALL KA may appear at line start if zh and normal
+Pass 30F6 KATAKANA LETTER SMALL KE may appear at line start if zh and normal
+Pass 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if zh and normal
+Pass 31F0 KATAKANA LETTER SMALL KU may appear at line start if zh and normal
+Pass 31F1 KATAKANA LETTER SMALL SI may appear at line start if zh and normal
+Pass 31F2 KATAKANA LETTER SMALL SU may appear at line start if zh and normal
+Pass 31F3 KATAKANA LETTER SMALL TO may appear at line start if zh and normal
+Pass 31F4 KATAKANA LETTER SMALL NU may appear at line start if zh and normal
+Pass 31F5 KATAKANA LETTER SMALL HA may appear at line start if zh and normal
+Pass 31F6 KATAKANA LETTER SMALL HI may appear at line start if zh and normal
+Pass 31F7 KATAKANA LETTER SMALL HU may appear at line start if zh and normal
+Pass 31F8 KATAKANA LETTER SMALL HE may appear at line start if zh and normal
+Pass 31F9 KATAKANA LETTER SMALL HO may appear at line start if zh and normal
+Pass 31FA KATAKANA LETTER SMALL MU may appear at line start if zh and normal
+Pass 31FB KATAKANA LETTER SMALL RA may appear at line start if zh and normal
+Pass 31FC KATAKANA LETTER SMALL RI may appear at line start if zh and normal
+Pass 31FD KATAKANA LETTER SMALL RU may appear at line start if zh and normal
+Pass 31FE KATAKANA LETTER SMALL RE may appear at line start if zh and normal
+Pass 31FF KATAKANA LETTER SMALL RO may appear at line start if zh and normal
+Pass FF67 HALFWIDTH KATAKANA LETTER SMALL A may appear at line start if zh and normal
+Pass FF68 HALFWIDTH KATAKANA LETTER SMALL I may appear at line start if zh and normal
+Pass FF69 HALFWIDTH KATAKANA LETTER SMALL U may appear at line start if zh and normal
+Pass FF6A HALFWIDTH KATAKANA LETTER SMALL E may appear at line start if zh and normal
+Pass FF6B HALFWIDTH KATAKANA LETTER SMALL O may appear at line start if zh and normal
+Pass FF6C HALFWIDTH KATAKANA LETTER SMALL YA may appear at line start if zh and normal
+Pass FF6D HALFWIDTH KATAKANA LETTER SMALL YU may appear at line start if zh and normal
+Pass FF6E HALFWIDTH KATAKANA LETTER SMALL YO may appear at line start if zh and normal
+Pass FF6F HALFWIDTH KATAKANA LETTER SMALL TU may appear at line start if zh and normal
+Pass FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK may appear at line start if zh and normal
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/line-break.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/line-break.txt
index 0753aeee265..9d317796346 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/line-break.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/line-break.txt
@@ -2,17 +2,17 @@ Harness status: OK
Found 36 tests
-26 Pass
-10 Fail
-Fail Can set 'line-break' to CSS-wide keywords: initial
-Fail Can set 'line-break' to CSS-wide keywords: inherit
-Fail Can set 'line-break' to CSS-wide keywords: unset
-Fail Can set 'line-break' to CSS-wide keywords: revert
-Fail Can set 'line-break' to var() references: var(--A)
-Fail Can set 'line-break' to the 'auto' keyword: auto
-Fail Can set 'line-break' to the 'loose' keyword: loose
-Fail Can set 'line-break' to the 'normal' keyword: normal
-Fail Can set 'line-break' to the 'strict' keyword: strict
+35 Pass
+1 Fail
+Pass Can set 'line-break' to CSS-wide keywords: initial
+Pass Can set 'line-break' to CSS-wide keywords: inherit
+Pass Can set 'line-break' to CSS-wide keywords: unset
+Pass Can set 'line-break' to CSS-wide keywords: revert
+Pass Can set 'line-break' to var() references: var(--A)
+Pass Can set 'line-break' to the 'auto' keyword: auto
+Pass Can set 'line-break' to the 'loose' keyword: loose
+Pass Can set 'line-break' to the 'normal' keyword: normal
+Pass Can set 'line-break' to the 'strict' keyword: strict
Fail Can set 'line-break' to the 'anywhere' keyword: anywhere
Pass Setting 'line-break' to a length: 0px throws TypeError
Pass Setting 'line-break' to a length: -3.14em throws TypeError
diff --git a/Tests/LibWeb/Text/input/CSS/line-break-cj-style-changes.html b/Tests/LibWeb/Text/input/CSS/line-break-cj-style-changes.html
index c0be449a59a..0df944da856 100644
--- a/Tests/LibWeb/Text/input/CSS/line-break-cj-style-changes.html
+++ b/Tests/LibWeb/Text/input/CSS/line-break-cj-style-changes.html
@@ -34,6 +34,12 @@
container.style.lineBreak = "auto";
println(`auto restores the original break: ${marker.getBoundingClientRect().left === strictPosition}`);
+
+ container.style.lineBreak = "normal";
+ target.style.wordBreak = "keep-all";
+ const keepAllTop = marker.getBoundingClientRect().top;
+ target.style.width = "1000px";
+ println(`keep-all keeps CJ with adjacent ideographs: ${marker.getBoundingClientRect().top === keepAllTop}`);
done();
});
</script>