<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[55407] trunk/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/55407">55407</a></dd>
<dt>Author</dt> <dd>pfeldman@chromium.org</dd>
<dt>Date</dt> <dd>2010-03-02 06:37:33 -0800 (Tue, 02 Mar 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>2010-03-02  Pavel Feldman  &lt;pfeldman@chromium.org&gt;

        Reviewed by Timothy Hatcher.

        Web Inspector: render breakpoints as border images instead of canvas.

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

        * inspector/front-end/Images/breakpointBorder.png: Added.
        * inspector/front-end/Images/breakpointConditionalBorder.png: Added.
        * inspector/front-end/Images/breakpointConditionalCounterBorder.png: Added.
        * inspector/front-end/Images/breakpointCounterBorder.png: Added.
        * inspector/front-end/Images/programCounterBorder.png: Added.
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._updateExecutionLine):
        (WebInspector.SourceFrame.prototype._addBreakpointToSource):
        (WebInspector.SourceFrame.prototype.resize):
        * inspector/front-end/TextViewer.js:
        (WebInspector.TextChunk):
        * inspector/front-end/textViewer.css:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkWebCoreChangeLog">trunk/WebCore/ChangeLog</a></li>
<li><a href="#trunkWebCoreinspectorfrontendSourceFramejs">trunk/WebCore/inspector/front-end/SourceFrame.js</a></li>
<li><a href="#trunkWebCoreinspectorfrontendTextViewerjs">trunk/WebCore/inspector/front-end/TextViewer.js</a></li>
<li><a href="#trunkWebCoreinspectorfrontendtextViewercss">trunk/WebCore/inspector/front-end/textViewer.css</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkWebCoreinspectorfrontendImagesbreakpointBorderpng">trunk/WebCore/inspector/front-end/Images/breakpointBorder.png</a></li>
<li><a href="#trunkWebCoreinspectorfrontendImagesbreakpointConditionalBorderpng">trunk/WebCore/inspector/front-end/Images/breakpointConditionalBorder.png</a></li>
<li><a href="#trunkWebCoreinspectorfrontendImagesbreakpointConditionalCounterBorderpng">trunk/WebCore/inspector/front-end/Images/breakpointConditionalCounterBorder.png</a></li>
<li><a href="#trunkWebCoreinspectorfrontendImagesbreakpointCounterBorderpng">trunk/WebCore/inspector/front-end/Images/breakpointCounterBorder.png</a></li>
<li><a href="#trunkWebCoreinspectorfrontendImagesprogramCounterBorderpng">trunk/WebCore/inspector/front-end/Images/programCounterBorder.png</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/ChangeLog (55406 => 55407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/ChangeLog        2010-03-02 10:16:24 UTC (rev 55406)
+++ trunk/WebCore/ChangeLog        2010-03-02 14:37:33 UTC (rev 55407)
</span><span class="lines">@@ -1,3 +1,24 @@
</span><ins>+2010-03-02  Pavel Feldman  &lt;pfeldman@chromium.org&gt;
+
+        Reviewed by Timothy Hatcher.
+
+        Web Inspector: render breakpoints as border images instead of canvas.
+
+        https://bugs.webkit.org/show_bug.cgi?id=35535
+
+        * inspector/front-end/Images/breakpointBorder.png: Added.
+        * inspector/front-end/Images/breakpointConditionalBorder.png: Added.
+        * inspector/front-end/Images/breakpointConditionalCounterBorder.png: Added.
+        * inspector/front-end/Images/breakpointCounterBorder.png: Added.
+        * inspector/front-end/Images/programCounterBorder.png: Added.
+        * inspector/front-end/SourceFrame.js:
+        (WebInspector.SourceFrame.prototype._updateExecutionLine):
+        (WebInspector.SourceFrame.prototype._addBreakpointToSource):
+        (WebInspector.SourceFrame.prototype.resize):
+        * inspector/front-end/TextViewer.js:
+        (WebInspector.TextChunk):
+        * inspector/front-end/textViewer.css:
+
</ins><span class="cx"> 2010-01-28  Holger Hans Peter Freyther  &lt;zecke@selfish.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Reviewed by Ariya Hidayat.
</span></span></pre></div>
<a id="trunkWebCoreinspectorfrontendImagesbreakpointBorderpng"></a>
<div class="binary"><h4>Added: trunk/WebCore/inspector/front-end/Images/breakpointBorder.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/WebCore/inspector/front-end/Images/breakpointBorder.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkWebCoreinspectorfrontendImagesbreakpointConditionalBorderpng"></a>
<div class="binary"><h4>Added: trunk/WebCore/inspector/front-end/Images/breakpointConditionalBorder.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/WebCore/inspector/front-end/Images/breakpointConditionalBorder.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkWebCoreinspectorfrontendImagesbreakpointConditionalCounterBorderpng"></a>
<div class="binary"><h4>Added: trunk/WebCore/inspector/front-end/Images/breakpointConditionalCounterBorder.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/WebCore/inspector/front-end/Images/breakpointConditionalCounterBorder.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkWebCoreinspectorfrontendImagesbreakpointCounterBorderpng"></a>
<div class="binary"><h4>Added: trunk/WebCore/inspector/front-end/Images/breakpointCounterBorder.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/WebCore/inspector/front-end/Images/breakpointCounterBorder.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkWebCoreinspectorfrontendImagesprogramCounterBorderpng"></a>
<div class="binary"><h4>Added: trunk/WebCore/inspector/front-end/Images/programCounterBorder.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/WebCore/inspector/front-end/Images/programCounterBorder.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkWebCoreinspectorfrontendSourceFramejs"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/inspector/front-end/SourceFrame.js (55406 => 55407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/inspector/front-end/SourceFrame.js        2010-03-02 10:16:24 UTC (rev 55406)
+++ trunk/WebCore/inspector/front-end/SourceFrame.js        2010-03-02 14:37:33 UTC (rev 55407)
</span><span class="lines">@@ -288,8 +288,6 @@
</span><span class="cx">         if (!this._executionLine)
</span><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        this._drawProgramCounterImageIfNeeded();
-
</del><span class="cx">         if (this._executionLine &lt; this._textModel.linesCount)
</span><span class="cx">             this._textViewer.addDecoration(this._executionLine - 1, &quot;webkit-execution-line&quot;);
</span><span class="cx">     },
</span><span class="lines">@@ -369,7 +367,6 @@
</span><span class="cx"> 
</span><span class="cx">         this._textModel.setAttribute(lineNumber, &quot;breakpoint&quot;, breakpoint);
</span><span class="cx">         breakpoint.sourceText = this._textModel.line(breakpoint.line - 1);
</span><del>-        this._drawBreakpointImagesIfNeeded();
</del><span class="cx"> 
</span><span class="cx">         this._textViewer.beginUpdates();
</span><span class="cx">         this._textViewer.addDecoration(lineNumber, &quot;webkit-breakpoint&quot;);
</span><span class="lines">@@ -393,9 +390,10 @@
</span><span class="cx"> 
</span><span class="cx">     _contextMenu: function(event)
</span><span class="cx">     {
</span><del>-        if (event.target.className !== &quot;webkit-line-number&quot;)
</del><ins>+        var target = event.target.enclosingNodeOrSelfWithClass(&quot;webkit-line-number&quot;);
+        if (!target)
</ins><span class="cx">             return;
</span><del>-        var row = event.target.parentElement;
</del><ins>+        var row = target.parentElement;
</ins><span class="cx"> 
</span><span class="cx">         var lineNumber = row.lineNumber;
</span><span class="cx">         var contextMenu = new WebInspector.ContextMenu();
</span><span class="lines">@@ -437,9 +435,10 @@
</span><span class="cx">         this._hidePopup();
</span><span class="cx">         if (event.button != 0 || event.altKey || event.ctrlKey || event.metaKey)
</span><span class="cx">             return;
</span><del>-        if (event.target.className !== &quot;webkit-line-number&quot;)
</del><ins>+        var target = event.target.enclosingNodeOrSelfWithClass(&quot;webkit-line-number&quot;);
+        if (!target)
</ins><span class="cx">             return;
</span><del>-        var row = event.target.parentElement;
</del><ins>+        var row = target.parentElement;
</ins><span class="cx"> 
</span><span class="cx">         var lineNumber = row.lineNumber;
</span><span class="cx"> 
</span><span class="lines">@@ -695,134 +694,6 @@
</span><span class="cx">     {
</span><span class="cx">         if (this._textViewer)
</span><span class="cx">             this._textViewer.resize();
</span><del>-    },
-
-    _drawProgramCounterInContext: function(ctx, glow)
-    {
-        if (glow)
-            ctx.save();
-
-        ctx.beginPath();
-        ctx.moveTo(17, 2);
-        ctx.lineTo(19, 2);
-        ctx.lineTo(19, 0);
-        ctx.lineTo(21, 0);
-        ctx.lineTo(26, 5.5);
-        ctx.lineTo(21, 11);
-        ctx.lineTo(19, 11);
-        ctx.lineTo(19, 9);
-        ctx.lineTo(17, 9);
-        ctx.closePath();
-        ctx.fillStyle = &quot;rgb(142, 5, 4)&quot;;
-
-        if (glow) {
-            ctx.shadowBlur = 4;
-            ctx.shadowColor = &quot;rgb(255, 255, 255)&quot;;
-            ctx.shadowOffsetX = -1;
-            ctx.shadowOffsetY = 0;
-        }
-
-        ctx.fill();
-        ctx.fill(); // Fill twice to get a good shadow and darker anti-aliased pixels.
-
-        if (glow)
-            ctx.restore();
-    },
-
-    _drawProgramCounterImageIfNeeded: function()
-    {
-        if (!this._needsProgramCounterImage)
-            return;
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;program-counter&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        this._drawProgramCounterInContext(ctx, true);
-
-        delete this._needsProgramCounterImage;
-    },
-
-    _drawBreakpointImagesIfNeeded: function(conditional)
-    {
-        if (!this._needsBreakpointImages)
-            return;
-
-        function drawBreakpoint(ctx, disabled, conditional)
-        {
-            ctx.beginPath();
-            ctx.moveTo(0, 2);
-            ctx.lineTo(2, 0);
-            ctx.lineTo(21, 0);
-            ctx.lineTo(26, 5.5);
-            ctx.lineTo(21, 11);
-            ctx.lineTo(2, 11);
-            ctx.lineTo(0, 9);
-            ctx.closePath();
-            ctx.fillStyle = conditional ? &quot;rgb(217, 142, 1)&quot; : &quot;rgb(1, 142, 217)&quot;;
-            ctx.strokeStyle = conditional ? &quot;rgb(205, 103, 0)&quot; : &quot;rgb(0, 103, 205)&quot;;
-            ctx.lineWidth = 3;
-            ctx.fill();
-            ctx.save();
-            ctx.clip();
-            ctx.stroke();
-            ctx.restore();
-
-            if (!disabled)
-                return;
-
-            ctx.save();
-            ctx.globalCompositeOperation = &quot;destination-out&quot;;
-            ctx.fillStyle = &quot;rgba(0, 0, 0, 0.5)&quot;;
-            ctx.fillRect(0, 0, 26, 11);
-            ctx.restore();
-        }
-
-
-        // Unconditional breakpoints.
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;breakpoint&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        drawBreakpoint(ctx);
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;breakpoint-program-counter&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        drawBreakpoint(ctx);
-        ctx.clearRect(20, 0, 6, 11);
-        this._drawProgramCounterInContext(ctx, true);
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;breakpoint-disabled&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        drawBreakpoint(ctx, true);
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;breakpoint-disabled-program-counter&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        drawBreakpoint(ctx, true);
-        ctx.clearRect(20, 0, 6, 11);
-        this._drawProgramCounterInContext(ctx, true);
-
-
-        // Conditional breakpoints.
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;breakpoint-conditional&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        drawBreakpoint(ctx, false, true);
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;breakpoint-conditional-program-counter&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        drawBreakpoint(ctx, false, true);
-        ctx.clearRect(20, 0, 6, 11);
-        this._drawProgramCounterInContext(ctx, true);
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;breakpoint-disabled-conditional&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        drawBreakpoint(ctx, true, true);
-
-        var ctx = document.getCSSCanvasContext(&quot;2d&quot;, &quot;breakpoint-disabled-conditional-program-counter&quot;, 26, 11);
-        ctx.clearRect(0, 0, 26, 11);
-        drawBreakpoint(ctx, true, true);
-        ctx.clearRect(20, 0, 6, 11);
-        this._drawProgramCounterInContext(ctx, true);
-
-        delete this._needsBreakpointImages;
</del><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkWebCoreinspectorfrontendTextViewerjs"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/inspector/front-end/TextViewer.js (55406 => 55407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/inspector/front-end/TextViewer.js        2010-03-02 10:16:24 UTC (rev 55406)
+++ trunk/WebCore/inspector/front-end/TextViewer.js        2010-03-02 14:37:33 UTC (rev 55407)
</span><span class="lines">@@ -609,7 +609,18 @@
</span><span class="cx">         lineNumbers.push(i + 1);
</span><span class="cx">         lines.push(this._textModel.line(i));
</span><span class="cx">     }
</span><del>-    this._lineNumberElement.textContent = lineNumbers.join(&quot;\n&quot;);
</del><ins>+    if (this.linesCount === 1) {
+        // Single line chunks are typically created for decorations. Host line number in
+        // the sub-element in order to allow flexible border / margin management.
+        var innerSpan = document.createElement(&quot;span&quot;);
+        innerSpan.className = &quot;webkit-line-number-inner&quot;;
+        innerSpan.textContent = startLine + 1;
+        var outerSpan = document.createElement(&quot;div&quot;);
+        outerSpan.className = &quot;webkit-line-number-outer&quot;;
+        outerSpan.appendChild(innerSpan);
+        this._lineNumberElement.appendChild(outerSpan);
+    } else
+        this._lineNumberElement.textContent = lineNumbers.join(&quot;\n&quot;);
</ins><span class="cx">     this._lineContentElement.textContent = lines.join(&quot;\n&quot;);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkWebCoreinspectorfrontendtextViewercss"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/inspector/front-end/textViewer.css (55406 => 55407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/inspector/front-end/textViewer.css        2010-03-02 10:16:24 UTC (rev 55406)
+++ trunk/WebCore/inspector/front-end/textViewer.css        2010-03-02 14:37:33 UTC (rev 55407)
</span><span class="lines">@@ -60,76 +60,83 @@
</span><span class="cx"> 
</span><span class="cx"> .webkit-line-number {
</span><span class="cx">     color: rgb(128, 128, 128);
</span><ins>+    background-color: rgb(240, 240, 240);
+    border-right: 1px solid rgb(187, 187, 187);
</ins><span class="cx">     text-align: right;
</span><span class="cx">     word-break: normal;
</span><span class="cx">     -webkit-user-select: none;
</span><del>-    background-color: rgb(240, 240, 240);
-    border-right: 1px solid rgb(187, 187, 187) !important;
-    padding-left: 2px;
-    padding-right: 2px;
-    background-repeat: no-repeat;
-    background-position: right 1px;
</del><ins>+        padding-right: 4px;
+        padding-left: 6px;
+}
+
+.webkit-line-number-outer {
+    margin-right: -4px;
+    margin-left: -4px;
+    border-color: transparent;
+    border-style: solid;
+    border-width: 0 0 0px 2px;
</ins><span class="cx">     vertical-align: top;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.webkit-line-number-inner {
+    margin-right: 4px;
+}
+
+.webkit-breakpoint .webkit-line-number-inner, .webkit-breakpoint-conditional .webkit-line-number-inner, .webkit-execution-line .webkit-line-number-inner {
+    margin-right: -10px;
+}
+
</ins><span class="cx"> .webkit-line-content {
</span><ins>+    width: 100%;
</ins><span class="cx">     padding-left: 2px;
</span><span class="cx">     vertical-align: top;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.webkit-execution-line .webkit-line-number {
-    color: transparent;
-    background-image: -webkit-canvas(program-counter);
-}
-
-.webkit-breakpoint .webkit-line-number {
</del><ins>+.webkit-breakpoint .webkit-line-number-outer {
</ins><span class="cx">     color: white;
</span><del>-    background-image: -webkit-canvas(breakpoint);
</del><ins>+    border-width: 0 14px 0px 2px;
+    -webkit-border-image: url(Images/breakpointBorder.png) 0 14 0 2;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.webkit-breakpoint-disabled .webkit-line-number {
</del><ins>+.webkit-breakpoint-conditional .webkit-line-number-outer {
</ins><span class="cx">     color: white;
</span><del>-    background-image: -webkit-canvas(breakpoint-disabled);
</del><ins>+    border-width: 0 14px 0px 2px;
+    -webkit-border-image: url(Images/breakpointConditionalBorder.png) 0 14 0 2;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.webkit-breakpoint.webkit-execution-line .webkit-line-number {
</del><ins>+.webkit-execution-line .webkit-line-number-outer {
</ins><span class="cx">     color: transparent;
</span><del>-    background-image: -webkit-canvas(breakpoint-program-counter);
</del><ins>+    border-width: 0 14px 0px 2px;
+    -webkit-border-image: url(Images/programCounterBorder.png) 0 14 0 2;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.webkit-breakpoint-disabled.webkit-execution-line .webkit-line-number {
-    color: transparent;
-    background-image: -webkit-canvas(breakpoint-disabled-program-counter);
-}
-
-.webkit-breakpoint.webkit-breakpoint-conditional .webkit-line-number {
</del><ins>+.webkit-breakpoint.webkit-execution-line .webkit-line-number-outer {
</ins><span class="cx">     color: white;
</span><del>-    background-image: -webkit-canvas(breakpoint-conditional);
</del><ins>+    -webkit-border-image: url(Images/breakpointCounterBorder.png) 0 14 0 2;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.webkit-breakpoint-disabled.webkit-breakpoint-conditional .webkit-line-number {
-    color: white;
-    background-image: -webkit-canvas(breakpoint-disabled-conditional);
-}
-
-.webkit-breakpoint.webkit-breakpoint-conditional.webkit-execution-line .webkit-line-number {
</del><ins>+.webkit-breakpoint.webkit-execution-line .webkit-line-number-outer {
</ins><span class="cx">     color: transparent;
</span><del>-    background-image: -webkit-canvas(breakpoint-conditional-program-counter);
</del><ins>+    -webkit-border-image: url(Images/breakpointCounterBorder.png) 0 14 0 2;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.webkit-breakpoint-disabled.webkit-breakpoint-conditional.webkit-execution-line .webkit-line-number {
</del><ins>+.webkit-breakpoint-conditional.webkit-execution-line .webkit-line-number-outer {
</ins><span class="cx">     color: transparent;
</span><del>-    background-image: -webkit-canvas(breakpoint-disabled-conditional-program-counter);
</del><ins>+    -webkit-border-image: url(Images/breakpointConditionalCounterBorder.png) 0 14 0 2;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.breakpoints-deactivated .webkit-breakpoint .webkit-line-number {
</del><ins>+.webkit-breakpoint-disabled .webkit-line-number-outer {
</ins><span class="cx">     opacity: 0.5;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.breakpoints-deactivated .webkit-breakpoint-disabled .webkit-line-number {
</del><ins>+.breakpoints-deactivated .webkit-breakpoint .webkit-line-number-outer {
</ins><span class="cx">     opacity: 0.5;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.breakpoints-deactivated .webkit-breakpoint-disabled .webkit-line-number-outer {
+    opacity: 0.3;
+}
+
</ins><span class="cx"> .webkit-execution-line .webkit-line-content {
</span><span class="cx">     background-color: rgb(171, 191, 254);
</span><span class="cx">     outline: 1px solid rgb(64, 115, 244);
</span></span></pre>
</div>
</div>

</body>
</html>