mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add tests for #14952
This commit is contained in:
parent
cef4ebed20
commit
d4ea380440
3 changed files with 44 additions and 0 deletions
|
@ -5544,6 +5544,18 @@
|
||||||
"url": "/_mozilla/css/text_overflow_ellipsis.html"
|
"url": "/_mozilla/css/text_overflow_ellipsis.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/text_overflow_reflow.html": [
|
||||||
|
{
|
||||||
|
"path": "css/text_overflow_reflow.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/text_overflow_reflow_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/text_overflow_reflow.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/text_overflow_string.html": [
|
"css/text_overflow_string.html": [
|
||||||
{
|
{
|
||||||
"path": "css/text_overflow_string.html",
|
"path": "css/text_overflow_string.html",
|
||||||
|
@ -20874,6 +20886,18 @@
|
||||||
"url": "/_mozilla/css/text_overflow_ellipsis.html"
|
"url": "/_mozilla/css/text_overflow_ellipsis.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/text_overflow_reflow.html": [
|
||||||
|
{
|
||||||
|
"path": "css/text_overflow_reflow.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/text_overflow_reflow_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/text_overflow_reflow.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/text_overflow_string.html": [
|
"css/text_overflow_string.html": [
|
||||||
{
|
{
|
||||||
"path": "css/text_overflow_string.html",
|
"path": "css/text_overflow_string.html",
|
||||||
|
|
15
tests/wpt/mozilla/tests/css/text_overflow_reflow.html
Normal file
15
tests/wpt/mozilla/tests/css/text_overflow_reflow.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html class="reftest-wait">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Text overflow should disappear when the container becomes large enough</title>
|
||||||
|
<meta name="description" content="This test is targetted at bug #14952 in Servo's incremental reflow engine.">
|
||||||
|
<link rel="match" href="text_overflow_reflow_ref.html">
|
||||||
|
<style>html{font-family:Ahem}</style>
|
||||||
|
<div id=goat style="width:5em"><p style="text-overflow:ellipsis;overflow:hidden">XXXXXXXXXX</p></div>
|
||||||
|
<script>
|
||||||
|
var goat = document.getElementById("goat");
|
||||||
|
requestAnimationFrame(function() {
|
||||||
|
goat.style.width = "20em";
|
||||||
|
document.documentElement.className = "";
|
||||||
|
});
|
||||||
|
</script>
|
|
@ -0,0 +1,5 @@
|
||||||
|
<!doctype html>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Text overflow should disappear when the container becomes large enough</title>
|
||||||
|
<style>html{font-family:Ahem}</style>
|
||||||
|
<div style="width:20em"><p style="text-overflow:ellipsis;overflow:hidden">XXXXXXXXXX</p></div>
|
Loading…
Add table
Add a link
Reference in a new issue