Run absolute position reftests as part of test-wpt.

This commit is contained in:
Ms2ger 2015-04-30 17:44:39 +02:00
parent c55b52b69d
commit bbd7cac371
8 changed files with 76 additions and 4 deletions

View file

@ -38,9 +38,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
== 2dcontext/lineto_a.html 2dcontext/lineto_ref.html
== 2dcontext/transform_a.html 2dcontext/transform_ref.html
== absolute_clipping_of_own_contents_a.html absolute_clipping_of_own_contents_ref.html
== absolute_content_height_a.html absolute_content_height_ref.html
== absolute_hypothetical_float_a.html absolute_hypothetical_float_ref.html
== acid1_a.html acid1_b.html
== acid2_noscroll.html acid2_ref_broken.html
== after_block_iteration.html after_block_iteration_ref.html

View file

@ -27,6 +27,42 @@
"url": "/_mozilla/css/abs_float_pref_width.html"
}
],
"css/absolute_clipping_of_own_contents.html": [
{
"path": "css/absolute_clipping_of_own_contents.html",
"references": [
[
"/_mozilla/css/absolute_clipping_of_own_contents_ref.html",
"=="
]
],
"url": "/_mozilla/css/absolute_clipping_of_own_contents.html"
}
],
"css/absolute_content_height.html": [
{
"path": "css/absolute_content_height.html",
"references": [
[
"/_mozilla/css/absolute_content_height_ref.html",
"=="
]
],
"url": "/_mozilla/css/absolute_content_height.html"
}
],
"css/absolute_hypothetical_float.html": [
{
"path": "css/absolute_hypothetical_float.html",
"references": [
[
"/_mozilla/css/absolute_hypothetical_float_ref.html",
"=="
]
],
"url": "/_mozilla/css/absolute_hypothetical_float.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -548,6 +584,42 @@
"url": "/_mozilla/css/abs_float_pref_width.html"
}
],
"css/absolute_clipping_of_own_contents.html": [
{
"path": "css/absolute_clipping_of_own_contents.html",
"references": [
[
"/_mozilla/css/absolute_clipping_of_own_contents_ref.html",
"=="
]
],
"url": "/_mozilla/css/absolute_clipping_of_own_contents.html"
}
],
"css/absolute_content_height.html": [
{
"path": "css/absolute_content_height.html",
"references": [
[
"/_mozilla/css/absolute_content_height_ref.html",
"=="
]
],
"url": "/_mozilla/css/absolute_content_height.html"
}
],
"css/absolute_hypothetical_float.html": [
{
"path": "css/absolute_hypothetical_float.html",
"references": [
[
"/_mozilla/css/absolute_hypothetical_float_ref.html",
"=="
]
],
"url": "/_mozilla/css/absolute_hypothetical_float.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -566,4 +638,4 @@
"rev": null,
"url_base": "/_mozilla/",
"version": 2
}
}

View file

@ -2,6 +2,7 @@
<html>
<head>
<!-- Tests that clipping is preserved properly for nested `position: absolute` elements. -->
<link rel=match href=absolute_clipping_of_own_contents_ref.html>
<style>
body, html {
margin: 0;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=absolute_content_height_ref.html>
<style>
section {
position: absolute;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=absolute_hypothetical_float_ref.html>
<style>
#a {
float: right;