Archive for March, 2013

CSS parsing errors, JavaScriptCore updates and font load events

Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 27

1,226 Chromium changes and 717 WebKit changes add up to a total of 1,943 changes last week.

Work has started enabling Web Inspector to report various CSS parsing errors, such as mismatched braces and missing semicolons. A menu has been added allowing you to customize the panels displayed in the toolbar, capitalization of menu items has been made consistent and IndexedDB data may now be cleared.

WebKit’s Content Security Implementation will now fire a “securitypolicyviolation” event whenever violations occur, and will include the effective-directive key in violation reports as well.

Intrinsic sizing (i.e. min-content) now work on flexible box elements, and parsing for the -webkit-each-line value for CSS 3’s text-indent property got implemented as well. The Grid Layout implementation now supports default grid item sizing, and can parse the grid-auto-{column, row} CSS properties.

Apple’s JavaScript engine ninja Filip Pizlo filed a series of bugs covering some future plans and experiments in regards to JavaScriptCore. Ideas including changing it to a quadruple-tier virtual machine, allowing it to do more optimizations for longer running scripts, running the optimizer on awesome new threads and experimenting with LLVM as a backend.

Other changes which occurred last week:

I unfortunately won’t be able to share an update next week. Be sure to check out Šime Vidas Web Platform dailies instead!

Read more (2 comments) »

Cleaner URLs in Error Messages and Updated UI for the Calendar Pickers

Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 27

752 WebKit and 965 Chromium commits, a total of 1,717 changes, did land last week.

Error messages displayed in Web Inspector’s console which contain long URLs will now have them shortened. WOFF fonts will now be recognized with their newly registered mime-type and the touchmove event will now be emulated within iframes. The Ace editor, which also powers the Cloud9 IDE, has been made available in the Inspector as an experiment.

The “width” and “height” directives for media queries now take full page zooming into account. The desktop version of -webkit-text-size-adjust has been removed, selector indexes got an extra bit meaning WebKit supports 8191 selectors again and a video’s line-height won’t inherit to its cues anymore.

Quite some updates were done in light of Web Components: touch events are now supported in shadow trees and work is underway to allow any HTML element to be a superclass of a custom element. The Web Audio API now exposes the maximum number of available channels, the WEBGL_compressed_texture_atc extension is now available and the default background of dragged images is now being properly set.

Regions will now be automatically generated for David’s new multiple column implementation. Meanwhile, Julien has made various changes to the CSS Grid Layout implementation, namely parsing of the the grid-{start, before} properties and the grid-{end, after} properties, resolving them and extending the grammar to support two positions for the grid-{row, column} properties.

Other changes which occurred last week:

Have a good week!

Read more (1 comment) »

Threaded HTML Parsing for Chromium and unprefixed CSP 1.1

Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 27

A total of 1,783 changes were committed last week, 1,065 for Chromium and 718 for WebKit.

Web Inspector will now show raster tasks on the Timeline Panel. Furthermore, the various profiling tools, such as the JavaScript CPU Profiler, canvas profiler and the memory snapshots, have been moved in separate panels.

When enabling the CSP 1.1 implementation, the new directives will now work on the unprefixed header as well. The meta referrer directive will now be honored for window.open() calls,the X-Frame-Options header accepts the “ALLOWALL” value and no callback is required anymore for requesting a notification permission. Rules for up and down-mixing channels in the Web Audio API have been implemented, and collapsing rules for empty buttons have been corrected.

The :first-letter pseudo element is now being ignored in flexible box elements. Dave rewrote the stacking model for the new multiple column implementation to be spec compliant and made sure transformed objects show up. CSS Shaders’ non-separable color and luminosity blend modes have been implemented, and parsing of CSS’ transition-property property has been improved.

Work on refreshing the calendar picker in WebKit continues with various new components, among which support for scrollbars, a month popup view and a table view for the calendar itself.

One feature that is nearing completion is the threaded HTML tokenizer. Now that more tests have been fixed and some optimizations have been done, it’s been enabled for Chromium’s DumpRenderTree. Shortly thereafter Adam enabled the threaded parser by default for all of Chromium.

Other changes which occurred last week:

That’s all again.

Read more (1 comment) »