Skip to content

Instantly share code, notes, and snippets.

@BenjaminPoulain
Created August 8, 2013 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenjaminPoulain/6189927 to your computer and use it in GitHub Desktop.
Save BenjaminPoulain/6189927 to your computer and use it in GitHub Desktop.
Index: Websites/webkit.org/ChangeLog
===================================================================
--- Websites/webkit.org/ChangeLog (revision 153861)
+++ Websites/webkit.org/ChangeLog (working copy)
@@ -1,3 +1,26 @@
+2013-08-08 Benjamin Poulain <bpoulain@apple.com>
+
+ Fix webkit.org content overflowing their content box
+
+ Reviewed by NOBODY (OOPS!).
+
+ 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 <benjamin@webkit.org>
Give a smaller viewport to webkit.org on devices
Index: Websites/webkit.org/blog/wp-content/themes/webkit/header.php
===================================================================
--- Websites/webkit.org/blog/wp-content/themes/webkit/header.php (revision 153850)
+++ Websites/webkit.org/blog/wp-content/themes/webkit/header.php (working copy)
@@ -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>
Index: Websites/webkit.org/building/debug.html
===================================================================
--- Websites/webkit.org/building/debug.html (revision 153850)
+++ Websites/webkit.org/building/debug.html (working copy)
@@ -37,11 +37,11 @@
</li>
<li><p>Launch the debugger</p>
<p>Choose Debug > Start Debugging.</p>
-<img src="launch-debugger-vs2010.png">
+<a href="launch-debugger-vs2010.png"><img src="launch-debugger-vs2010-small.png"></a>
<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="set-debugging-properties-vs2010.png">
+<a href="set-debugging-properties-vs2010.png"><img src="set-debugging-properties-vs2010-small.png"></a>
</li>
</ol>
</div>
Index: Websites/webkit.org/building/launch-debugger-vs2010-small.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Index: Websites/webkit.org/building/launch-debugger-vs2010-small.png
===================================================================
--- Websites/webkit.org/building/launch-debugger-vs2010-small.png (revision 153850)
+++ Websites/webkit.org/building/launch-debugger-vs2010-small.png (working copy)
Property changes on: Websites/webkit.org/building/launch-debugger-vs2010-small.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
Index: Websites/webkit.org/building/set-debugging-properties-vs2010-small.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Index: Websites/webkit.org/building/set-debugging-properties-vs2010-small.png
===================================================================
--- Websites/webkit.org/building/set-debugging-properties-vs2010-small.png (revision 153850)
+++ Websites/webkit.org/building/set-debugging-properties-vs2010-small.png (working copy)
Property changes on: Websites/webkit.org/building/set-debugging-properties-vs2010-small.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
Index: Websites/webkit.org/coding/adding-features.html
===================================================================
--- Websites/webkit.org/coding/adding-features.html (revision 153850)
+++ Websites/webkit.org/coding/adding-features.html (working copy)
@@ -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-dev@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-dev@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="http://trac.webkit.org/wiki/BuildBot">buildbot</a> at <a href="build.webkit.org">build.webkit.org</a> 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
Index: Websites/webkit.org/css/main.css
===================================================================
--- Websites/webkit.org/css/main.css (revision 153850)
+++ Websites/webkit.org/css/main.css (working copy)
@@ -194,6 +194,8 @@
.code, pre, tt, code {
font-family: Courier, Fixed;
font-size: 110%;
+ overflow: scroll;
+ -webkit-overflow-scrolling: touch;
}
.code {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment