mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
implemented string-valued text-overflow
This commit is contained in:
parent
c4bd2027b7
commit
4b2737606d
7 changed files with 100 additions and 49 deletions
|
@ -5496,18 +5496,6 @@
|
|||
"url": "/_mozilla/css/text_node_opacity.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_overflow_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_basic_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_basic_a.html",
|
||||
|
@ -5520,6 +5508,30 @@
|
|||
"url": "/_mozilla/css/text_overflow_basic_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_ellipsis.html": [
|
||||
{
|
||||
"path": "css/text_overflow_ellipsis.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_overflow_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_overflow_ellipsis.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_string.html": [
|
||||
{
|
||||
"path": "css/text_overflow_string.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_overflow_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_overflow_string.html"
|
||||
}
|
||||
],
|
||||
"css/text_shadow_blur_a.html": [
|
||||
{
|
||||
"path": "css/text_shadow_blur_a.html",
|
||||
|
@ -20364,18 +20376,6 @@
|
|||
"url": "/_mozilla/css/text_node_opacity.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_overflow_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_basic_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_basic_a.html",
|
||||
|
@ -20388,6 +20388,30 @@
|
|||
"url": "/_mozilla/css/text_overflow_basic_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_ellipsis.html": [
|
||||
{
|
||||
"path": "css/text_overflow_ellipsis.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_overflow_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_overflow_ellipsis.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_string.html": [
|
||||
{
|
||||
"path": "css/text_overflow_string.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_overflow_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_overflow_string.html"
|
||||
}
|
||||
],
|
||||
"css/text_shadow_blur_a.html": [
|
||||
{
|
||||
"path": "css/text_shadow_blur_a.html",
|
||||
|
|
|
@ -8,14 +8,13 @@ p {
|
|||
background: gold;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
#hideme {
|
||||
p.hidden {
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p id=hideme>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
<p>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
<p class="hidden">mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -13,5 +13,3 @@ p {
|
|||
<p>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
|
20
tests/wpt/mozilla/tests/css/text_overflow_string.html
Normal file
20
tests/wpt/mozilla/tests/css/text_overflow_string.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=mismatch href=text_overflow_ref.html>
|
||||
<style>
|
||||
p {
|
||||
width: 128px;
|
||||
background: gold;
|
||||
text-overflow: "[..]";
|
||||
}
|
||||
p.hidden {
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
<p class="hidden">mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue