Changeset 58247 in webkit


Ignore:
Timestamp:
Apr 26, 2010 4:36:46 AM (14 years ago)
Author:
pfeldman@chromium.org
Message:

2010-04-26 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Render clip in summary bar using "arc", not "quadraticCurveTo".

https://bugs.webkit.org/show_bug.cgi?id=38107

  • inspector/front-end/SummaryBar.js: (WebInspector.SummaryBar.prototype._drawSummaryGraph.drawPill): (WebInspector.SummaryBar.prototype._drawSummaryGraph):
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r58246 r58247  
     12010-04-26  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Yury Semikhatsky.
     4
     5        Web Inspector: Render clip in summary bar using "arc", not "quadraticCurveTo".
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=38107
     8
     9        * inspector/front-end/SummaryBar.js:
     10        (WebInspector.SummaryBar.prototype._drawSummaryGraph.drawPill):
     11        (WebInspector.SummaryBar.prototype._drawSummaryGraph):
     12
    1132010-04-26  Andreas Kling  <andreas.kling@nokia.com>
    214
  • trunk/WebCore/inspector/front-end/SummaryBar.js

    r50095 r58247  
    231231            ctx.moveTo(x, y + r);
    232232            ctx.lineTo(x, y + h - r);
    233             ctx.quadraticCurveTo(x, y + h, x + r, y + h);
     233            ctx.arc(x + r, y + h - r, r, Math.PI, Math.PI / 2, true);
    234234            ctx.lineTo(x + w - r, y + h);
    235             ctx.quadraticCurveTo(x + w, y + h, x + w, y + h - r);
     235            ctx.arc(x + w - r, y + h - r, r, Math.PI / 2, 0, true);
    236236            ctx.lineTo(x + w, y + r);
    237             ctx.quadraticCurveTo(x + w, y, x + w - r, y);
     237            ctx.arc(x + w - r, y + r, r, 0, 3 * Math.PI / 2, true);
    238238            ctx.lineTo(x + r, y);
    239             ctx.quadraticCurveTo(x, y, x, y + r);
     239            ctx.arc(x + r, y + r, r, Math.PI / 2, Math.PI, true);
    240240            ctx.closePath();
    241241
  • trunk/WebKit/chromium/src/js/devTools.css

    r54738 r58247  
    3838body.detached.platform-mac-snowleopard.inactive #toolbar {
    3939    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(215, 215, 215)), to(rgb(207, 207, 207))) !important;
     40}
     41
     42body.platform-linux #scripts-files {
     43    font-size: 11px;
     44    font-weight: normal;
     45    line-height: 12px;
    4046}
    4147
Note: See TracChangeset for help on using the changeset viewer.