Changeset 175488 in webkit


Ignore:
Timestamp:
Nov 3, 2014, 1:19:15 PM (11 years ago)
Author:
ap@apple.com
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.
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r175469 r175488  
     12014-11-03  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION (Subpixel layout): Bubbles don't fit in Bugzilla review page
     4        https://bugs.webkit.org/show_bug.cgi?id=138323
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        * QueueStatusServer/templates/statusbubble.html: Round the sizes up, not down.
     9
    1102014-11-03  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
    211
  • trunk/Tools/QueueStatusServer/app.yaml

    r174622 r175488  
    11application: webkit-queues
    2 version: 174622 # SVN revision of last major change
     2version: 175488 # SVN revision of last major change
    33runtime: python
    44api_version: 1
  • trunk/Tools/QueueStatusServer/templates/statusbubble.html

    r174115 r175488  
    5454<script>
    5555window.addEventListener("message", function(e) {
    56   if (e.data == 'containerMetrics') {
    57     e.source.postMessage({'width': bubbleContainer.offsetWidth, 'height': bubbleContainer.offsetHeight},
    58         e.origin);
     56  if (e.data === 'containerMetrics') {
     57    var clientRect = bubbleContainer.getBoundingClientRect();
     58    e.source.postMessage({'width': Math.ceil(clientRect.width), 'height': Math.ceil(clientRect.height)}, e.origin);
    5959  } else
    6060    console.log("Unknown postMessage: " + e.data);
Note: See TracChangeset for help on using the changeset viewer.