diff options
Diffstat (limited to 'testing/web-platform/tests/css/selectors/floating-first-letter-05d0.html')
-rw-r--r-- | testing/web-platform/tests/css/selectors/floating-first-letter-05d0.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/selectors/floating-first-letter-05d0.html b/testing/web-platform/tests/css/selectors/floating-first-letter-05d0.html new file mode 100644 index 0000000000..68bc77b40f --- /dev/null +++ b/testing/web-platform/tests/css/selectors/floating-first-letter-05d0.html @@ -0,0 +1,20 @@ +<!doctype html> +<meta charset=utf-8> +<title>Drop cap with U+05D0 in the document</title> +<meta name="assert" content="The text placement within :first-line should not be affected by later presence of a right-to-left character."> +<link rel=help href=https://drafts.csswg.org/css-pseudo-4/#first-line-styling> +<link rel=match href=floating-first-letter-ref.html> +<style> + p:first-line { + background: lightblue; + } + + p::first-letter { + float: left; + font-size: 4rem; + } + div { + color: transparent; + } +</style> +<p>Ab</p><div>א</div> |