Index: LayoutTests/fast/css/media-query-basing-rem-unit-expected.txt |
diff --git a/LayoutTests/fast/css/media-query-basing-rem-unit-expected.txt b/LayoutTests/fast/css/media-query-basing-rem-unit-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ab028ac98c814593b6bb5a24c6359893fab3e18a |
--- /dev/null |
+++ b/LayoutTests/fast/css/media-query-basing-rem-unit-expected.txt |
@@ -0,0 +1,13 @@ |
+Test for issue 258200:CSS Media Queries are basing "rem" unit on style data. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS window.getComputedStyle(document.body).backgroundColor is "rgb(0, 128, 0)" |
+PASS window.getComputedStyle(document.body).backgroundColor is "rgb(0, 128, 0)" |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+Resize the window to be larger than #1, but smaller than #2. If the screen turns red, the browser is basing 'rem' units in MQs on style data, which is a spec violation. (It should be equal to the initial font size, same as the 'em' unit, to avoid circularity issues.) |
+#1: 50rem (based on style data) |
+#2: 50 * 16px (assumed to be the initial font size) |