Adding css parsing regression tests.
git-svn-id: svn://10.0.0.236/trunk@148855 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
7
mozilla/layout/html/tests/style/bugs/bug224188.html
Normal file
7
mozilla/layout/html/tests/style/bugs/bug224188.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
<title>Bug</title>
|
||||
<style type="text/css">
|
||||
html* { color: red; }
|
||||
* { color: green; }
|
||||
</style>
|
||||
<p>This line should be green.</p>
|
||||
38
mozilla/layout/html/tests/style/bugs/bug224737.html
Normal file
38
mozilla/layout/html/tests/style/bugs/bug224737.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head><base href="http://browse.deviantart.com/">
|
||||
<title>deviantART: Browse deviantART</title>
|
||||
|
||||
<style>
|
||||
html>body div.thumbnails {
|
||||
display:table;
|
||||
width:100%;
|
||||
border:3px dashed blue;
|
||||
}
|
||||
|
||||
div.thumbnails div.row {
|
||||
display:table-row
|
||||
}
|
||||
|
||||
div.thumbnails div.row a.thumbnail {
|
||||
display:table-cell;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="thumbnails">
|
||||
<div class="row">
|
||||
<a class="thumbnail"><img src="http://www.mozilla.org/images/hack.gif"></a>
|
||||
<a class="thumbnail"><img src="http://www.mozilla.org/images/hack.gif"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
2
mozilla/layout/html/tests/style/bugs/file_list.txt
Normal file
2
mozilla/layout/html/tests/style/bugs/file_list.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
file:///s|/mozilla/layout/html/tests/style/bugs/bug224188.html
|
||||
file:///s|/mozilla/layout/html/tests/style/bugs/bug224737.html
|
||||
Reference in New Issue
Block a user