mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Made block type pattern match less inclusive
This commit is contained in:
parent
a6e2c138db
commit
091282ee24
4 changed files with 63 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
19
tests/wpt/mozilla/tests/css/list_style_fixed_inside_a.html
Normal file
19
tests/wpt/mozilla/tests/css/list_style_fixed_inside_a.html
Normal 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>
|
18
tests/wpt/mozilla/tests/css/list_style_fixed_inside_ref.html
Normal file
18
tests/wpt/mozilla/tests/css/list_style_fixed_inside_ref.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue