Title: [273902] trunk/LayoutTests
Revision
273902
Author
s...@apple.com
Date
2021-03-04 10:28:40 -0800 (Thu, 04 Mar 2021)

Log Message

Followup (r273764): Use different container sizes in background-svg-image-loading.html
https://bugs.webkit.org/show_bug.cgi?id=222679

Reviewed by Antti Koivisto.

This will force different SVGImageForContainers in SVGImageCache one for
each SVGImage client (<div> element in this test).

* fast/css/background-svg-image-loading-expected.html:
* fast/css/background-svg-image-loading.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (273901 => 273902)


--- trunk/LayoutTests/ChangeLog	2021-03-04 18:26:22 UTC (rev 273901)
+++ trunk/LayoutTests/ChangeLog	2021-03-04 18:28:40 UTC (rev 273902)
@@ -1,3 +1,16 @@
+2021-03-04  Said Abou-Hallawa  <s...@apple.com>
+
+        Followup (r273764): Use different container sizes in background-svg-image-loading.html
+        https://bugs.webkit.org/show_bug.cgi?id=222679
+
+        Reviewed by Antti Koivisto.
+
+        This will force different SVGImageForContainers in SVGImageCache one for
+        each SVGImage client (<div> element in this test).
+
+        * fast/css/background-svg-image-loading-expected.html:
+        * fast/css/background-svg-image-loading.html:
+
 2021-03-04  Keith Miller  <keith_mil...@apple.com>
 
         window proxy of detached iframe doesn't respect updates to global values

Modified: trunk/LayoutTests/fast/css/background-svg-image-loading-expected.html (273901 => 273902)


--- trunk/LayoutTests/fast/css/background-svg-image-loading-expected.html	2021-03-04 18:26:22 UTC (rev 273901)
+++ trunk/LayoutTests/fast/css/background-svg-image-loading-expected.html	2021-03-04 18:28:40 UTC (rev 273902)
@@ -1,18 +1,26 @@
 <style>
     .container {
+        zoom: 50%;
         width: 900px;
     }
     .line {
         background-color: green;
-        background-size: 24px;
+        font-size: 32px;
+        padding-left: 5px;
     }
 </style>
 <body>
-    <p>PASS when all the lines below have visible background images.<p>
+    <p>PASS when all the lines below have visible green background.<p>
     <div class="container">
-        <div class="line">should have a visible background image</div>
-        <div class="line">should have a visible background image</div>
-        <div class="line">should have a visible background image</div>
-        <div class="line">should have a visible background image</div>
+        <div class="line" style="background-size: 24px;">This line should have a visible green background.</div>
     </div>
+    <div class="container">
+        <div class="line" style="background-size: 48px;">This line should have a visible green background.</div>
+    </div>
+    <div class="container">
+        <div class="line" style="background-size: 72px;">This line should have a visible green background.</div>
+    </div>
+    <div class="container">
+        <div class="line" style="background-size: 96px;">This line should have a visible green background.</div>
+    </div>
 <body>

Modified: trunk/LayoutTests/fast/css/background-svg-image-loading.html (273901 => 273902)


--- trunk/LayoutTests/fast/css/background-svg-image-loading.html	2021-03-04 18:26:22 UTC (rev 273901)
+++ trunk/LayoutTests/fast/css/background-svg-image-loading.html	2021-03-04 18:28:40 UTC (rev 273902)
@@ -1,5 +1,6 @@
 <style>
     .container {
+        zoom: 50%;
         width: 900px;
     }
     .line {
@@ -7,15 +8,22 @@
             <svg xmlns="http://www.w3.org/2000/svg" height="24" width="24">\
                 <rect width="100%" height="100%" fill="green"/>\
             </svg>');
-        background-size: 24px;
+        font-size: 32px;
+        padding-left: 5px;
     }
 </style>
 <body>
-    <p>PASS when all the lines below have visible background images.<p>
+    <p>PASS when all the lines below have visible green background.<p>
     <div class="container">
-        <div class="line">should have a visible background image</div>
-        <div class="line">should have a visible background image</div>
-        <div class="line">should have a visible background image</div>
-        <div class="line">should have a visible background image</div>
+        <div class="line" style="background-size: 24px;">This line should have a visible green background.</div>
     </div>
+    <div class="container">
+        <div class="line" style="background-size: 48px;">This line should have a visible green background.</div>
+    </div>
+    <div class="container">
+        <div class="line" style="background-size: 72px;">This line should have a visible green background.</div>
+    </div>
+    <div class="container">
+        <div class="line" style="background-size: 96px;">This line should have a visible green background.</div>
+    </div>
 <body>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to