From b71de6ef028f53a4dfa3648533d1ed0ecf56bd1e Mon Sep 17 00:00:00 2001 From: Koji Ishii Date: Sun, 2 Jun 2024 12:04:24 -0700 Subject: [PATCH] [text-box-trim] Add tests for atomic inlines This patch adds tests to ensure that the `text-box-trim` property trims the line containing atomic inlines, but it doesn't propagate into the atomic inline, and therefore the lines inside of the atomic inline isn't trimmed. This patch has no behavior changes. Bug: 40254880 Change-Id: I7ffd34238a30f0178b4070dc23452e5e59c47fd4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5588337 Auto-Submit: Koji Ishii Reviewed-by: Kent Tamura Commit-Queue: Kent Tamura Cr-Commit-Position: refs/heads/main@{#1309110} --- .../text-box-trim-atomic-inline-001-ref.html | 25 +++++++++++++++++ .../text-box-trim-atomic-inline-001.html | 28 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 css/css-inline/text-box-trim/text-box-trim-atomic-inline-001-ref.html create mode 100644 css/css-inline/text-box-trim/text-box-trim-atomic-inline-001.html diff --git a/css/css-inline/text-box-trim/text-box-trim-atomic-inline-001-ref.html b/css/css-inline/text-box-trim/text-box-trim-atomic-inline-001-ref.html new file mode 100644 index 00000000000000..7614329e2e5bd9 --- /dev/null +++ b/css/css-inline/text-box-trim/text-box-trim-atomic-inline-001-ref.html @@ -0,0 +1,25 @@ + + + +
+
+ X +
+
diff --git a/css/css-inline/text-box-trim/text-box-trim-atomic-inline-001.html b/css/css-inline/text-box-trim/text-box-trim-atomic-inline-001.html new file mode 100644 index 00000000000000..5f2d01c7dc7239 --- /dev/null +++ b/css/css-inline/text-box-trim/text-box-trim-atomic-inline-001.html @@ -0,0 +1,28 @@ + +Test the `text-box-trim` isn't propagated into atomic inlines + + + + + +
+
+ X +
+