From f94a1c59567f0080cd36012d3baf708586d4f43f Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 17 Sep 2018 12:37:46 +0100 Subject: [PATCH 1/3] Added line-breaking-013 and reference test --- .../line-breaking/line-breaking-013.xht | 90 +++++++++++++++++++ .../reference/line-breaking-013-ref.xht | 87 ++++++++++++++++++ 2 files changed, 177 insertions(+) create mode 100644 css/css-text/line-breaking/line-breaking-013.xht create mode 100644 css/css-text/line-breaking/reference/line-breaking-013-ref.xht diff --git a/css/css-text/line-breaking/line-breaking-013.xht b/css/css-text/line-breaking/line-breaking-013.xht new file mode 100644 index 00000000000000..e841293654dc6b --- /dev/null +++ b/css/css-text/line-breaking/line-breaking-013.xht @@ -0,0 +1,90 @@ + + + + CSS Test: atomic inlines are treated as ideographic characters for line-breaking + + + + + + + + + + + +

Block one: test passes if the first character on line two is "d"

+
+ a b cd e f + a b c
d e f
+ a b c国d e f +
+ + +

Block two: test passes if the first character on line two is "+"

+
+ a b +d e + a b +
d e
+ a b +国d e +
+ + +
+

Block three: test passes if the first character on line two is "c"

+ a b cd e + a b c
d e
+ a b c国d e +
+ + +
+

Block four: test passes if the first characters on line two
+ are "d", "d" and "c" (there may be a space before a "d")

+ ab c d e + ab c
 d e
+ ab c国 d e +
+ + + \ No newline at end of file diff --git a/css/css-text/line-breaking/reference/line-breaking-013-ref.xht b/css/css-text/line-breaking/reference/line-breaking-013-ref.xht new file mode 100644 index 00000000000000..b6a6233fc534e8 --- /dev/null +++ b/css/css-text/line-breaking/reference/line-breaking-013-ref.xht @@ -0,0 +1,87 @@ + + + + + CSS Test: atomic inlines are treated as ideographic characters for line-breaking + + + + + + + +

Block one: test passes if the first character on line two is "d"

+
+ a b c
d e f
+ a b c

d e f
+ a b c国
d e f
+
+ + +

Block two: test passes if the first character on line two is "+"

+
+ a b
+d e
+ a b
+
d e
+ a b
+国d e
+
+ + +
+

Block three: test passes if the first character on line two is "c"

+ a b
cd e
+ a b
c
d e
+ a b
c国d e
+
+ + +
+

Block four: test passes if the first characters on line two
+ are "d", "d" and "c" (there may be a space before a "d")

+ ab c
 d e
+ ab c

 d e
+ ab
c国 d e
+
+ + + \ No newline at end of file From 080111cae9f67238ccf9b0b95e1578de5b29b4c6 Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 17 Sep 2018 13:18:12 +0100 Subject: [PATCH 2/3] Added newline and EOF --- css/css-text/line-breaking/line-breaking-013.xht | 2 +- css/css-text/line-breaking/reference/line-breaking-013-ref.xht | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css/css-text/line-breaking/line-breaking-013.xht b/css/css-text/line-breaking/line-breaking-013.xht index e841293654dc6b..bd2d7827cf42b3 100644 --- a/css/css-text/line-breaking/line-breaking-013.xht +++ b/css/css-text/line-breaking/line-breaking-013.xht @@ -87,4 +87,4 @@ - \ No newline at end of file + diff --git a/css/css-text/line-breaking/reference/line-breaking-013-ref.xht b/css/css-text/line-breaking/reference/line-breaking-013-ref.xht index b6a6233fc534e8..9b93456d5c762e 100644 --- a/css/css-text/line-breaking/reference/line-breaking-013-ref.xht +++ b/css/css-text/line-breaking/reference/line-breaking-013-ref.xht @@ -84,4 +84,4 @@ - \ No newline at end of file + From a73350a838956338f7c2958221e7ab8ba6dfe2f0 Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 17 Sep 2018 13:33:37 +0100 Subject: [PATCH 3/3] FIxed lint --- css/css-text/line-breaking/line-breaking-013.xht | 2 +- .../line-breaking/reference/line-breaking-013-ref.xht | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/css-text/line-breaking/line-breaking-013.xht b/css/css-text/line-breaking/line-breaking-013.xht index bd2d7827cf42b3..4253d7dae37ac6 100644 --- a/css/css-text/line-breaking/line-breaking-013.xht +++ b/css/css-text/line-breaking/line-breaking-013.xht @@ -11,7 +11,7 @@ p { margin: 2em 0 0.5em 0; } - img { + img { width: 1em; height: 1em; } diff --git a/css/css-text/line-breaking/reference/line-breaking-013-ref.xht b/css/css-text/line-breaking/reference/line-breaking-013-ref.xht index 9b93456d5c762e..9ba2d6df035967 100644 --- a/css/css-text/line-breaking/reference/line-breaking-013-ref.xht +++ b/css/css-text/line-breaking/reference/line-breaking-013-ref.xht @@ -1,14 +1,14 @@ - + CSS Test: atomic inlines are treated as ideographic characters for line-breaking