Title: [238056] trunk/Websites/webkit.org
Revision
238056
Author
[email protected]
Date
2018-11-09 14:34:47 -0800 (Fri, 09 Nov 2018)

Log Message

Clean-up stray whitespace in theme files
https://bugs.webkit.org/show_bug.cgi?id=191430

Reviewed by Dean Jackson.

* wp-content/themes/webkit/css-status.php:
* wp-content/themes/webkit/footer.php:
* wp-content/themes/webkit/front-page.php:
* wp-content/themes/webkit/includes.php:
* wp-content/themes/webkit/nightly-start.php:
* wp-content/themes/webkit/nightly-survey.php:
* wp-content/themes/webkit/page.php:
* wp-content/themes/webkit/scripts/global.js:
* wp-content/themes/webkit/scripts/searchbuilds.js:
(initsearch):
(initsearch.displayError):
* wp-content/themes/webkit/single.php:
* wp-content/themes/webkit/sitemap.php:
* wp-content/themes/webkit/team.php:
* wp-content/themes/webkit/widgets/icon.php:
* wp-content/themes/webkit/widgets/page.php:

Modified Paths

Diff

Modified: trunk/Websites/webkit.org/ChangeLog (238055 => 238056)


--- trunk/Websites/webkit.org/ChangeLog	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/ChangeLog	2018-11-09 22:34:47 UTC (rev 238056)
@@ -1,3 +1,27 @@
+2018-11-09  Jon Davis  <[email protected]>
+
+        Clean-up stray whitespace in theme files
+        https://bugs.webkit.org/show_bug.cgi?id=191430
+
+        Reviewed by Dean Jackson.
+
+        * wp-content/themes/webkit/css-status.php:
+        * wp-content/themes/webkit/footer.php:
+        * wp-content/themes/webkit/front-page.php:
+        * wp-content/themes/webkit/includes.php:
+        * wp-content/themes/webkit/nightly-start.php:
+        * wp-content/themes/webkit/nightly-survey.php:
+        * wp-content/themes/webkit/page.php:
+        * wp-content/themes/webkit/scripts/global.js:
+        * wp-content/themes/webkit/scripts/searchbuilds.js:
+        (initsearch):
+        (initsearch.displayError):
+        * wp-content/themes/webkit/single.php:
+        * wp-content/themes/webkit/sitemap.php:
+        * wp-content/themes/webkit/team.php:
+        * wp-content/themes/webkit/widgets/icon.php:
+        * wp-content/themes/webkit/widgets/page.php:
+
 2018-11-02  Jon Davis  <[email protected]>
 
         Follow-up fix for the webkit.org blog index page

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/css-status.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/css-status.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/css-status.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -564,7 +564,7 @@
         'obsolete',
         'removed',
     ];
-    
+
     const readableStatus = {
         'supported': 'Supported',
         'in-development': 'In Development',
@@ -636,7 +636,7 @@
             container.appendChild(link);
             return container;
         }
-        
+
         function appendValueWithLink(container, value, link)
         {
             if (link) {
@@ -646,7 +646,7 @@
                 container.appendChild(anchor);
                 return;
             }
-            
+
             container.textContent = value;
         }
 
@@ -729,15 +729,15 @@
                 longhandLink.textContent = longhand;
                 longhandsDiv.appendChild(longhandLink);
             }
-        
+
             toggledContentContainer.appendChild(longhandsDiv);
         }
-        
+
         function collapsePrefixedValues(values)
         {
             var remainingValues = [];
             var prefixMap = {};
-            
+
             for (var valueObj of values) {
                 var valueName = valueObj.value;
 
@@ -750,15 +750,15 @@
                         continue;
                     }
                 }
-                
+
                 remainingValues.push(valueObj);
             }
-            
+
             for (var prefixed in prefixMap) {
                 var unprefixedValue = findValueByName(remainingValues, prefixed);
                 unprefixedValue.aliases = prefixMap[prefixed];
             }
-            
+
             return remainingValues;
         }
 
@@ -766,14 +766,14 @@
             var valuesHeader = document.createElement("h4");
             valuesHeader.textContent = 'Supported Values:';
             toggledContentContainer.appendChild(valuesHeader);
-            
+
             var valuesList = document.createElement("ul");
             valuesList.className = 'values';
-            
+
             var values = collapsePrefixedValues(propertyObject.values);
             for (var valueObj of values) {
                 var li = document.createElement("li");
-                
+
                 valueObj.el = li;
 
                 var link = undefined;
@@ -789,7 +789,7 @@
                     link = valueObj['url'];
 
                 appendValueWithLink(li, valueObj.value, link);
-                
+
                 if (valueAliases) {
                     var span = document.createElement('span');
                     span.textContent = ' (' + valueAliases.join(', ') + ')';
@@ -796,7 +796,7 @@
                     span.className = 'value-alias';
                     li.appendChild(span);
                 }
-                
+
                 if (status) {
                     var span = document.createElement('span');
                     span.textContent = ' (' + status + ')';
@@ -803,12 +803,12 @@
                     span.className = 'value-status';
                     li.appendChild(span);
                 }
-                
+
                 valuesList.appendChild(li);
             }
             toggledContentContainer.appendChild(valuesList);
         }
-        
+
         var statusContainer = document.createElement("span");
         cornerStatus.className += propertyObject.status.status;
         statusContainer.className = "property-status " + propertyObject.status.status;
@@ -830,7 +830,7 @@
         });
 
         featureHeaderContainer.appendChild(toggle);
-        
+
         if (specificationObject && "description" in specificationObject) {
             var testDescription = document.createElement('p');
             testDescription.className = "property-desc";
@@ -858,7 +858,7 @@
         }
 
         container.appendChild(descriptionContainer);
-        
+=
         function getMostSpecificProperty(categoryObject, specificationObject, attributeName)
         {
             // The url in the specification object is more specific, so use it if present.
@@ -916,12 +916,12 @@
 
         return container;
     }
-    
+
     function canonicalizeIdentifier(identifier)
     {
         return identifier.toLocaleLowerCase().replace(/ /g, '-');
     }
-    
+
     function renderSpecifications(categories, properties, selectedSpecifications)
     {
         var specificationsList = document.getElementById('specifications');
@@ -929,7 +929,7 @@
 
         var selectedIndex = -1;
         var allCategories = Object.keys(categories).sort();
-        
+
         for (var i = 0; i < allCategories.length; ++i) {
             var categoryKey = allCategories[i];
             var category = categories[categoryKey];
@@ -946,7 +946,7 @@
         if (selectedIndex != -1)
             specificationsList.selectedIndex = selectedIndex;
     }
-    
+
     function getPropertyCategory(propertyObject)
     {
         if ('specification' in propertyObject && 'category' in propertyObject.specification)
@@ -994,10 +994,10 @@
                     window.console.log('Status ' + propertyStatusKey + ' is not one of the predefined status keys ', statusOrder);
             }
         });
-        
+
         var selectedStatuses = statusesFromURL();
         var selectedSpecs = specificationsFromURL();
-        
+
         for (var key of statusOrder) {
             var status = statusFilters[key];
             var canonicalStatus = canonicalizeIdentifier(status);
@@ -1017,7 +1017,7 @@
             entry.appendChild(label);
             statusContainer.appendChild(entry);
         }
-        
+
         // Append the special "By Specification" checkbox
         {
             var entry = document.createElement("li");
@@ -1031,12 +1031,12 @@
             label.appendChild(input);
             label.appendChild(document.createTextNode(" By Specification:"));
             entry.appendChild(label);
-            
+
             var specsList = document.createElement('select');
             specsList.className = 'specifications';
             specsList.id = 'specifications';
             entry.appendChild(specsList);
-            
+
             statusContainer.appendChild(entry);
         }
 
@@ -1092,7 +1092,7 @@
             if (item.checked)
                 checkedValues.push(item.value);
         });
-        
+
         return checkedValues;
     }
 
@@ -1099,10 +1099,10 @@
     function getValuesOfSelectedItems(select)
     {
         var selectedValues = [];
-        
+
         if (select.selectedIndex != -1)
             selectedValues.push(select.options[select.selectedIndex].value);
-        
+
         return selectedValues;
     }
 
@@ -1116,7 +1116,7 @@
         specificationsList.disabled = false;
         return getValuesOfSelectedItems(specificationsList);
     }
-    
+
     function updateSearch(properties)
     {
         var inputField = document.getElementById('search');
@@ -1131,36 +1131,36 @@
         var numVisible = searchProperties(properties, searchTerm, selectedSpecifications(), activeStatusFilters, activePrefixFilters);
         document.getElementById('property-pluralize').textContent = numVisible == 1 ? 'property' : 'properties';
         document.getElementById('property-count').textContent = numVisible;
-        
+
         updateSpecsState();
         updateURL(searchTerm, selectedSpecifications(), activeStatusFilters, activePrefixFilters);
     }
-    
+
     function updateSpecsState()
     {
         var specsEnabled = document.getElementById('by-spec-checkbox').checked;
         var specificationsList = document.getElementById('specifications');
-        
+
         var radiobuttons = [].slice.call(specificationsList.getElementsByTagName('input'));
         radiobuttons.forEach(function(radiobutton,i) {
             radiobutton.disabled = !specsEnabled;
         });
     }
-    
+
     function updateURL(searchTerm, selectedSpecifications, activeStatusFilters, activePrefixFilters)
     {
         var searchString = '';
-        
+
         function appendDelimiter()
         {
             searchString += searchString.length ? '&' : '?';
         }
-        
+
         if (searchTerm.length > 0) {
             appendDelimiter();
             searchString += 'search=' + encodeURIComponent(searchTerm);
         }
-        
+
         if (activeStatusFilters.length) {
             appendDelimiter();
             searchString += 'status=' + activeStatusFilters.join(',');
@@ -1179,7 +1179,7 @@
         var current = window.location.href;
         window.location.href = "" '') + '#' + searchString;
     }
-    
+
     function searchTermFromURL()
     {
         var search = window.location.search;
@@ -1191,7 +1191,7 @@
 
         return '';
     }
-    
+
     function statusesFromURL()
     {
         var search = window.location.search;
@@ -1220,7 +1220,7 @@
     {
         if (prefixRegexp.exec(valueObj.value))
             return true;
-        
+
         if ('alias' in valueObj) {
             for (var alias of valueObj.aliases) {
                 if (prefixRegexp.exec(alias))
@@ -1227,7 +1227,7 @@
                     return true;
             }
         }
-        
+
         return false;
     }
 
@@ -1271,13 +1271,13 @@
         properties.forEach(function(propertyObject) {
             var matchesStatusSearch = isStatusFiltered(propertyObject, statusFilters);
             var matchesPrefixSearch = isPrefixFiltered(propertyObject, prefixFilters);
-            
+
             var visible = propertyIsSearchMatch(propertyObject, searchTerm) && isCategoryMatch(propertyObject, categories) && matchesStatusSearch && matchesPrefixSearch;
             if (visible && !propertyObject.visible)
                 propertyObject.el.className = 'property';
             else if (!visible && propertyObject.visible)
                 propertyObject.el.className = 'property is-hidden';
-            
+
             if (visible) {
                 filterValues(propertyObject, searchTerm);
                 ++visibleCount;
@@ -1285,7 +1285,7 @@
 
             propertyObject.visible = visible;
         });
-        
+
         return visibleCount;
     }
 
@@ -1303,7 +1303,7 @@
                     return true;
             }
         }
-        
+
         for (var valueObj of propertyObject.values) {
             if (valueObj.value.toLowerCase().indexOf(searchTerm) !== -1)
                 return true;
@@ -1353,17 +1353,17 @@
         }
         return false;
     }
-    
+
     function propertyOrAliasIsPrefixed(propertyObject)
     {
         if (prefixRegexp.exec(propertyObject.name))
             return true;
-        
+
         for (var alias of propertyNameAliases(propertyObject)) {
             if (prefixRegexp.exec(alias))
                 return true;
         }
-        
+
         return false;
     }
 
@@ -1375,7 +1375,7 @@
             return false;
         if (activeFilters.indexOf(propertyObject.status.status) !== -1)
             return true;
-        
+
         return false;
     }
 
@@ -1403,7 +1403,7 @@
                     return true;
             }
         }
-        
+
         return false;
     }
 
@@ -1417,7 +1417,7 @@
     function mergeProperties(unprefixedPropertyObj, prefixedPropertyObj)
     {
         (unprefixedPropertyObj['codegen-properties'].aliases = unprefixedPropertyObj['codegen-properties'].aliases || []).push(prefixedPropertyObj.name);
-        
+
         for (var valueObj of prefixedPropertyObj.values) {
             if (!findValueByName(unprefixedPropertyObj.values, valueObj.value))
                 prefixedPropertyObj.values.push(valueObj);
@@ -1425,7 +1425,7 @@
 
         return unprefixedPropertyObj;
     }
-    
+
     // Sometimes we have separate entries for -webkit-foo and foo.
     function collapsePrefixedProperties(properties)
     {
@@ -1454,7 +1454,7 @@
 
             remainingProperties.push(propertyObj);
         }
-        
+
         return remainingProperties;
     }
 
@@ -1472,7 +1472,7 @@
         }
         propertyObject.values = valueObjects;
     }
-    
+
     function canonicalizeStatus(propertyObject, categories)
     {
         // Inherit "status" from the cateogry if not explicitly specified.
@@ -1501,19 +1501,19 @@
             };
         } else if (!('status' in propertyObject.status))
             propertyObject.status.status = 'supported';
-            
+
         propertyObject.status.status = canonicalizeIdentifier(propertyObject.status.status);
     }
-    
+
     function renderContent(results)
     {
         var mainContent = document.getElementById("property-list");
         var successSubtree = document.importNode(document.getElementById("success-template").content, true);
         mainContent.appendChild(successSubtree);
-        
+
         var properties = results[0]['properties'];
         var everythingToShow = [];
-        
+
         var categories = results[0]['categories'];
 
         for (var property in properties) {
@@ -1525,10 +1525,10 @@
 
             everythingToShow.push(propertyObject);
         }
-        
+
         everythingToShow = collapsePrefixedProperties(everythingToShow);
         sortAlphabetically(everythingToShow);
-        
+
         renderProperties(categories, everythingToShow);
 
         initSearch(everythingToShow, categories);

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/footer.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/footer.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/footer.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -1,6 +1,6 @@
     </div><!--.page-width-->
 </main><!-- #content -->
-        
+
 <footer>
     <div class="page-width">
         <nav id="footer-nav" aria-label="Footer menu"><?php wp_nav_menu( array('theme_location'  => 'footer-nav') ); ?></nav>

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/front-page.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/front-page.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/front-page.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -1,6 +1,6 @@
 <?php get_header(); ?>
 <div id="posts" class="tiles">
-    <?php 
+    <?php
 
 include_post_icons();
 Front_Page_Posts::object(); // Initialize Front Page Posts query

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/includes.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/includes.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/includes.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -5,8 +5,8 @@
 ?>
 <?php get_header(); ?>
 
-    <?php if (have_posts()) : while (have_posts()) : the_post(); 
-            
+    <?php if (have_posts()) : while (have_posts()) : the_post();
+
         $path = dirname(ABSPATH);
         $file = get_post_meta(get_the_ID(), 'include-markdown', true);
 
@@ -18,23 +18,23 @@
 
             // Handle sub-section anchors
             $content = preg_replace('/\[]\(\#([^\)]+)\)\s+?/', '<a href="" name="$1"></a>', $content);
-            
+
             // Transform Markdown
             $Markdown = WPCom_Markdown::get_instance();
             $content = wp_unslash( $Markdown->transform($content) );
-            
+
             // Index table of contents
             $content = table_of_contents_index($content, get_the_ID());
-            
+
             set_transient($cachekey, $content, DAY_IN_SECONDS);
         }
-        
+
     ?>
 
         <article class="page<?php if ( has_table_of_contents() ) echo ' with-toc';?>" id="post-<?php the_ID(); ?>">
-                
+
             <h1><a href="" echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
-            
+
             <div class="bodycopy">
             <?php table_of_contents(); ?>
             <?php

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-start.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-start.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-start.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -14,7 +14,7 @@
 add_filter('the_content', function ($content) {
     $branch = get_query_var('nightly_branch');
     $build = intval(get_query_var('nightly_build'));
-    
+
     if (empty($Build) || empty($branch) || $build < 11976) {
         $content = preg_replace('/<p>(.*?)%1\$s<\/p>/', '<p></p>', $content);
     } else {
@@ -230,12 +230,12 @@
 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="icons-sprite">
     <style>
         svg,symbol { color: white; }
-    </style>    
+    </style>
     <defs>
         <symbol id="cycle">
             <path fill="none" stroke="currentColor" stroke-width="2.5" d="M11.2720779,11.2720779 C4.24264069,18.3015152 4.24264069,29.6984848 11.2720779,36.7279221 C16.0613936,41.5172377 22.878121,43.0434836 28.9596165,41.3066596 M36.7279221,36.7279221 C43.7573593,29.6984848 43.7573593,18.3015152 36.7279221,11.2720779 C31.9713395,6.51549533 25.2149636,4.97753141 19.1651795,6.65818618 M32.4852814,40.9705627 L40.9705627,40.9705627 L32.4852814,32.4852814 L32.4852814,40.9705627 L32.4852814,40.9705627 L32.4852814,40.9705627 L32.4852814,40.9705627 Z M15.5147186,7.02943725 L15.5147186,15.5147186 L7.02943725,7.02943725 L15.5147186,7.02943725 L15.5147186,7.02943725 L15.5147186,7.02943725 L15.5147186,7.02943725 Z"/>
         </symbol>
-        
+
         <symbol id="landing">
             <path d="M25 39.6894531C29.4337391 39.6894531 33.0279948 38.7092016 33.0279948 37.5 33.0279948 36.2907984 29.4337391 35.3105469 25 35.3105469 20.5662609 35.3105469 16.9720052 36.2907984 16.9720052 37.5 16.9720052 38.7092016 20.5662609 39.6894531 25 39.6894531zM25 42.9736328C33.464411 42.9736328 40.3261719 40.5230039 40.3261719 37.5 40.3261719 34.4769961 33.464411 32.0263672 25 32.0263672 16.535589 32.0263672 9.67382812 34.4769961 9.67382812 37.5 9.67382812 40.5230039 16.535589 42.9736328 25 42.9736328zM24.7290081 3.50148293C24.7290081 3.50148293 18.3504449 8.20808946 18.3504449 14.6816869 18.3504449 17.593729 21.0244162 23.9842129 21.0244162 23.9842129L28.4224355 23.9954394C28.4224355 23.9954394 31.1061539 17.5948742 31.1061539 14.6816869 31.1061539 8.20808946 24.7290081 3.50148293 24.7290081 3.50148293zM25.0124629 23.0160712L25.0124629 16.784522 25.0124629 16.0055783 24.8074778 16.0055783 24.8074778 16.784522 24.8074778 23.0160712 24.8074
 778 23.7950148 25.0124629 23.7950148 25.0124629 23.0160712M27 24L35.1994068 24 35.1994068 20.972726 31.0997034 17.0553266M22.4494068 24L14.25 24 14.25 20.972726 18.3497034 17.0553266" fill="none" stroke="currentColor" stroke-width="2.5"/>
         </symbol>
@@ -246,7 +246,7 @@
                 <polyline points="28 6 34.316 7.499 34.316 19.494 36.842 23.992 34.316 28.49 34.316 40.485 28 41.984" />
             </g>
         </symbol>
-        
+
         <symbol id="priority">
             <path fill="none" stroke="currentColor" stroke-width="2.5" d="M24,4.13378906 L43.8662109,43.8662109 L4.13378906,43.8662109 L24,4.13378906 Z M23.7675781,37.1438117 L24.2675781,37.1438117 L24.2675781,37.6438117 L23.7675781,37.6438117 L23.7675781,37.1438117 Z M23.7675781,31.3879523 L24.2675781,31.3879523 L24.2675781,18.1438117 L23.7675781,18.1438117 L23.7675781,31.3879523 Z"/>
         </symbol>
@@ -260,17 +260,16 @@
                 <rect width="15.531" height="12.425" x="4" y="32"/>
             </g>
         </symbol>
-        
+
         <symbol id="report">
             <path d="M24.1320008 44.328125C32.1512251 44.328125 38.6520901 35.226914 38.6520901 24 38.6520901 12.773086 32.1512251 3.671875 24.1320008 3.671875 16.1127765 3.671875 9.61191153 12.773086 9.61191153 24 9.61191153 35.226914 16.1127765 44.328125 24.1320008 44.328125zM13.7861328 10.5L34.4768075 10.5 13.7861328 10.5zM24.25 11L24.25 44.328125M34.1640625 37.0680804L39.9720982 42.8761161M38.5200893 22.25L44.328125 22.25M9.47991071 22.25L3.671875 22.25M13.8359375 10.9319196L8.02790179 5.12388393M34.1640625 10.9319196L39.9720982 5.12388393M13.9720982 37.0680804L8.1640625 42.8761161" fill="none" stroke="currentColor" stroke-width="2.5"/>
         </symbol>
-        
-        
+
         <symbol id="review">
             <path stroke="currentColor" stroke-width="2.5" fill="none" d="M23.9412979,30.8091391 C20.5466664,30.8091391 17.7939376,27.9866905 17.7939376,24.4982979 C17.7939376,21.0147136 20.5466664,18.1898609 23.9412979,18.1898609 C27.3383336,18.1898609 30.0910624,21.0147136 30.0910624,24.4982979 C30.0910624,27.9866905 27.3383336,30.8091391 23.9412979,30.8091391 M23.9412979,13.6821172 C14.2790996,13.6821172 7.25423179,24.4982979 7.25423179,24.4982979 C7.25423179,24.4982979 14.2790996,35.3168828 23.9412979,35.3168828 C33.6059004,35.3168828 40.6307682,24.4982979 40.6307682,24.4982979 C40.6307682,24.4982979 33.6059004,13.6821172 23.9412979,13.6821172"/>
             <path fill="currentColor" d="M23.9412979,21.7960558 C22.4867993,21.7960558 21.3063715,23.0053332 21.3063715,24.5007021 C21.3063715,25.9936668 22.4867993,27.2053483 23.9412979,27.2053483 C25.3982007,27.2053483 26.5762244,25.9936668 26.5762244,24.5007021 C26.5762244,23.0053332 25.3982007,21.7960558 23.9412979,21.7960558"/>
         </symbol>
-        
+
         <symbol id="steps">
             <g fill="none" stroke="currentColor" stroke-width="2.5">
                 <path fill="currentColor" d="M20 13L32 13M20 27L32 27M20 41L32 41M20 8L42 8M20 22L42 22M20 36L42 36"/>
@@ -279,7 +278,7 @@
                 <circle cx="10.5" cy="38.5" r="4.5"/>
             </g>
         </symbol>
-        
+
         <symbol id="testcase">
             <g fill="none" stroke="currentColor" stroke-width="2.5">
                 <path fill="currentColor" d="M20 13L32 13M20 27L32 27M20 41L32 41M20 8L42 8M20 22L42 22M20 36L42 36"/>
@@ -304,11 +303,11 @@
     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 
         <article class="page" id="nightly">
-            
+
             <div class="bodycopy">
                 <?php the_content(''); ?>
             </div>
-            
+
         </article>
 
     <?php endwhile; endif; ?>

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-survey.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-survey.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-survey.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -12,15 +12,15 @@
         body {
             background: #333333;
         }
-        
+
         main {
             background: none;
         }
-        
+
         header {
             background-color: rgba(0,0,0,0.1);
         }
-        
+
         #nightly {
             margin: 6rem auto;
             color: #ffffff;
@@ -44,7 +44,7 @@
             text-align: center;
         }
 
-        
+
         #nightly .bodycopy {
             max-width: 64rem;
         }
@@ -129,7 +129,7 @@
             font-weight: normal;
             font-size: 1.8rem;
         }
-        
+
         #nightly .pagination .page-numbers {
             background-color: rgba(255, 255, 255, 0.1);
             color: #ffffff;
@@ -153,9 +153,9 @@
     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 
         <article class="page" id="nightly">
-            
+
             <h1><?php the_title(); ?></h1>
-            
+
             <div class="bodycopy">
                 <?php if (WebKit_Nightly_Survey::responded()): ?>
                     <?php the_content(''); ?>
@@ -166,11 +166,11 @@
                 <form name="webkit-nightly-survey" action="" method="POST">
                 <?php
                 echo WebKit_Nightly_Survey::form_nonce();
-                
+
                 $Survey = WebKit_Nightly_Survey::survey();
                 foreach ($Survey as $id => $SurveyQuestion) {
                     echo "<h3>$SurveyQuestion->question</h3>";
-                    
+
                     echo "<ul>";
                     foreach ($SurveyQuestion->responses as $value => $response) {
                         echo '<li><label><input type="radio" name="questions[' . $id . ']" value="' . $value . '" required> <span>' . $response . '</span>';
@@ -186,7 +186,7 @@
                 </form>
                 <?php endif;?>
             </div>
-            
+
         </article>
 
     <?php endwhile; endif; ?>

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/page.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/page.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/page.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -1,25 +1,25 @@
 <?php get_header(); ?>
 
-	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 
         <article class="page<?php if ( has_table_of_contents() ) echo ' with-toc';?>" id="post-<?php the_ID(); ?>">
-                
-			<h1><a href="" echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
-            
-			<div class="bodycopy">
+
+            <h1><a href="" echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
+
+            <div class="bodycopy">
                 <?php table_of_contents(); ?>
-				
+
                 <?php the_content('<p class="serif">Read the rest of this entry &gt;&gt;</p>'); ?>
 
-				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
+                <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
 
-			</div>
+            </div>
         </article>
 
-	<?php //comments_template(); ?>
+    <?php //comments_template(); ?>
 
-	<?php endwhile; else:
+    <?php endwhile; else:
         include('444.php');
-	endif; ?>
-    
+    endif; ?>
+
 <?php get_footer(); ?>
\ No newline at end of file

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/scripts/global.js (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/scripts/global.js	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/scripts/global.js	2018-11-09 22:34:47 UTC (rev 238056)
@@ -23,7 +23,7 @@
         menuitems[i].addEventListener('focus', function (e) {
             var targetMenu = findParentMenu(e.target, menuClass),
                 targetMenuClass = null;
-                
+
             if ( targetMenu != undefined )
                 targetMenuClass = targetMenu.className;
 
@@ -89,7 +89,7 @@
         }
 
     }
-    
+
     function enableScrollableTables () {
         var tables = document.querySelectorAll('.bodycopy > table');
         var tableCount = tables.length;
@@ -111,8 +111,8 @@
     var imgs = document.querySelectorAll('div[data-url]');
     document.addEventListener('scroll', onMovement);
     document.addEventListener('resize', onMovement);
-    
+
     updateImages();
     enableScrollableTables();
 
-});
\ No newline at end of file
+});

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/scripts/searchbuilds.js (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/scripts/searchbuilds.js	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/scripts/searchbuilds.js	2018-11-09 22:34:47 UTC (rev 238056)
@@ -6,16 +6,16 @@
         errors = document.getElementById('search-errors'),
         loaded = ui.lastChild.cloneNode(true),
         inputs = [].slice.call(inputList);
-        
+
     for (var i in inputs) {
         var input = inputs[i];
         initsearch(input);
     }
-    
+
     function initsearch(input) {
-        
+
         var delayTimer = null;
-        
+
         // input.addEventListener('focus', sendSearch);
         input.addEventListener('keyup', function () {
             if ( delayTimer != null )
@@ -22,7 +22,7 @@
                 clearTimeout(delayTimer);
             delayTimer = setTimeout(sendSearch, 500);
         });
-        
+
         function xhrPromise(url) {
             return new Promise(function(resolve, reject) {
                 var XHR = new XMLHttpRequest();
@@ -40,7 +40,7 @@
                 XHR.send();
             });
         }
-        
+
         // Send the search query
         function sendSearch (e) {
             delayTimer = null;
@@ -52,7 +52,7 @@
             var endpoint = new URL(ajaxurl + "?action="" + query);
             var searchResults = xhrPromise(endpoint);
             spinner.classList.add('searching');
-            searchResults.then(displayResults).catch(displayError);            
+            searchResults.then(displayResults).catch(displayError);
         }
 
         function displayResults(results) {
@@ -59,12 +59,12 @@
             var list = document.createElement('ul');
             if ( results.length == 0 )
                 return displayError('There are no builds matching your search. Search by revision number, or a range of revision numbers: ######-######');
-            
+
             for (var entry of results)
                 addEntry(entry[0], entry[1], entry[2]);
             ui.replaceChild(list, ui.lastChild);
             spinner.classList.remove('searching');
-            
+
             function addEntry (build, datetime, download) {
                 var li = document.createElement('li'),
                     link = document.createElement('a'),
@@ -81,11 +81,11 @@
                 list.appendChild(li);
             }
         }
-        
+
         function displayError(message) {
             var note = document.createElement('div');
 
-            if ( typeof message !== 'string' ) 
+            if ( typeof message !== 'string' )
                 message = 'A communication error occured preventing any results from being returned by the server.';
 
             note.classList.add('note');
@@ -95,12 +95,12 @@
 
             spinner.classList.remove('searching');
         }
-        
+
         function clearErrors() {
             while (errors.firstChild)
                 errors.removeChild(errors.firstChild);
         }
-        
+
      }
 
-}(document));
\ No newline at end of file
+}(document));

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/single.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/single.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/single.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -11,7 +11,7 @@
                 <p class="twitter"><a href="" echo get_the_author_meta('twitter'); ?>" target="_blank">@<?php echo esc_html($twitter_handle); ?></a></p>
                 <?php endif; ?>
             </div>
-            
+
             <div class="bodycopy">
                 <?php the_content('<p class="serif">Read the rest of this entry &gt;&gt;</p>'); ?>
 
@@ -18,7 +18,7 @@
                 <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
             </div>
         </article>
-        
+
         <aside class="nextrouter" aria-label="Next/Previous posts">
             <div class="bodycopy">
             <?php //previous_post_link('%link', 'Older Post <span>%title</span>'); ?>

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/sitemap.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/sitemap.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/sitemap.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -5,7 +5,7 @@
 ?>
 <?php get_header(); ?>
 
-	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
         <style>
         article .menu a {
             color: #444444;
@@ -14,13 +14,13 @@
 
         article .menu a:hover {
             color: #08c;
-        }   
-        
+        }
+
         article .menu,
         article .menu ul {
             list-style: none;
         }
-        
+
         article .menu,
         article .sub-menu {
             padding-left: 0;
@@ -32,11 +32,11 @@
             width: 32%;
             box-sizing: border-box;
         }
-        
+
         article .sub-menu {
             padding-right: 1rem;
         }
-        
+
         /* Top headings */
         article .menu > .menu-item-has-children > a {
             display: block;
@@ -49,7 +49,7 @@
             border-bottom: 1px solid #dddddd;
             margin-bottom: 1rem;
         }
-        
+
         /* Sub-section headings */
         article .sub-menu > .menu-item-has-children > a {
             display: block;
@@ -57,27 +57,27 @@
             margin-top: 2rem;
             margin-bottom: 1rem;
         }
-  
+
         article .sub-menu .sub-menu li {
             display: block;
             width: 100%;
             margin-bottom: 0.5rem;
         }
-        
+
         @media only screen and (max-width: 676px) {
             article .sub-menu li {
                 width: 100%;
             }
-        
+
         }
         </style>
         <article class="page sitemap" id="post-<?php the_ID(); ?>">
-                
-			<h1><a href="" echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
-            
-			<div class="bodycopy">
+
+            <h1><a href="" echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
+
+            <div class="bodycopy">
             <?php wp_nav_menu( array('theme_location'  => 'sitemap') ); ?>
-			</div>
+            </div>
         </article>
 
 	<?php endwhile; else:

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/team.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/team.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/team.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -20,7 +20,6 @@
     padding: 1rem;
     margin-bottom: 1rem;
     border: 1px solid transparent;
-    
 }
 li span,
 li em {
@@ -56,7 +55,7 @@
 }
 
 @media only screen and (max-width: 675px) {
-    
+
     article ul > li {
         width: 100%;
     }
@@ -68,10 +67,10 @@
 
         <article class="page" id="post-<?php the_ID(); ?>">
 			<h1><a href="" echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
-                        
+
 			<div id="team" class="bodycopy">
                 <p><a href="" | <a href="" | <a href=""
-                
+
                 <h2><a name="reviewers"></a>Reviewers</h2>
                 <ul id="reviewers"></ul>
 
@@ -186,7 +185,7 @@
     var affiliation = formatAffiliation(contributor);
     if (affiliation) {
         addText(listItem, ' ');
-        addWrappedText(listItem, 'em', {'class': 'affiliation'}, affiliation);        
+        addWrappedText(listItem, 'em', {'class': 'affiliation'}, affiliation);
     }
 
     if (contributor.expertise) {

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/icon.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/icon.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/icon.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -7,20 +7,20 @@
 defined('WPINC') || header('HTTP/1.1 403') & exit; // Prevent direct access
 
 if ( ! class_exists('WP_Widget') ) return;
-	
+
 class WebKitIconTileWidget extends WP_Widget {
 
     function __construct() {
-        parent::WP_Widget(false, 
-			__('Icon Tile'), 
-			array('description' => __('Icon tile for the home page'))
-		);
+        parent::WP_Widget(false,
+            __('Icon Tile'),
+            array('description' => __('Icon tile for the home page'))
+        );
     }
 
     function widget( array $args, array $options ) {
         if ( ! empty($args) )
             extract($args, EXTR_SKIP);
-        
+
         $classes = array('third-tile', 'tile', 'icon-tile');
         $classes[] = (string)$options['color'];
         $classes[] = (string)$options['icon'];
@@ -27,7 +27,7 @@
         $text = (string)$options['text'];
         $subtext = (string)$options['subtext'];
         $url = ""
-        
+
         ?>
         <div class="<?php echo esc_attr(join(' ', $classes)); ?>">
             <a class="tile-link" href="" echo esc_url($url); ?>"><?php echo nl2br(esc_html($text)); ?></a>
@@ -39,8 +39,8 @@
     }
 
     function form( array $options ) {
-		?>
-		<p><label for="" echo $this->get_field_id('color'); ?>"><?php _e('Color'); ?></label>
+        ?>
+        <p><label for="" echo $this->get_field_id('color'); ?>"><?php _e('Color'); ?></label>
         <select name="<?php echo $this->get_field_name('color'); ?>">
         <?php echo html_select_options(array(
             'gray-tile' => 'Gray',
@@ -50,7 +50,7 @@
         ), $options['color'], true); ?>
         </select></p>
 
-		<p><label for="" echo $this->get_field_id('icon'); ?>"><?php _e('Icon'); ?></label>
+        <p><label for="" echo $this->get_field_id('icon'); ?>"><?php _e('Icon'); ?></label>
         <select name="<?php echo $this->get_field_name('icon'); ?>">
         <?php echo html_select_options(array(
             'compass' => 'Compass',
@@ -58,19 +58,19 @@
             'developer' => 'Developer'
         ), $options['icon'], true); ?>
         </select></p>
-        
-		<p><label for="" echo $this->get_field_id('text'); ?>"><?php _e('Text'); ?></label>
-		<textarea type="text" name="<?php echo $this->get_field_name('text'); ?>" id="<?php echo $this->get_field_id('text'); ?>" class="widefat"><?php echo $options['text']; ?></textarea></p>
 
-		<p><label for="" echo $this->get_field_id('subtext'); ?>"><?php _e('Sub Text'); ?></label>
-		<textarea type="text" name="<?php echo $this->get_field_name('subtext'); ?>" id="<?php echo $this->get_field_id('subtext'); ?>" class="widefat"><?php echo $options['subtext']; ?></textarea></p>
+        <p><label for="" echo $this->get_field_id('text'); ?>"><?php _e('Text'); ?></label>
+        <textarea type="text" name="<?php echo $this->get_field_name('text'); ?>" id="<?php echo $this->get_field_id('text'); ?>" class="widefat"><?php echo $options['text']; ?></textarea></p>
 
-		<p><label for="" echo $this->get_field_id('url'); ?>"><?php _e('Link URL'); ?></label>
-		<input type="text" name="<?php echo $this->get_field_name('url'); ?>" id="<?php echo $this->get_field_id('url'); ?>" class="widefat" value="<?php echo $options['url']; ?>"></p>
+        <p><label for="" echo $this->get_field_id('subtext'); ?>"><?php _e('Sub Text'); ?></label>
+        <textarea type="text" name="<?php echo $this->get_field_name('subtext'); ?>" id="<?php echo $this->get_field_id('subtext'); ?>" class="widefat"><?php echo $options['subtext']; ?></textarea></p>
 
-		<?php
+        <p><label for="" echo $this->get_field_id('url'); ?>"><?php _e('Link URL'); ?></label>
+        <input type="text" name="<?php echo $this->get_field_name('url'); ?>" id="<?php echo $this->get_field_id('url'); ?>" class="widefat" value="<?php echo $options['url']; ?>"></p>
+
+        <?php
     }
 
 } // END class WebKitIconTileWidget
 
-register_widget('WebKitIconTileWidget');
\ No newline at end of file
+register_widget('WebKitIconTileWidget');

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/page.php (238055 => 238056)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/page.php	2018-11-09 22:32:12 UTC (rev 238055)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/page.php	2018-11-09 22:34:47 UTC (rev 238056)
@@ -7,52 +7,52 @@
 defined('WPINC') || header('HTTP/1.1 403') & exit; // Prevent direct access
 
 if ( ! class_exists('WP_Widget') ) return;
-	
+
 class WebKitPageTileWidget extends WebKitPostTileWidget {
 
     public function __construct() {
-        parent::WP_Widget(false, 
-			__('Page Tile'), 
-			array('description' => __('Page tile for the home page'))
-		);
+        parent::WP_Widget(false,
+            __('Page Tile'),
+            array('description' => __('Page tile for the home page'))
+        );
     }
-    
+
     public function load( array $options = array() ) {
         return new WP_Query(array(
-    		'post_type' => 'page',
-    		'page_id' => $options['page']
+            'post_type' => 'page',
+            'page_id' => $options['page']
         ));
     }
 
     function form( array $options ) {
         if ( empty( $options['link'] ) ) $options['link'] = __('Read more');
-		?>
+        ?>
         <p><label for="" echo $this->get_field_id('page'); ?>"><?php _e( 'Page' ); ?></label>
         <?php echo wp_dropdown_pages( array( 'name' => $this->get_field_name('page'), 'echo' => 0, 'show_option_none' => __( '&mdash; Select &mdash;' ), 'option_none_value' => '0', 'selected' => $options['page'] ) ); ?></p>
-        
-		<p><label for="" echo $this->get_field_id('title'); ?>"><?php _e('Title'); ?></label>
-		<input type="text" name="<?php echo $this->get_field_name('title'); ?>" id="<?php echo $this->get_field_id('title'); ?>" class="widefat" value="<?php echo $options['title']; ?>" placeholder="Current Page Title"></p>
 
-		<p><label for="" echo $this->get_field_id('summary'); ?>"><?php _e('Summary'); ?></label>
-		<input type="text" name="<?php echo $this->get_field_name('summary'); ?>" id="<?php echo $this->get_field_id('summary'); ?>" class="widefat" value="<?php echo esc_attr($options['summary']); ?>" placeholder="Current Page Excerpt"></p>
+        <p><label for="" echo $this->get_field_id('title'); ?>"><?php _e('Title'); ?></label>
+        <input type="text" name="<?php echo $this->get_field_name('title'); ?>" id="<?php echo $this->get_field_id('title'); ?>" class="widefat" value="<?php echo $options['title']; ?>" placeholder="Current Page Title"></p>
 
-		<p><label for="" echo $this->get_field_id('link'); ?>"><?php _e('Call to Action'); ?></label>
-		<input type="text" name="<?php echo $this->get_field_name('link'); ?>" id="<?php echo $this->get_field_id('link'); ?>" class="widefat" value="<?php echo $options['link']; ?>"></p>
-        
+        <p><label for="" echo $this->get_field_id('summary'); ?>"><?php _e('Summary'); ?></label>
+        <input type="text" name="<?php echo $this->get_field_name('summary'); ?>" id="<?php echo $this->get_field_id('summary'); ?>" class="widefat" value="<?php echo esc_attr($options['summary']); ?>" placeholder="Current Page Excerpt"></p>
+
+        <p><label for="" echo $this->get_field_id('link'); ?>"><?php _e('Call to Action'); ?></label>
+        <input type="text" name="<?php echo $this->get_field_name('link'); ?>" id="<?php echo $this->get_field_id('link'); ?>" class="widefat" value="<?php echo $options['link']; ?>"></p>
+
         <p><label for="" echo $this->get_field_id('vignette'); ?>"><?php _e( 'Vignette' ); ?></label>
         <select  name="<?php echo $this->get_field_name('vignette'); ?>" id="<?php echo $this->get_field_id('vignette'); ?>">
             <option value="light">Light</option>
             <option value="dark"<?php if ( 'dark' == $options['link'] ) echo " checked=\"checked\""; ?>>Dark</option>
         </select></p>
-        
-		<p><label for="" echo $this->get_field_id('featured'); ?>">
+
+        <p><label for="" echo $this->get_field_id('featured'); ?>">
             <input type="hidden" name="<?php echo $this->get_field_name('featured'); ?>" value="off">
             <input type="checkbox" name="<?php echo $this->get_field_name('featured'); ?>" id="<?php echo $this->get_field_id('featured'); ?>" class="widefat" value="on" <?php echo ( 'on' == $options['featured'] ) ? 'checked' : ''; ?>>
             <?php _e('Featured'); ?></label>
-		</p>
-		<?php
+        </p>
+        <?php
     }
 
 } // END class WebKitPageTileWidget
 
-register_widget('WebKitPageTileWidget');
\ No newline at end of file
+register_widget('WebKitPageTileWidget');
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to