Title: [153868] trunk/Websites/webkit.org
Revision
153868
Author
benja...@webkit.org
Date
2013-08-08 17:11:34 -0700 (Thu, 08 Aug 2013)

Log Message

Fix webkit.org content overflowing their content box

Patch by Benjamin Poulain <bpoul...@apple.com> on 2013-08-08
Rubberstamped by Simon Fraser.

More fixes to have webkit.org show properly on iPad and iPhone.

* blog/wp-content/themes/webkit/header.php:
Add the correct viewport width for the blog.

* building/debug.html:
* building/launch-debugger-vs2010-small.png: Added.
* building/set-debugging-properties-vs2010-small.png: Added.
Fix the images to make them fit in the page.

* coding/adding-features.html:
Using <pre> for the example of email just make it looks like our code examples.
Change the source to use <blockquote> so that the text can reflow to the content box.
* css/main.css:
(.code, pre, tt, code):
Scroll the content when it overflows the box for code and pre.

Modified Paths

Added Paths

Diff

Modified: trunk/Websites/webkit.org/ChangeLog (153867 => 153868)


--- trunk/Websites/webkit.org/ChangeLog	2013-08-09 00:07:23 UTC (rev 153867)
+++ trunk/Websites/webkit.org/ChangeLog	2013-08-09 00:11:34 UTC (rev 153868)
@@ -1,3 +1,26 @@
+2013-08-08  Benjamin Poulain  <bpoul...@apple.com>
+
+        Fix webkit.org content overflowing their content box
+
+        Rubberstamped by Simon Fraser.
+
+        More fixes to have webkit.org show properly on iPad and iPhone.
+
+        * blog/wp-content/themes/webkit/header.php:
+        Add the correct viewport width for the blog.
+
+        * building/debug.html:
+        * building/launch-debugger-vs2010-small.png: Added.
+        * building/set-debugging-properties-vs2010-small.png: Added.
+        Fix the images to make them fit in the page.
+
+        * coding/adding-features.html:
+        Using <pre> for the example of email just make it looks like our code examples.
+        Change the source to use <blockquote> so that the text can reflow to the content box.
+        * css/main.css:
+        (.code, pre, tt, code):
+        Scroll the content when it overflows the box for code and pre.
+
 2013-08-08  Benjamin Poulain  <benja...@webkit.org>
 
         Give a smaller viewport to webkit.org on devices

Modified: trunk/Websites/webkit.org/blog/wp-content/themes/webkit/header.php (153867 => 153868)


--- trunk/Websites/webkit.org/blog/wp-content/themes/webkit/header.php	2013-08-09 00:07:23 UTC (rev 153867)
+++ trunk/Websites/webkit.org/blog/wp-content/themes/webkit/header.php	2013-08-09 00:11:34 UTC (rev 153868)
@@ -3,6 +3,7 @@
 <head>
     <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
     <meta name="robots" content="noodp">
+    <meta name="viewport" content="width=860">
 
     <title><?php bloginfo('name'); if ( is_single() ) { ?> - Blog Archive <?php } else { ?> - The WebKit Blog <?php } wp_title(); ?></title>
 

Modified: trunk/Websites/webkit.org/building/debug.html (153867 => 153868)


--- trunk/Websites/webkit.org/building/debug.html	2013-08-09 00:07:23 UTC (rev 153867)
+++ trunk/Websites/webkit.org/building/debug.html	2013-08-09 00:11:34 UTC (rev 153868)
@@ -37,11 +37,11 @@
 </li>
 <li><p>Launch the debugger</p>
 <p>Choose Debug > Start Debugging.</p>
-<img src=""
+<a href="" src=""
 <li><p>Alternatively, you can debug layout tests with DumpRenderTree</p>
 <p>Set DumpRenderTreeLauncher as your startup project, set the layout test as a command argument, and launch the debugger.</p>
 <p>In DumpRenderTreeLauncher's properties, go to Configuration Properties->Debugging and set the Command Arguments field to the full path of the layout test you want to debug, see below: </p>
-<img src=""
+<a href="" src=""
 </li>
 </ol>
 </div>

Added: trunk/Websites/webkit.org/building/launch-debugger-vs2010-small.png


(Binary files differ)
Property changes on: trunk/Websites/webkit.org/building/launch-debugger-vs2010-small.png ___________________________________________________________________

Added: svn:mime-type

Added: trunk/Websites/webkit.org/building/set-debugging-properties-vs2010-small.png


(Binary files differ)
Property changes on: trunk/Websites/webkit.org/building/set-debugging-properties-vs2010-small.png ___________________________________________________________________

Added: svn:mime-type

Modified: trunk/Websites/webkit.org/coding/adding-features.html (153867 => 153868)


--- trunk/Websites/webkit.org/coding/adding-features.html	2013-08-09 00:07:23 UTC (rev 153867)
+++ trunk/Websites/webkit.org/coding/adding-features.html	2013-08-09 00:11:34 UTC (rev 153868)
@@ -23,17 +23,19 @@
 <ol>
 <li>All bugs which add features, are expected to be announced on webkit-dev.  Features impose a small cost on every contributor, and thus we attempt to notify every contributor of the addition of new features to the project.  An example announcement:
 
-<pre>
-To: webkit-...@lists.webkit.org
-Subject: Adding ENABLE_SVG to WebCore
-
-Hi webkit-dev!  I wanted to let you know that I plan to add SVG support to WebKit.
-This support will be behind the ENABLE_SVG feature define. See:
-https://bugs.webkit.org/show_bug.cgi?id=3250
-
+<blockquote>
+To: webkit-...@lists.webkit.org<br>
+Subject: Adding ENABLE_SVG to WebCore<br>
+<br>
+Hi webkit-dev!<br>
+<br>
+I wanted to let you know that I plan to add SVG support to WebKit.<br>
+This support will be behind the ENABLE_SVG feature define. See:<br>
+https://bugs.webkit.org/show_bug.cgi?id=3250<br>
+<br>
 We'll be setting up a buildbot to track then ENABLE_SVG build shortly. We expect
 this feature to be eventually enabled by all ports.  Looking forward to your comments.
-</pre>
+</blockquote>
 
 <li>All features/ports are expected to covered by a <a href="" at <a href="" within six months of their addition.  We want to encourage experimentation, but it's important to make sure we can maintain our experiments, buildbots allow us to do this.
 http://trac.webkit.org/wiki/BuildBot

Modified: trunk/Websites/webkit.org/css/main.css (153867 => 153868)


--- trunk/Websites/webkit.org/css/main.css	2013-08-09 00:07:23 UTC (rev 153867)
+++ trunk/Websites/webkit.org/css/main.css	2013-08-09 00:11:34 UTC (rev 153868)
@@ -194,6 +194,8 @@
 .code, pre, tt, code {
     font-family: Courier, Fixed;
     font-size: 110%;
+    overflow: scroll;
+    -webkit-overflow-scrolling: touch;
 }
 
 .code {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to