<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[23927] trunk/WebKitSite</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/23927">23927</a></dd>
<dt>Author</dt> <dd>bdash</dd>
<dt>Date</dt> <dd>2007-07-02 07:08:31 -0700 (Mon, 02 Jul 2007)</dd>
</dl>
<h3>Log Message</h3>
<pre>2007-07-02 Mitz Pettel <mitz@webkit.org>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=14482
Add information about the NeedsReduction and HasReduction keywords to quality/reduction.html
* quality/reduction.html:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkWebKitSiteChangeLog">trunk/WebKitSite/ChangeLog</a></li>
<li><a href="#trunkWebKitSitequalityreductionhtml">trunk/WebKitSite/quality/reduction.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkWebKitSiteChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/WebKitSite/ChangeLog (23926 => 23927)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebKitSite/ChangeLog        2007-07-02 07:42:02 UTC (rev 23926)
+++ trunk/WebKitSite/ChangeLog        2007-07-02 14:08:31 UTC (rev 23927)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2007-07-02 Mitz Pettel <mitz@webkit.org>
+
+ Reviewed by Darin.
+
+ - http://bugs.webkit.org/show_bug.cgi?id=14482
+ Add information about the NeedsReduction and HasReduction keywords to quality/reduction.html
+
+ * quality/reduction.html:
+
</ins><span class="cx"> 2007-07-01 Mitz Pettel <mitz@webkit.org>
</span><span class="cx">
</span><span class="cx"> Reviewed by Darin.
</span></span></pre></div>
<a id="trunkWebKitSitequalityreductionhtml"></a>
<div class="modfile"><h4>Modified: trunk/WebKitSite/quality/reduction.html (23926 => 23927)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebKitSite/quality/reduction.html        2007-07-02 07:42:02 UTC (rev 23926)
+++ trunk/WebKitSite/quality/reduction.html        2007-07-02 14:08:31 UTC (rev 23927)
</span><span class="lines">@@ -14,7 +14,7 @@
</span><span class="cx"> <p>
</span><span class="cx"> A reduced test case can help identify the central problem on the
</span><span class="cx"> page by eliminating irrelevant information, i.e., portions of the HTML
</span><del>- page's structure that have nothing to do with the problem.
</del><ins>+ page&rsquo;s structure that have nothing to do with the problem.
</ins><span class="cx"> With a reduced test case, the development team will spend
</span><span class="cx"> less time identifying the problem and more time determining the
</span><span class="cx"> solution. Also, since a site can change its content or design, the
</span><span class="lines">@@ -35,16 +35,16 @@
</span><span class="cx"> <p>
</span><span class="cx"> After you have made this determination, you need to create a local copy
</span><span class="cx"> of the page created from the page source window. After saving this
</span><del>- source, it's a good idea to put a <code>&lt;BASE&gt;</code> element in the
</del><ins>+ source, it&rsquo;s a good idea to put a <code>&lt;BASE&gt;</code> element in the
</ins><span class="cx"> <code>HEAD</code> so that any images/external style sheet or scripts that use a
</span><span class="cx"> relative path will get loaded. After the <code>BASE</code> element has been added,
</span><span class="cx"> load the local copy into the browser and verify that problem is still
</span><del>- occurring. In this case, let's assume the problem is still present.
</del><ins>+ occurring. In this case, let&rsquo;s assume the problem is still present.
</ins><span class="cx"> </p>
</span><span class="cx">
</span><span class="cx"> <h4>Work from top to bottom</h4>
</span><span class="cx"> <p>
</span><del>- In general, it's best to start from the top of the <code>&lt;DOCTYPE&gt;</code> and
</del><ins>+ In general, it&rsquo;s best to start from the top of the <code>&lt;DOCTYPE&gt;</code> and
</ins><span class="cx"> work down through the <code>HEAD</code> to the <code>BODY</code> element. Take a look at the HTML
</span><span class="cx"> file in a text editor and view what types of elements are present in the
</span><span class="cx"> <code>&lt;head&gt;</code>. Typically, the <code>HEAD</code> will include the <code>&lt;title&gt;</code>
</span><span class="lines">@@ -76,13 +76,13 @@
</span><span class="cx">
</span><span class="cx"> <h4>Another method</h4>
</span><span class="cx"> <p>
</span><del>- Another way to help you identify unnecessary elements is to temporary
- uncheck 'Enable Javascript' in the Preferences. If you turn this option
</del><ins>+ Another way to help you identify unnecessary elements is to temporarily
+ deselect the option &ldquo;Enable Javascript&rdquo; in Safari preferences. If you turn this option
</ins><span class="cx"> off and loading your test case still reproduces the problem, then any
</span><span class="cx"> script elements that are present can be removed since they are not a
</span><del>- factor in this issue. Let's say that you have reduced the page down to
</del><ins>+ factor in this issue. Let&rsquo;s say that you have reduced the page down to
</ins><span class="cx"> a nested table with an ordered list with an <code>&lt;link&gt;</code> element that need
</span><del>- to be present. It's good practice to identify that CSS rule that is
</del><ins>+ to be present. It&rsquo;s good practice to identify that CSS rule that is
</ins><span class="cx"> being in the external file and add it directly to the test case. Create
</span><span class="cx"> a <code>&lt;style&gt;</code> <code>&lt;/style&gt;</code> in the head and copy/paste the contents
</span><span class="cx"> of the .css file into this style element. Remove the <code>&lt;link&gt;</code> and
</span><span class="lines">@@ -93,10 +93,18 @@
</span><span class="cx">
</span><span class="cx"> <h4>Adding to the bug</h4>
</span><span class="cx"> <p>
</span><del>- When you've finished your reduction, you should add it to the bug. It's quite likely
</del><ins>+ When you&rsquo;ve finished your reduction, you should add it to the bug. It&rsquo;s quite likely
</ins><span class="cx"> that in the process of reducing, you have found the root cause of the problem, so
</span><del>- you are able to set the right component. If you do not have the rights to change
- the component, read about how to get them in this <a href="bugzilla.html">document
</del><ins>+ you are able to set the right component. Don&rsquo;t forget to add the <code>HasReduction</code> keyword to the bug
+ (and remove the <code>NeedsReduction</code> keyword, if present). If you do not have the rights to change
+ the component or the keywords, read about how to get them in this <a href="bugzilla.html">document
</ins><span class="cx"> about Bugzilla</a>.
</span><span class="cx"> </p>
</span><ins>+
+ <h4>Ready to begin?</h4>
+ <p>
+ In addition to providing reductions for bugs that you&rsquo;ve found, you can help
+ by reducing any of the <a href="/needs-reduction">bugs in Bugzilla tagged
+ with the <code>NeedsReduction</code> keyword</a>.
+ </p>
</ins><span class="cx"> <?php include("../footer.inc"); ?>
</span></span></pre>
</div>
</div>
</body>
</html>