diff options
author | Sangeun Kim <sammy.kim@samsung.com> | 2013-08-29 14:02:16 +0900 |
---|---|---|
committer | Sangeun Kim <sammy.kim@samsung.com> | 2013-09-10 13:54:50 +0900 |
commit | f96a0ac8b4acd2d579b08cf45a3edac52d87d8d3 (patch) | |
tree | 163d89c1ee3ba3f27f66928de54e611ff6299c0c /src | |
parent | 160753ee2772aac9d770a099202c4bfe4fd1d58f (diff) | |
download | servo-f96a0ac8b4acd2d579b08cf45a3edac52d87d8d3.tar.gz servo-f96a0ac8b4acd2d579b08cf45a3edac52d87d8d3.zip |
Add more test codes for border-style. And remove a file for same test
Diffstat (limited to 'src')
-rw-r--r-- | src/test/html/test-border.css | 4 | ||||
-rw-r--r-- | src/test/html/test-border.html | 11 | ||||
-rw-r--r-- | src/test/html/test_asymmetric_border_color.html | 15 | ||||
-rwxr-xr-x | src/test/html/test_border.html | 41 |
4 files changed, 41 insertions, 30 deletions
diff --git a/src/test/html/test-border.css b/src/test/html/test-border.css deleted file mode 100644 index e797cdfa2d0..00000000000 --- a/src/test/html/test-border.css +++ /dev/null @@ -1,4 +0,0 @@ -img { - border-width: 10px; - border-color: blue -}
\ No newline at end of file diff --git a/src/test/html/test-border.html b/src/test/html/test-border.html deleted file mode 100644 index 56e448e58c1..00000000000 --- a/src/test/html/test-border.html +++ /dev/null @@ -1,11 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <link rel="stylesheet" href="test-border.css" /> -</head> -<body> - <img src="test.jpeg"></img> -</body> -</html> - - diff --git a/src/test/html/test_asymmetric_border_color.html b/src/test/html/test_asymmetric_border_color.html deleted file mode 100644 index 1ab1b8ea4ce..00000000000 --- a/src/test/html/test_asymmetric_border_color.html +++ /dev/null @@ -1,15 +0,0 @@ -<HTML> - <HEAD> - <TITLE>Examples of margins, padding, and borders</TITLE> - <STYLE type="text/css"> - LI.withborder { - border-style: dashed; - border-width: 10px; - border-color: yellow black red green; - } - </STYLE> - </HEAD> - <BODY> - <LI class="withborder">Second element of list is a bit longer to illustrate wrapping. -</BODY> -</HTML> diff --git a/src/test/html/test_border.html b/src/test/html/test_border.html new file mode 100755 index 00000000000..db8bc8beecd --- /dev/null +++ b/src/test/html/test_border.html @@ -0,0 +1,41 @@ +<html> +<head> +<style> +#none{ + border-style: none; + border-width: 10px; + border-color: green red yellow black; +} +#hidden{ + border-style: hidden; + border-width: 10px; + border-color: green red yellow black; +} +#solid{ + border-style: solid; + border-width: 10px; + border-color: yellow green red black; +} +#dashed{ + border-style: dashed; + border-width: 10px; + border-color: green yellow black red; +} +#dotted{ + border-style: dotted; + border-width: 10px; + border-color: green red yellow black; +} +</style> +</head> +<body> +<div id="none"> none test.</div> +<div id="hidden"> hidden test.</div> +<!-- It doesn't work well yet. --> +<div id="solid"> solid test</div> +<!-- It shows almost same result with firefox. --> +<div id="dashed"> dashed test</div> +<!-- It doesn't show anything yet. --> +<div id="dotted"> dotted test. (dotted isn't supported yet)</div> +</body> +</HTML> |