Surfin' Safari

Carlos Garcia Campos is now a WebKit reviewer!

Posted by Simon Hausmann on Wednesday, May 23rd, 2012 at 3:48 am

We’re happy to announce that Carlos Garcia Campos is now a WebKit
reviewer. Carlos has most recently been the fearless leader of
Igalia’s efforts to release a stable version of WebKit2 for GTK+. You
may also remember his work porting much of the GTK+ platform layer to
GTK+ 3.x.

Congratulations Carlos!

Last week in WebKit: Input padding, 8-bit canvas and CSS Variables

Posted by Peter Beverloo on Tuesday, May 22nd, 2012 at 12:07 pm

This update addresses last week’s 820 changes to WebKit’s repository, up to revision 117727.

The debugger sidebar for Web Inspector’s Script Panel can now be toggled using a button. Console messages about Content Security Policy violations now name the directive and support for saving snippets has been implemented.

Using the latest CSS Flexible Box module now requires you to define an element’s display property as “-webkit-flex” as opposed to the previous “-webkit-flexbox”. Input elements are now two pixels smaller in width, as one pixel of unnecessary padding has been removed from either side.

Image smoothing for the <canvas> element may now be disabled. Loading video files served through scripts without a supplied mime-type will now work, and two issues with CSS 2.1 support have been fixed, namely text baselines in the first row of a table and wrapping stand-alone table columns in anonymous tables.

A compile-time flag has been introduced for toggling support for CSS Variables in WebKit ports. Furthermore, an initial test-suite to test the status of the implementation has landed as well.

Other changes which occurred last week:

Levi Weintraub is a WebKit Reviewer

Posted by Eric Seidel on Thursday, May 17th, 2012 at 9:06 pm

Levi Weintraub has been with webkit.org a long time. He’s known for various projects including his bidi work and most recently our subpixel layout support. Please join me in congratulating our latest reviewer!

Last week in WebKit: Tab sizing and strings for IndexedDB

Posted by Peter Beverloo on Monday, May 14th, 2012 at 7:54 am

A total of 650 commits landed in WebKit’s repositories last week, ending with revision 116915.

Web Inspector’s search box supports CSS selectors again, JavaScriptCore timers will now show up on the timeline and a context menu has been added for tabs.

Text decorations, such as underlines, will now be rendered for text in :first-line selectors. Implementation of the :first-letter selector was aligned with the specification. Eric landed stylesheet inheritance support for seamless iframes, as well as the ability to inherit styles from their parent iframe. The RadioNodeList interface is now supported, background-size is now part of the “background” shorthand and, albeit disabled, the <intent> element has landed.

IndexedDB now uses strings instead of numeric constants. Violation reports generated by Content Security Policy now also include the referer, original policy and the URL which got blocked. The File System API is now able to deal with cross-file system operations, widths and heights are now exposed for <input type=image> images, and the offsetLeft property was broken when used together with CSS Columns.

WebKit has also gained support for the tab-size CSS property. This property, which is also supported by Firefox and Opera, allows you to define the number of spaces a tab should be equal to.

Included among other minor updates on the WebKit website, the conditions under which the WebKit trademark can be used are now available on the Mac OS Forge website.

Other changes which occurred last week:

  • Half a megabyte of memory was saved by Andreas when viewing the full HTML5 specification.
  • The IETC CSS Values and Units tests have been added to WebKit’s test suite.
  • A first step towards implementing the HTML Media Capture API has been made.
  • Pages served with an XHTML-MP doctype will now automatically use a suitable viewport.

Last weeks in WebKit: sub-pixel layout and seamless iframes

Posted by Peter Beverloo on Tuesday, May 8th, 2012 at 7:07 am

Since there wasn’t an update last week, this one briefly covers changes between revisions 114867 and 116271.

Web Inspector now offers the ability to disable all JavaScript execution on a page, and also allows Web Socket frames to be inspected. The shortcut overlay has received some UI polish and the Timeline Frame Mode has been taken out of experimental.

Fixed placeholders have been implemented for date input types, a form field’s entries supplied through a <datalist> are now barred from validation. The Apple Mac port removed support for BlobBuilder and the Selector APIs have been aligned with the specification when pseudo-element selectors are used.

Retrieving a canvas’ image data will now return a Uint8ClampedArray instead of a CanvasPixelArray object. In preparation of supporting getUserMedia on Chromium, the Peer Connection API implementation has been separated with a compile time flag. Tables now support the createTBody() method and the IndexedDB implementation can now open cursors based on an IDBKey, and advance cursors as well.

Eric landed the first parts of support for seamless iframes in WebKit, namely some tests, sandbox and styling and navigation. A vendor-prefixed version of the Performance Timeline API landed, the getUserMedia() method now takes an object instead of a string and the noteOn and noteOff methods of the Web Audio API’s oscillator got implemented.

Antti made it possible to share stylesheet data structures between documents, decreasing memory usage by several megabytes (take note, kling) depending on the port’s implementation. Furthermore, parsed stylesheets may now be cached, increasing performance of subsequent page loads.

Per commit 116009, Levi and Emil were able to close the meta bug for supporting sub-pixel layout in WebKit. While this has not yet been enabled for any port, this is a significant milestone for the project. This article provides some insight in the importance.

Other changes which occurred last week: