Title: [175488] trunk/Tools
Revision
175488
Author
[email protected]
Date
2014-11-03 13:19:15 -0800 (Mon, 03 Nov 2014)

Log Message

REGRESSION (Subpixel layout): Bubbles don't fit in Bugzilla review page
https://bugs.webkit.org/show_bug.cgi?id=138323

Reviewed by Zalan Bujtas.

* QueueStatusServer/templates/statusbubble.html: Round the sizes up, not down.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (175487 => 175488)


--- trunk/Tools/ChangeLog	2014-11-03 20:48:23 UTC (rev 175487)
+++ trunk/Tools/ChangeLog	2014-11-03 21:19:15 UTC (rev 175488)
@@ -1,3 +1,12 @@
+2014-11-03  Alexey Proskuryakov  <[email protected]>
+
+        REGRESSION (Subpixel layout): Bubbles don't fit in Bugzilla review page
+        https://bugs.webkit.org/show_bug.cgi?id=138323
+
+        Reviewed by Zalan Bujtas.
+
+        * QueueStatusServer/templates/statusbubble.html: Round the sizes up, not down.
+
 2014-11-03  Eva Balazsfalvi  <[email protected]>
 
         [ninja] Don't remove response files for verbose builds

Modified: trunk/Tools/QueueStatusServer/app.yaml (175487 => 175488)


--- trunk/Tools/QueueStatusServer/app.yaml	2014-11-03 20:48:23 UTC (rev 175487)
+++ trunk/Tools/QueueStatusServer/app.yaml	2014-11-03 21:19:15 UTC (rev 175488)
@@ -1,5 +1,5 @@
 application: webkit-queues
-version: 174622 # SVN revision of last major change
+version: 175488 # SVN revision of last major change
 runtime: python
 api_version: 1
 

Modified: trunk/Tools/QueueStatusServer/templates/statusbubble.html (175487 => 175488)


--- trunk/Tools/QueueStatusServer/templates/statusbubble.html	2014-11-03 20:48:23 UTC (rev 175487)
+++ trunk/Tools/QueueStatusServer/templates/statusbubble.html	2014-11-03 21:19:15 UTC (rev 175488)
@@ -53,9 +53,9 @@
 </style>
 <script>
 window.addEventListener("message", function(e) {
-  if (e.data == 'containerMetrics') {
-    e.source.postMessage({'width': bubbleContainer.offsetWidth, 'height': bubbleContainer.offsetHeight},
-        e.origin);
+  if (e.data ="" 'containerMetrics') {
+    var clientRect = bubbleContainer.getBoundingClientRect();
+    e.source.postMessage({'width': Math.ceil(clientRect.width), 'height': Math.ceil(clientRect.height)}, e.origin);
   } else
     console.log("Unknown postMessage: " + e.data);
 }, false);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to