<table><tr><td style="">zzag created this revision.<br />zzag added a reviewer: Plasma.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: kde-frameworks-devel.<br />zzag requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13218">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>FrameSVG documentation states</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>... topleft and topright will be ignored if top does not exist,<br />
 and similarly for bottomleft and bottomright ...</p></blockquote>

<p>Someone would assume that the same behaviour applies to the case<br />
when left(or right) does not exists.</p>

<p>This change makes FrameSVG to comply with such expected behaviour.</p>

<p>Before</p>

<p><%= image %></p>

<p>The bottom border doesn't exist so the bottom-right corner should not<br />
be drawn.</p>

<p>After</p>

<p><%= image %></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix-paintcorner</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13218">https://phabricator.kde.org/D13218</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/plasma/framesvg.cpp</div></div></div><br /><div><strong>To: </strong>zzag, Plasma<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>