mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision e102a993c37a2e0ebd549bc7d5548b006458ab34
This commit is contained in:
parent
037cac7353
commit
a00f2d6310
479 changed files with 13629 additions and 1611 deletions
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: named flow content has contentEditable attribute set</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -35,8 +36,8 @@
|
|||
<ol>
|
||||
<li>Below you should see a square with a black border with some text inside it. No red
|
||||
should be visible at any time during this test.</li>
|
||||
<li>Click between the two colored markers (green and blue) and type “<strong>foobar
|
||||
bazquux</strong>”</li>
|
||||
<li>Click between the two colored markers (green and blue) and type “<strong>foobar
|
||||
bazquux</strong>”</li>
|
||||
<li>Test passes if the text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border.</li>
|
||||
</ol>
|
||||
|
@ -53,4 +54,5 @@
|
|||
insertText("#marked", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: named flow content has a child with contentEditable attribute set</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -36,13 +37,13 @@
|
|||
<ol>
|
||||
<li>Below you should see a square with a black border with some text inside it. No red
|
||||
should be visible at any time during this test.</li>
|
||||
<li>Click between the two gray markers and type “<strong>foobar bazquux</strong>”
|
||||
<li>Click between the two gray markers and type “<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>No (new) text should appear between the gray markers</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Click between the two colored markers (green and blue) and type “<strong>foobar
|
||||
bazquux</strong>”
|
||||
<li>Click between the two colored markers (green and blue) and type “<strong>foobar
|
||||
bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border</li>
|
||||
|
@ -68,4 +69,5 @@
|
|||
insertText("#marked-active", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: named flow content is child of an element that has contentEditable attribute set</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -45,14 +46,14 @@
|
|||
it a rectangle with a black border with some text inside it. No red should be visible
|
||||
at any time during this test.</li>
|
||||
<li>Click between the two colored markers (green and blue) inside the blue rectangle and
|
||||
type “<strong>foobar bazquux</strong>”
|
||||
type “<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the blue border</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Click between the two colored markers (green and blue) inside the black rectangle and
|
||||
type “<strong>foobar bazquux</strong>”
|
||||
type “<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border</li>
|
||||
|
@ -81,4 +82,5 @@
|
|||
insertText("#marked-in", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: element has contentEditable attribute set and both it and a child of it are
|
||||
flowed in a the same region</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
|
@ -40,14 +41,14 @@
|
|||
<li>Below you should see a rectangle with a black border with some text inside it. No
|
||||
red should be visible at any time during this test.</li>
|
||||
<li>Click between the first pair of green and blue colored markers and type
|
||||
“<strong>foobar bazquux</strong>”
|
||||
“<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Click between the second pair of green and blue colored markers and type
|
||||
“<strong>foobar bazquux</strong>”
|
||||
“<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border</li>
|
||||
|
@ -75,4 +76,5 @@
|
|||
insertText("#marked-child", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: named flow content has contentEditable attribute set and is fragmented</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -39,14 +40,14 @@
|
|||
<li>Below you should see a rectangle with a black border with some text inside it. No
|
||||
red should be visible at any time during this test.</li>
|
||||
<li>Click between the first pair of green and blue colored markers and type
|
||||
“<strong>foobar bazquux</strong>”
|
||||
“<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Click between the second pair of green and blue colored markers and type
|
||||
“<strong>foobar bazquux</strong>”
|
||||
“<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border</li>
|
||||
|
@ -73,4 +74,5 @@
|
|||
insertText("#marked-two", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: named flow content has contentEditable attribute set and is flowed in an
|
||||
auto-height region</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
|
@ -42,14 +43,14 @@
|
|||
<li>Below you should see a rectangle with a black border with some text inside it. No
|
||||
red should be visible at any time during this test.</li>
|
||||
<li>Click between the first pair of green and blue colored markers and type
|
||||
“<strong>foobar bazquux</strong>”
|
||||
“<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Click between the second pair of green and blue colored markers and type
|
||||
“<strong>foobar bazquux</strong>”
|
||||
“<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text you typed is displayed at the cursor position between the
|
||||
two markers and the lines of text wrap inside the black border</li>
|
||||
|
@ -73,4 +74,5 @@
|
|||
insertText("#marked-two", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: named flow content has contentEditable attribute set and children of it get
|
||||
flowed in a region dynamically</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
|
@ -42,13 +43,13 @@
|
|||
The blue rectangle should have one block of text inside it and the black rectangle
|
||||
should have two blocks of text inside it. No red should be visible at any time during
|
||||
this test.</li>
|
||||
<li>Double click on the word “editable” in the blue rectangle and type
|
||||
“foobar bazquux”.
|
||||
<li>Double click on the word “editable” in the blue rectangle and type
|
||||
“foobar bazquux”.
|
||||
<ul>
|
||||
<li>The word “editable” should be replaced with “foobar bazquux”.</li>
|
||||
<li>The word “editable” should be replaced with “foobar bazquux”.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Repeat the steps above, but for the two occurrences of the word “editable”
|
||||
<li>Repeat the steps above, but for the two occurrences of the word “editable”
|
||||
in the black rectangle. The expected results are the same as for the previous step.
|
||||
</li>
|
||||
</ol>
|
||||
|
@ -83,4 +84,5 @@
|
|||
})
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: region element has contentEditable attribute set</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -38,8 +39,8 @@
|
|||
<ol>
|
||||
<li>Below you should see a square with a black border with some text inside it. No
|
||||
red should be visible at any time during this test.</li>
|
||||
<li>Click between the green and blue colored markers and type “<strong>foobar
|
||||
bazquux</strong>”
|
||||
<li>Click between the green and blue colored markers and type “<strong>foobar
|
||||
bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text should not be editable.</li>
|
||||
</ul>
|
||||
|
@ -61,4 +62,5 @@
|
|||
insertText("#marked-two", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: region element has child with contentEditable attribute set</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -38,8 +39,8 @@
|
|||
<ol>
|
||||
<li>Below you should see a square with a black border with some text inside it. No
|
||||
red should be visible at any time during this test.</li>
|
||||
<li>Click between the green and blue colored markers and type “<strong>foobar
|
||||
bazquux</strong>”
|
||||
<li>Click between the green and blue colored markers and type “<strong>foobar
|
||||
bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text should not be editable.</li>
|
||||
</ul>
|
||||
|
@ -62,4 +63,5 @@
|
|||
insertText("#marked-two", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: auto-size region with contentEditable attribute set</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -36,8 +37,8 @@
|
|||
<ol>
|
||||
<li>Below you should see a rectangle with a black border with some text inside it. No
|
||||
red should be visible at any time during this test.</li>
|
||||
<li>Click between the green and blue colored markers and type “<strong>foobar
|
||||
bazquux</strong>”
|
||||
<li>Click between the green and blue colored markers and type “<strong>foobar
|
||||
bazquux</strong>”
|
||||
<ul>
|
||||
<li>The text should not be editable.</li>
|
||||
</ul>
|
||||
|
@ -60,4 +61,5 @@
|
|||
insertText("#marked-two", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: both named flow content and region element have contentEditable attribute set</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -39,10 +40,10 @@
|
|||
<ol>
|
||||
<li>Below you should see a square with a black border with some text inside it. No
|
||||
red should be visible at any time during this test.</li>
|
||||
<li>Double click the “<strong>editable</strong>” word between the green and
|
||||
blue colored markers and type “<strong>foobar bazquux</strong>”
|
||||
<li>Double click the “<strong>editable</strong>” word between the green and
|
||||
blue colored markers and type “<strong>foobar bazquux</strong>”
|
||||
<ul>
|
||||
<li>The word “editable” should be replaced with “foobar bazquux”.</li>
|
||||
<li>The word “editable” should be replaced with “foobar bazquux”.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ol>
|
||||
|
@ -62,4 +63,5 @@
|
|||
insertText("#marked-two", "foobar bazquux");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Regions: regions are children of an element with the contentEditable attribute set</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
|
@ -48,12 +49,12 @@
|
|||
<li>No red should be visible at any time during this test.</li>
|
||||
<li>Below you should see a rectangle with a black border.</li>
|
||||
<li>Inside the rectangle you should see a green square with a black border, between two
|
||||
“+” signs on blue background.</li>
|
||||
<li>Click and drag from one “+” to the other and copy the selection either
|
||||
“+” signs on blue background.</li>
|
||||
<li>Click and drag from one “+” to the other and copy the selection either
|
||||
via keyboard shortcut (usually <code>Ctrl+C</code> on Windows and Linux
|
||||
and <code>Cmd+C</code> on Mac OS) or menu/context menu.</li>
|
||||
<li>
|
||||
Click after the last “+” sign and paste the previously selected content
|
||||
Click after the last “+” sign and paste the previously selected content
|
||||
either via keyboard shortcut (usually <code>Ctrl+V</code> on Windows and Linux and
|
||||
<code>Cmd+V</code> on Mac OS) or menu/context menu.
|
||||
<ul>
|
||||
|
@ -77,4 +78,5 @@
|
|||
<script src="support/helpers.js"></script>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue