Made block type pattern match less inclusive

This commit is contained in:
David Raifaizen 2015-10-27 09:41:42 -04:00
parent a6e2c138db
commit 091282ee24
4 changed files with 63 additions and 2 deletions

View file

@ -1470,7 +1470,7 @@ impl<'a> PostorderNodeMutTraversal for FlowConstructor<'a> {
// flow here - instead, let it match the inline case
// below.
(display::T::block, _, position::T::absolute) |
(_, _, position::T::fixed) => {
(display::T::block, _, position::T::fixed) => {
let construction_result = self.build_flow_for_block(node, None);
self.set_flow_construction_result(node, construction_result)
}

View file

@ -2015,6 +2015,18 @@
"url": "/_mozilla/css/link_style_order.html"
}
],
"css/list_style_fixed_inside_a.html": [
{
"path": "css/list_style_fixed_inside_a.html",
"references": [
[
"/_mozilla/css/list_style_fixed_inside_ref.html",
"=="
]
],
"url": "/_mozilla/css/list_style_fixed_inside_a.html"
}
],
"css/list_style_image_sizing_a.html": [
{
"path": "css/list_style_image_sizing_a.html",
@ -6552,6 +6564,18 @@
"url": "/_mozilla/css/link_style_order.html"
}
],
"css/list_style_fixed_inside_a.html": [
{
"path": "css/list_style_fixed_inside_a.html",
"references": [
[
"/_mozilla/css/list_style_fixed_inside_ref.html",
"=="
]
],
"url": "/_mozilla/css/list_style_fixed_inside_a.html"
}
],
"css/list_style_image_sizing_a.html": [
{
"path": "css/list_style_image_sizing_a.html",

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="match" href="list_style_fixed_inside_ref.html">
<style>
li {
list-style-position: inside;
position: fixed;
}
</style>
</head>
<body>
<ul>
<li>x</li>
</ul>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
li {
list-style-position: inside;
position: absolute;
}
</style>
</head>
<body>
<ul>
<li>x</li>
</ul>
</body>
</html>