Bug 1584890 Part 2 - Add reftests for position:fixed flex & grid root element. r=dholbert
☠☠ backed out by ec14e039b76a ☠ ☠
authorTing-Yu Lin <tlin@mozilla.com>
Wed, 20 May 2020 22:32:24 +0000
changeset 531348 1da2faea06e80d252561993b9976a7777d911bbe
parent 531347 84d138356c7699456abf8dc6483b1d49aab86771
child 531349 4376d47f325bd95a3e09e16bcb194a13f5e2e98c
push id37438
push userabutkovits@mozilla.com
push dateThu, 21 May 2020 09:36:57 +0000
treeherdermozilla-central@2d00a1a6495c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1584890
milestone78.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1584890 Part 2 - Add reftests for position:fixed flex & grid root element. r=dholbert Differential Revision: https://phabricator.services.mozilla.com/D76206
testing/web-platform/tests/css/css-position/position-fixed-root-element-flex.html
testing/web-platform/tests/css/css-position/position-fixed-root-element-grid.html
testing/web-platform/tests/css/css-position/position-fixed-root-element-ref.html
copy from testing/web-platform/tests/css/css-position/position-absolute-root-element-flex.html
copy to testing/web-platform/tests/css/css-position/position-fixed-root-element-flex.html
--- a/testing/web-platform/tests/css/css-position/position-absolute-root-element-flex.html
+++ b/testing/web-platform/tests/css/css-position/position-fixed-root-element-flex.html
@@ -1,24 +1,24 @@
 <!DOCTYPE html>
 <html>
   <meta charset="UTF-8">
-  <title>CSS Position: Box inset properties & position:absolute flex container as the root element</title>
+  <title>CSS Position: Box inset properties & position:fixed flex container as the root element</title>
   <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
   <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
   <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
   <link rel="help" href="https://drafts.csswg.org/css-position-3/#insets">
   <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1584890">
-  <link rel="match" href="position-absolute-root-element-ref.html">
-  <meta name="assert" content="This test verifies the box inset properties on a position:absolute flex container root element.">
+  <link rel="match" href="position-fixed-root-element-ref.html">
+  <meta name="assert" content="This test verifies the box inset properties on a position:fixed flex container root element.">
 
   <style>
   html {
     display: flex;
-    position: absolute;
+    position: fixed;
     left: 10px;
     right: 20px;
     top: 30px;
     bottom: 40px;
     border: 5px dashed black;
     box-sizing: border-box;
   }
   </style>
copy from testing/web-platform/tests/css/css-position/position-absolute-root-element-grid.html
copy to testing/web-platform/tests/css/css-position/position-fixed-root-element-grid.html
--- a/testing/web-platform/tests/css/css-position/position-absolute-root-element-grid.html
+++ b/testing/web-platform/tests/css/css-position/position-fixed-root-element-grid.html
@@ -1,24 +1,24 @@
 <!DOCTYPE html>
 <html>
   <meta charset="UTF-8">
-  <title>CSS Position: Box inset properties & position:absolute grid container as the root element</title>
+  <title>CSS Position: Box inset properties & position:fixed grid container as the root element</title>
   <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
   <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
   <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
   <link rel="help" href="https://drafts.csswg.org/css-position-3/#insets">
   <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1584890">
-  <link rel="match" href="position-absolute-root-element-ref.html">
-  <meta name="assert" content="This test verifies the box inset properties on a position:absolute grid container root element.">
+  <link rel="match" href="position-fixed-root-element-ref.html">
+  <meta name="assert" content="This test verifies the box inset properties on a position:fixed grid container root element.">
 
   <style>
   html {
     display: grid;
-    position: absolute;
+    position: fixed;
     left: 10px;
     right: 20px;
     top: 30px;
     bottom: 40px;
     border: 5px dashed black;
     box-sizing: border-box;
   }
   </style>
copy from testing/web-platform/tests/css/css-position/position-absolute-root-element-ref.html
copy to testing/web-platform/tests/css/css-position/position-fixed-root-element-ref.html
--- a/testing/web-platform/tests/css/css-position/position-absolute-root-element-ref.html
+++ b/testing/web-platform/tests/css/css-position/position-fixed-root-element-ref.html
@@ -1,20 +1,20 @@
 <!DOCTYPE html>
 <html>
   <meta charset="UTF-8">
-  <title>CSS Position Reference: Box inset properties & position:absolute root element</title>
+  <title>CSS Position Reference: Box inset properties & position:fixed root element</title>
   <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
   <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
   <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
 
   <style>
   html {
     display: block;
-    position: absolute;
+    position: fixed;
     left: 10px;
     right: 20px;
     top: 30px;
     bottom: 40px;
     border: 5px dashed black;
     box-sizing: border-box;
   }
   </style>