<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://hanblog.info/blog/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Hanblog - Tag - webkit</title>
  <link>http://hanblog.info/blog/</link>
  <atom:link href="http://hanblog.info/blog/feed/tag/webkit/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>fr</language>
  <pubDate>Wed, 03 Dec 2008 22:51:55 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>WebKit's week - #6</title>
    <link>http://hanblog.info/blog/post/2008/11/28/WebKit-s-week-6</link>
    <guid isPermaLink="false">urn:md5:88c47f7227d0fcb42810201db805d040</guid>
    <pubDate>Tue, 02 Dec 2008 20:19:00 +0100</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>WebKit</category>
        <category>accesskey</category><category>cursors</category><category>debugger</category><category>geolocation</category><category>profiler</category><category>upload</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://hanblog.info/blog/post/2008/10/23/La-semaine-de-WebKit-6&quot;&gt;French version&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Apologizes for the chaotic rhythm of publication. So here is a raw version.&lt;/p&gt;


&lt;h2&gt;Changes of the week&lt;/h2&gt;

&lt;p&gt;Everything mentioned below should work with the &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;latest nightly&lt;/a&gt; available at the moment (38100).&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37539&quot; hreflang=&quot;en&quot;&gt;Multiline Inputs (35739)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Before this commit, WebKit was only sending the first line of an input field. Now, a multiline text (entered with copy and paste) will keep all the text. The carriage return will be replaced by spaces. This matches other browsers behavior.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37523&quot; hreflang=&quot;en&quot;&gt;Computed styles tab collapsed (37523)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;After the post on the &lt;a href=&quot;http://webkit.org/blog/197/web-inspector-redesign/&quot; hreflang=&quot;en&quot;&gt;redesigned Web Inspector&lt;/a&gt;, many people were asking why styles can't be edited. In fact, they were trying to edit the computed styles. As the name explains, it represents the final styles after being calculated by the browser and therefore, they are not editable. To avoid this confusion and keep an easy access to this data, this tab is now collapsed by default.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37622&quot; hreflang=&quot;en&quot;&gt;Debug without reloading the page (37622)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Wanna debug some Javascript ? You just have to enable the debugger and there you go. No reloading involved.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37707&quot; hreflang=&quot;en&quot;&gt;Time and size per resource&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;In order to ease the interpretation of the waterfall in the Resources panel, the time and size for each resources were added. You just have to hover the resource to get the different times (waiting and loading times) or the size of the resource.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/time-details.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.time-details_m.jpg&quot; alt=&quot;Time details&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Time details, nov 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;On demand profiler (&lt;a href=&quot;http://trac.webkit.org/changeset/37730&quot; hreflang=&quot;en&quot;&gt;37730&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/37933&quot; hreflang=&quot;en&quot;&gt;37933&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;Before these commits, the profiler was always enable when the Safari's Developer menu was enabled. This affects performance, even when you weren't running a profile. Now, the profiler is disabled by default. A new activation screen is therefore necessary. A similar screen was added for the profiler too.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/profiler-activation-screen.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.profiler-activation-screen_m.jpg&quot; alt=&quot;Profiler activation screen&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Profiler activation screen, nov 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37854&quot; hreflang=&quot;en&quot;&gt;Geolocation API (37854)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;A lot of applications could benefit from knowing the user position and offer local services. So an API is under development at the W3C : &lt;a href=&quot;http://dev.w3.org/geo/api/spec-source.html&quot; hreflang=&quot;en&quot;&gt;Geolocation API&lt;/a&gt;. There is a clear usecase with the iPhone for example. This functionality can't be tested in the nightlies at the moment.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37863&quot; hreflang=&quot;en&quot;&gt;Multi-file upload (37863)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;HTML5 introduces the &lt;a href=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#attr-input-multiple&quot; hreflang=&quot;en&quot;&gt;multiple attribute on file inputs&lt;/a&gt;. This allows uploading multiple files at a time. Combined with XMLHttpRequest version 2, this allows uploading files with a progression bar without external plugins.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37902&quot; hreflang=&quot;en&quot;&gt;Mozilla cursors (37902)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Two new values were added to customise cursors : -webkit-grab and -webkit-grabbing. They were already used in Mozilla. &lt;a href=&quot;http://trac.webkit.org/export/37902/trunk/WebCore/manual-tests/cursor.html&quot; hreflang=&quot;en&quot;&gt;Demo of all supported cursors&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/38211&quot; hreflang=&quot;en&quot;&gt;Changing the accesskey shortcut (38211)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Originally, the accesskey shortcut was Ctrl. This caused &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=7466&quot; hreflang=&quot;en&quot;&gt;collisions with the Emacs style shortcuts&lt;/a&gt; in Mac OS. The shorcut was changed to Ctrl+Opt. But this caused &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=21107&quot; hreflang=&quot;en&quot;&gt;new problems with VoiceOver&lt;/a&gt;. So the intermediate solution is now : Ctrl+Opt without VoiceOver and Ctrl with VoiceOver.&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/the-jedi/3046581160/&quot;&gt;Julien Chaffraix&lt;/a&gt; and &lt;a href=&quot;http://www.flickr.com/photos/mauriz/3034655893/&quot;&gt;I&lt;/a&gt; were at &lt;a href=&quot;http://www.flickr.com/groups/parisweb2008/pool/&quot;&gt;Paris Web 2008&lt;/a&gt;. Among many good moments, they were a nice &lt;a href=&quot;http://hanblog.info/blog/post/2008/11/28/&quot;&gt;browser panel&lt;/a&gt; with a represent of the four big engines.&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;This is everything for this week. Of course, this is just a selection I've made. If you've noticed any other interesting changes, please let me know. Same thing if I got something wrong.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/11/28/WebKit-s-week-6#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/11/28/WebKit-s-week-6#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/82</wfw:commentRss>
      </item>
    
  <item>
    <title>La semaine de WebKit - #6</title>
    <link>http://hanblog.info/blog/post/2008/10/23/La-semaine-de-WebKit-6</link>
    <guid isPermaLink="false">urn:md5:7717d6ff36cd77236f2d917ca9f633ff</guid>
    <pubDate>Thu, 27 Nov 2008 00:04:00 +0100</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Semaine Webkit</category>
        <category>accesskey</category><category>cursors</category><category>debugger</category><category>geolocation</category><category>profiler</category><category>upload</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;Je n'arrive pas à tenir le rythme, voici donc une revue avec très peu d'explications pour rester à flot.&lt;/p&gt;


&lt;h2&gt;Changements de la semaine&lt;/h2&gt;

&lt;p&gt;Tout ce qui est mentionné ci-dessous doit normalement fonctionner dans la &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;dernière nightly&lt;/a&gt; disponible (38100).&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37539&quot; hreflang=&quot;en&quot;&gt;Input multi-lignes (35739)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Avant ce changement, WebKit n'envoyait que la première ligne d'un champ input. Maintenant, un copier coller d'un texte multilignes conservera tout le texte. Les retours chariots seront remplacés par des espaces. Cela harmonise le comportement avec les autres navigateurs.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37523&quot; hreflang=&quot;en&quot;&gt;Onglet Computed style replié (37523)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Après le billet sur le &lt;a href=&quot;http://webkit.org/blog/197/web-inspector-redesign/&quot; hreflang=&quot;en&quot;&gt;redesign du Web Inspector&lt;/a&gt;, de nombreuses personnes semblaient se demander pourquoi les styles n'étaient pas éditables. Ils se trouvaient tout simplement dans la partie Computed Style des styles. Comme son nom l'indique, elle représente les styles finaux après calcul et ne sont donc pas éditables. Pour éviter cette confusion mais garder un accès facile à cette information, cet onglet est désormais replié.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37622&quot; hreflang=&quot;en&quot;&gt;Débugger sans recharger la page (37622)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Envie de débugger du JavaScript. Il suffit d'activer le debugger et vous êtes parés. Pas de rechargement à attendre.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37707&quot; hreflang=&quot;en&quot;&gt;Temps et poids de chargements détaillés&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Afin de faciliter l'interprétation de la cascade dans l'onglet Ressources, des temps et poids de chargement détaillés ont été ajoutés. Il suffit de survoler la resource pour obtenir les différents temps (temps d'attente et temps de téléchargement) ou le poids de la resource.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/time-details.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.time-details_m.jpg&quot; alt=&quot;Time details&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Time details, nov 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;Profiler à la demande (&lt;a href=&quot;http://trac.webkit.org/changeset/37730&quot; hreflang=&quot;en&quot;&gt;37730&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/37933&quot; hreflang=&quot;en&quot;&gt;37933&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;Avant ces changements, le profiler était toujours activé lorsque le menu développeur de Safari était activé. Cela dégradait les performances, même lorsqu'on ne souhaitait pas profiler du code. Avec ces changements, le profiler est maintenant désactivé par défaut. Un nouvel écran d'activation a donc fait son apparition. Un écran similaire a été ajouté pour le débugger.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/profiler-activation-screen.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.profiler-activation-screen_m.jpg&quot; alt=&quot;Profiler activation screen&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Profiler activation screen, nov 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37854&quot; hreflang=&quot;en&quot;&gt;Geolocation API (37854)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;De nombreuses applications souhaitent obtenir la position de l'utilisateur pour rendre des services locaux. Une API est donc en cours de développement au W3C&amp;nbsp;: &lt;a href=&quot;http://dev.w3.org/geo/api/spec-source.html&quot; hreflang=&quot;en&quot;&gt;Geolocation API&lt;/a&gt;. Nous voyons tout de suite l'intérêt que cela pourrait avoir sur un iPhone. Cela dit, cette fonctionnalité n'est pas testable dans les nightlies.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37863&quot; hreflang=&quot;en&quot;&gt;Upload de plusieurs fichiers (37863)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;HTML5 introduit &lt;a href=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#attr-input-multiple&quot; hreflang=&quot;en&quot;&gt;l'attribut multiple sur les champ de type file&lt;/a&gt;. Cela permet d'uploader plusieurs fichiers en une seule fois. Combiné avec XMLHttpRequest version 2, cela permet de faire des uploads avec une barre de progression sans utiliser de plugins.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37902&quot; hreflang=&quot;en&quot;&gt;Curseurs Mozilla (37902)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Deux nouvelles propriétés ont été ajoutées pour personnaliser les curseurs&amp;nbsp;: -webkit-grab et -webkit-grabbing. Ils étaient déjà utilisées dans Mozilla. &lt;a href=&quot;http://trac.webkit.org/export/37902/trunk/WebCore/manual-tests/cursor.html&quot; hreflang=&quot;en&quot;&gt;Démo de tous les curseurs actuels&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/38211&quot; hreflang=&quot;en&quot;&gt;Changement du raccourci accesskey (38211)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;À l'origine, le raccourci pour les accesskey était Ctrl. Cela &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=7466&quot; hreflang=&quot;en&quot;&gt;posait des problèmes&lt;/a&gt; avec les raccourcis type Emacs de Mac OS. Le raccourci a donc été changé pour Ctrl+Alt. Mais cela &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=21107&quot; hreflang=&quot;en&quot;&gt;pose maintenant problème avec VoiceOver&lt;/a&gt;. D'où la solution intermédiaire&amp;nbsp;: utiliser Ctrl+Alt sans VoiceOver et Ctrl avec Voiceover.&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/the-jedi/3046581160/&quot;&gt;Julien Chaffraix&lt;/a&gt; et &lt;a href=&quot;http://www.flickr.com/photos/mauriz/3034655893/&quot;&gt;moi-même&lt;/a&gt; étions à &lt;a href=&quot;http://www.flickr.com/groups/parisweb2008/pool/&quot;&gt;Paris Web 2008&lt;/a&gt;. Entre autre bons moments, &lt;a href=&quot;http://www.flickr.com/photos/mauriz/3034767490/&quot;&gt;une jolie table ronde navigateurs&lt;/a&gt; avait lieu.&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Voilà pour cette semaine. Évidemment, ce n'est qu'une sélection que j'ai faite. Si vous avez remarqué d'autres changements intéressants, n'hésitez pas à les mentionner. Idem si je me suis trompé dans une explication.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/10/23/La-semaine-de-WebKit-6#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/10/23/La-semaine-de-WebKit-6#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/81</wfw:commentRss>
      </item>
    
  <item>
    <title>Paris Web, a really nice conference</title>
    <link>http://hanblog.info/blog/post/2008/10/20/Paris-Web-a-really-nice-conference</link>
    <guid isPermaLink="false">urn:md5:b747321ecee4a839694f4c1628eaf9eb</guid>
    <pubDate>Mon, 20 Oct 2008 09:40:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>WebKit</category>
        <category>firebug</category><category>parisweb</category><category>parisweb2008</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;The third edition of &lt;a href=&quot;http://www.paris-web.fr&quot; hreflang=&quot;fr&quot;&gt;Paris Web&lt;/a&gt; will be held from November 13 to 15. I should have mentioned it earlier since the early bird is over. But guess what : it's still &lt;a href=&quot;http://inscriptions.paris-web.fr/&quot; hreflang=&quot;fr&quot;&gt;really affordable&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.paris-web.fr/2008/-programme-&quot; hreflang=&quot;fr&quot;&gt;The program is remarkable&lt;/a&gt;. &lt;a href=&quot;http://www.paris-web.fr/2008/+-Wilson-+&quot; hreflang=&quot;fr&quot;&gt;Chris Wilson&lt;/a&gt;, &lt;a href=&quot;http://www.paris-web.fr/2008/+-Glazman-+&quot; hreflang=&quot;fr&quot;&gt;Daniel Glazman&lt;/a&gt;, &lt;a href=&quot;http://www.paris-web.fr/2008/+-Yergeau-+&quot; hreflang=&quot;fr&quot;&gt;François Yergeau&lt;/a&gt;, &lt;a href=&quot;http://www.paris-web.fr/2008/+-Sullivan-+&quot; hreflang=&quot;fr&quot;&gt;Nicole Sullivan&lt;/a&gt;, &lt;a href=&quot;http://www.paris-web.fr/2008/+-Heilmann-+&quot; hreflang=&quot;fr&quot;&gt;Christian Heilmann&lt;/a&gt;, &lt;a href=&quot;http://www.paris-web.fr/2008/+-Mc-Cathie-Neville-+&quot; hreflang=&quot;fr&quot;&gt;Charles MacCathieNeville&lt;/a&gt;, &lt;a href=&quot;http://www.paris-web.fr/2008/+-Leventhal-+&quot; hreflang=&quot;fr&quot;&gt;Aaron Leventhal&lt;/a&gt; will all be there. And I'm just talking about the famous names. There's a lot more &lt;a href=&quot;http://www.paris-web.fr/2008/-orateurs-&quot; hreflang=&quot;fr&quot;&gt;interesting persons&lt;/a&gt; speaking there.&lt;/p&gt;


&lt;p&gt;On Saturday, I will present a workshop on &lt;a href=&quot;http://www.paris-web.fr/2008/-samedi-15-novembre-technique-#hcalendar-Paris-Web_2008-15_novembre_2008-atelier-outils_developpement&quot; hreflang=&quot;fr&quot;&gt;Firebug and the Web Inspector &lt;/a&gt; :&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Our web pages are less and less static. After writing the code, we have to understand how they are interpreted by the browsers.&lt;/p&gt;
&lt;p&gt;
Which CSS rules apply to this element&lt;/p&gt;
&lt;p&gt;
What is this bug in my JavaScript code ?&lt;/p&gt;
&lt;p&gt;
Why is this action taking so much time ?&lt;/p&gt;
&lt;p&gt;
We will discover and use these two tools to answer those questions and much more. We will talk about the Console API and the command line.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I would also like to talk about the new features in WebKit, we still need to figure out how. Julien Chaffraix (another WebKit contributor) will be there too. He'll be part of the browser discussion on Friday.&lt;/p&gt;


&lt;p&gt;In addition to the lectures and workshops, there will be a &lt;a href=&quot;http://hanblog.info/blog/post/2008/10/20/&quot; title=&quot;fr&quot;&gt;free party on friday night&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;This is an awesome organisation. They are &lt;a href=&quot;http://hanblog.info/blog/post/2008/10/20/&quot; title=&quot;fr&quot;&gt;all volunteers&lt;/a&gt; but it's a professional class event. If you're gonna be there, leave a message here if you want.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/10/20/Paris-Web-a-really-nice-conference#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/10/20/Paris-Web-a-really-nice-conference#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/80</wfw:commentRss>
      </item>
    
  <item>
    <title>WebKit's week - #5</title>
    <link>http://hanblog.info/blog/post/2008/10/13/WebKit-s-week-5</link>
    <guid isPermaLink="false">urn:md5:0585f65c56e4b0d5a7c01ccc7dce1252</guid>
    <pubDate>Mon, 13 Oct 2008 15:20:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>WebKit</category>
        <category>csrf</category><category>placeholder</category><category>sunspider</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://hanblog.info/blog/post/2008/10/13/La-semaine-de-WebKit-5&quot;&gt;French version&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;One month without news is bad. So we resume with only two weeks.&lt;/p&gt;


&lt;h2&gt;Changes of the week&lt;/h2&gt;

&lt;p&gt;Everything mentioned below should work with the &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;latest nightly&lt;/a&gt; available at the moment (37469).&lt;/p&gt;


&lt;h3&gt;Styling placeholder (&lt;a href=&quot;http://trac.webkit.org/changeset/37123&quot; hreflang=&quot;en&quot;&gt;37123&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/37217&quot; hreflang=&quot;en&quot;&gt;37217&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;WebKit supports a placeholder attribute on input elements. This attribute allows you to display a tooltip in the field when the user hasn't enter any content. By default, this tooltip is printed in light gray. Now, we can play with his style using the &lt;code&gt;-webkit-input-placeholder&lt;/code&gt; pseudo-element. &lt;a href=&quot;http://trac.webkit.org/export/37527/trunk/LayoutTests/fast/forms/placeholder-pseudo-style.html&quot; hreflang=&quot;en&quot;&gt;See the example&lt;/a&gt;.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37313&quot; hreflang=&quot;en&quot;&gt;Debugging before onload fires (37313)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Before this fix, it was impossible to debug a part of code running before the resource finished its loading. It wasn't really handy for a tool like the Web Inspector. Fixed !&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37317&quot; hreflang=&quot;en&quot;&gt;Origin header for POST requests (37317)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Beginning of implementation for the &lt;a href=&quot;http://www.w3.org/TR/access-control/&quot; hreflang=&quot;en&quot;&gt;Access Control for Cross-Site Requests&lt;/a&gt; specification. An &lt;code&gt;Origin&lt;/code&gt; header, which only contains the domain of the originating page, is added. This allows application to check if the request comes from an authorized domain. Unlike the &lt;code&gt;Referer&lt;/code&gt; header, this one doesn't reveal the complete path of the originating page.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37389&quot; hreflang=&quot;en&quot;&gt;Exact line search (37389)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Like Firebug, it's now possible to search for a particular line in the Resources panel. We can use two syntaxes : &lt;code&gt;#123&lt;/code&gt; or &lt;code&gt;line:123&lt;/code&gt;. We can add a keyword to only match lines with this keyword.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37390&quot; hreflang=&quot;en&quot;&gt;Fixing SunSpider (37389)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;As &lt;a href=&quot;http://blog.mozilla.com/dmandelin/2008/10/06/squirrelfishing-in-regexp-dnajs/&quot; hreflang=&quot;en&quot;&gt;David Mandelin&lt;/a&gt; mentioned on his blog, the regexp-dna test on SunSpider was incorrect. An option only supported in Gecko was in the test and so, this engine was disadvantaged. Eveyrthing is fine now, all the engines do the same test.&lt;/p&gt;


&lt;h2&gt;News of the week&lt;/h2&gt;

&lt;p&gt;While I wasn't giving news, three new posts were added to the Surfin' Safari blog:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://webkit.org/blog/214/introducing-squirrelfish-extreme/&quot; hreflang=&quot;en&quot;&gt;Introducing Squirrelfish Extreme&lt;/a&gt;, the latest evolution of the JavaScript engine.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://webkit.org/blog/280/full-pass-of-acid-3/&quot; hreflang=&quot;en&quot;&gt;Full pass of Acid3&lt;/a&gt;, the last condition (smooth animation) is now ok.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://webkit.org/blog/197/web-inspector-redesign/&quot; hreflang=&quot;en&quot;&gt;Web Inspector redesign&lt;/a&gt;, a summary of all the evolutions for the last nine months.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;This is everything for this week. Of course, this is just a selection I've made. If you've noticed any other interesting changes, please let me know. Same thing if I got something wrong.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/10/13/WebKit-s-week-5#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/10/13/WebKit-s-week-5#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/78</wfw:commentRss>
      </item>
    
  <item>
    <title>La semaine de WebKit - #5</title>
    <link>http://hanblog.info/blog/post/2008/10/13/La-semaine-de-WebKit-5</link>
    <guid isPermaLink="false">urn:md5:02650d1157847994b67562676982c0d7</guid>
    <pubDate>Mon, 13 Oct 2008 03:30:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Semaine Webkit</category>
        <category>csrf</category><category>placeholder</category><category>sunspider</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;Un mois sans nouvelle, bouh, c'est pas bien. Du coup, on reprend avec seulement deux semaines.&lt;/p&gt;


&lt;h2&gt;Changements de la semaine&lt;/h2&gt;

&lt;p&gt;Tout ce qui est mentionné ci-dessous doit normalement fonctionner dans la &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;dernière nightly&lt;/a&gt; disponible (37469).&lt;/p&gt;


&lt;h3&gt;Style du texte de remplacement (&lt;a href=&quot;http://trac.webkit.org/changeset/37123&quot; hreflang=&quot;en&quot;&gt;37123&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/37217&quot; hreflang=&quot;en&quot;&gt;37217&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;WebKit accepte un attribut placeholder sur les éléments de type input. Cet attribut permet d'afficher une aide dans le champ lorsque l'utilisateur n'a entré aucun contenu. Par défaut, ce texte d'aide est affiché légèrement grisé. On peut désormais jouer sur son style en utilisant le pseudo-element &lt;code&gt;-webkit-input-placeholder&lt;/code&gt;. &lt;a href=&quot;http://trac.webkit.org/export/37527/trunk/LayoutTests/fast/forms/placeholder-pseudo-style.html&quot; hreflang=&quot;en&quot;&gt;Voir cet exemple&lt;/a&gt;.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37313&quot; hreflang=&quot;en&quot;&gt;Débuguer avant la fin du chargement (37313)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Avant cette correction, il était impossible de débuguer une partie de code s'exécutant avant que la ressource ne soit finie d'être chargée. C'était un peu handicapant pour un outil comme le Web Inspector. Corrigé donc.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37317&quot; hreflang=&quot;en&quot;&gt;En-tête Origin pour les requêtes POST (37317)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Début d'implémentation de la spécification &lt;a href=&quot;http://www.w3.org/TR/access-control/&quot; hreflang=&quot;en&quot;&gt;Access Control for Cross-Site Requests&lt;/a&gt;. Un en-tête &lt;code&gt;Origin&lt;/code&gt;, ne contenant que le domaine de la page déclenchant la requête POST, est ajouté. Cela permet aux applications de vérifier que la requête provient bien d'un domaine autorisé. Contrairement à l'en-tête &lt;code&gt;Referer&lt;/code&gt;, celui-ci ne révèle pas le chemin complet de la page d'origine.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37389&quot; hreflang=&quot;en&quot;&gt;Recherche de ligne précise (37389)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Comme Firebug, il est possible de rechercher une ligne précise d'un fichier dans le panneau Ressources. On peut utiliser &lt;code&gt;#123&lt;/code&gt; ou &lt;code&gt;line:123&lt;/code&gt; comme syntaxe. Il est même possible d'ajouter un mot pour ne trouver que les lignes contenant ce mot.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/37390&quot; hreflang=&quot;en&quot;&gt;Correction du test SunSpider (37389)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Comme l'a mentionné &lt;a href=&quot;http://blog.mozilla.com/dmandelin/2008/10/06/squirrelfishing-in-regexp-dnajs/&quot; hreflang=&quot;en&quot;&gt;David Mandelin sur son blog&lt;/a&gt;, le test regexp-dna de SunSpider était incorrect. Une option supportée uniquement par Gecko était présente et défavorisait donc ce moteur. Tout est rétabli, les moteurs font désormais le même test.&lt;/p&gt;


&lt;h2&gt;Nouvelles de la semaine&lt;/h2&gt;

&lt;p&gt;Pendant que je ne donnais pas de nouvelles, trois nouveaux billets sont apparus sur le blog Surfin' Safari&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://webkit.org/blog/214/introducing-squirrelfish-extreme/&quot; hreflang=&quot;en&quot;&gt;Introduction de Squirrelfish Extreme&lt;/a&gt;, la dernière itération du moteur JavaScript.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://webkit.org/blog/280/full-pass-of-acid-3/&quot; hreflang=&quot;en&quot;&gt;Réussite complète de Acid3&lt;/a&gt;, la dernière condition (animation correcte) est remplie.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://webkit.org/blog/197/web-inspector-redesign/&quot; hreflang=&quot;en&quot;&gt;Redesign du Web Inspector&lt;/a&gt;, un résumé de toutes les évolutions depuis neuf mois.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Voilà pour cette semaine. Évidemment, ce n'est qu'une sélection que j'ai faite. Si vous avez remarqué d'autres changements intéressants, n'hésitez pas à les mentionner. Idem si je me suis trompé dans une explication.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/10/13/La-semaine-de-WebKit-5#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/10/13/La-semaine-de-WebKit-5#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/76</wfw:commentRss>
      </item>
    
  <item>
    <title>WebKit's week - #4</title>
    <link>http://hanblog.info/blog/post/2008/09/08/WebKit-s-week-4</link>
    <guid isPermaLink="false">urn:md5:cd3d123db6794edfa88915d1055afa11</guid>
    <pubDate>Mon, 08 Sep 2008 02:15:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>WebKit</category>
        <category>canvas</category><category>chrome</category><category>firebug</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://hanblog.info/blog/post/2008/08/25/La-semaine-de-WebKit-4&quot;&gt;French version&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;After a few weeks off, let's get back with webkit news. By the way, the english versions are now aggregated on &lt;a href=&quot;http://planet.webkit.org&quot; hreflang=&quot;en&quot;&gt;Planet Webkit&lt;/a&gt;.&lt;/p&gt;


&lt;h2&gt;Changes of the week&lt;/h2&gt;

&lt;p&gt;Everything mentioned below should work with the &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;latest nightly&lt;/a&gt; available at the moment (36135).&lt;/p&gt;


&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35835&quot; hreflang=&quot;en&quot;&gt;DOM properties and local variables editing (35835)&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Double clicking a property in the sidabar of Elements or Scripts panels now allows you to change the value of this property. You can even enter JavaScript as shown in this screenshot.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/dom-editing.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.dom-editing_m.jpg&quot; alt=&quot;DOM editing&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;DOM editing, sep 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35842&quot; hreflang=&quot;en&quot;&gt;console.count support (35842)&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Still a Firebug compatibilty stuff. This method allows you to count how many times a specific code has been called.&lt;/p&gt;


&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35876&quot; hreflang=&quot;en&quot;&gt;Editable Metrics tab (35876)&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Like Firebug, it is now possible to edit dimensions, padding, borders, margins and position of a box.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/metrics-editing.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.metrics-editing_m.jpg&quot; alt=&quot;Metrics editing&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Metrics editing, sep 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/36060&quot; hreflang=&quot;en&quot;&gt;Canvas Text support (36060)&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Canvas, the element allowing you to draw in 2D now has &lt;a href=&quot;http://www.w3.org/html/wg/html5/#filltext&quot; hreflang=&quot;en&quot;&gt;an API to draw text&lt;/a&gt;. You can use the &lt;a href=&quot;http://trac.webkit.org/export/36060/trunk/LayoutTests/fast/canvas/canvas-text-baseline.html&quot; hreflang=&quot;en&quot;&gt;two&lt;/a&gt; &lt;a href=&quot;http://trac.webkit.org/export/36060/trunk/LayoutTests/fast/canvas/canvas-text-alignment.html&quot; hreflang=&quot;en&quot;&gt;tests&lt;/a&gt; to learn it.&lt;/p&gt;


&lt;h2&gt;Chrome consequences&lt;/h2&gt;

&lt;p&gt;Obviously, you haven't missed Google's announcement this week. A new browser using WebKit. And the two projects are working together as you can see with the following commits.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/36074&quot; hreflang=&quot;en&quot;&gt;36074&lt;/a&gt; New constants for Skia, V8 and Chromium.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/36095&quot; hreflang=&quot;en&quot;&gt;36095&lt;/a&gt; V8 benchmarks are integrated into WebKit.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/36097&quot; hreflang=&quot;en&quot;&gt;36097&lt;/a&gt; Little anecdote, some Google developers gave patches under fake names to stay under the radar before the announcement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;This is everything for this week. Of course, this is just a selection I've made. If you've noticed any other interesting changes, please let me know. Same thing if I got something wrong.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/09/08/WebKit-s-week-4#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/09/08/WebKit-s-week-4#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/74</wfw:commentRss>
      </item>
    
  <item>
    <title>La semaine de WebKit - #4</title>
    <link>http://hanblog.info/blog/post/2008/08/25/La-semaine-de-WebKit-4</link>
    <guid isPermaLink="false">urn:md5:807c8052683ed1ea4d11f8d6c3348815</guid>
    <pubDate>Mon, 08 Sep 2008 01:42:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Semaine Webkit</category>
        <category>canvas</category><category>chrome</category><category>firebug</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;On reprend le rythme doucement, après quelques semaines sans nouvelles. Au passage, les billets en anglais sont désormais recensés sur le &lt;a href=&quot;http://planet.webkit.org&quot; hreflang=&quot;en&quot;&gt;Planet Webkit&lt;/a&gt;.&lt;/p&gt;


&lt;h2&gt;Changements de la semaine&lt;/h2&gt;

&lt;p&gt;Tout ce qui est mentionné ci-dessous doit normalement fonctionner dans la &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;dernière nightly&lt;/a&gt; disponible (36135).&lt;/p&gt;


&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35835&quot; hreflang=&quot;en&quot;&gt;Édition des propriétés DOM et des variables locales (35835)&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;En double cliquant sur une des propriétés dans la barre latérale dans le panneau Elements ou Scripts, vous pouvez changer la valeur de la propriété associée. Vous pouvez entrer du javascript comme le montre la capture suivante
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/dom-editing.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.dom-editing_m.jpg&quot; alt=&quot;DOM editing&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;DOM editing, sep 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35842&quot; hreflang=&quot;en&quot;&gt;Support de console.count (35842)&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Toujours pour la compatibilité avec Firebug, une nouvelle méthode s'ajoute à la liste. Elle permet de compter le nombre de fois qu'une ligne a été appelée.&lt;/p&gt;


&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35876&quot; hreflang=&quot;en&quot;&gt;Onglet Metrics éditable (35876)&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Tout comme Firebug, il est maintenant possible d'éditer les dimensions, padding, bordures, marges et position d'une boîte.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/metrics-editing.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.metrics-editing_m.jpg&quot; alt=&quot;Metrics editing&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Metrics editing, sep 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/36060&quot; hreflang=&quot;en&quot;&gt;Support de Canvas Text (36060)&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Canvas, l'élément qui permet de faire du dessin en 2D s'est vu ajouté une &lt;a href=&quot;http://www.w3.org/html/wg/html5/#filltext&quot; hreflang=&quot;en&quot;&gt;API pour dessiner directement du texte&lt;/a&gt;. &lt;a href=&quot;http://trac.webkit.org/export/36060/trunk/LayoutTests/fast/canvas/canvas-text-baseline.html&quot; hreflang=&quot;en&quot;&gt;Deux&lt;/a&gt; &lt;a href=&quot;http://trac.webkit.org/export/36060/trunk/LayoutTests/fast/canvas/canvas-text-alignment.html&quot; hreflang=&quot;en&quot;&gt;tests&lt;/a&gt; peuvent vous servir d'exemples.&lt;/p&gt;


&lt;h2&gt;Conséquences de Chrome&lt;/h2&gt;

&lt;p&gt;Évidemment, vous n'avez pas manqué l'annonce de Google cette semaine. Un nouveau navigateur utilisant WebKit. Et les deux projets s'entendent, j'en veux pour preuve ces quelques commits.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/36074&quot; hreflang=&quot;en&quot;&gt;36074&lt;/a&gt; Nouvelles constantes pour Skia, V8 et Chromium.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/36095&quot; hreflang=&quot;en&quot;&gt;36095&lt;/a&gt; Les benchmaks de V8 sont intégrés à WebKit.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/36097&quot; hreflang=&quot;en&quot;&gt;36097&lt;/a&gt; Petite anecdote, certains développeurs de Google fournissaient des patchs sous des pseudonymes pour ne pas éveiller l'attention avant l'annonce.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Voilà pour cette semaine. Évidemment, ce n'est qu'une sélection que j'ai faite. Si vous avez remarqué d'autres changements intéressants, n'hésitez pas à les mentionner. Idem si je me suis trompé dans une explication.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/08/25/La-semaine-de-WebKit-4#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/08/25/La-semaine-de-WebKit-4#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/72</wfw:commentRss>
      </item>
    
  <item>
    <title>WebKit's week - #3</title>
    <link>http://hanblog.info/blog/post/2008/08/18/WebKit-s-week-3</link>
    <guid isPermaLink="false">urn:md5:00f95b409473941a7959d30a83138fa5</guid>
    <pubDate>Mon, 18 Aug 2008 23:33:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>WebKit</category>
        <category>css animations</category><category>css transitions</category><category>firebug</category><category>performance</category><category>svg</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://hanblog.info/blog/post/2008/08/18/La-semaine-de-WebKit-3&quot;&gt;French version &lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;Changes of the week&lt;/h2&gt;

&lt;p&gt;Everything mentioned below should work with the &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;latest nightly&lt;/a&gt; available at the moment (35806).&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35666&quot;&gt;CSS Animations implementation (35666)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;I announced this implementation too early last week. Comparing to the &lt;a href=&quot;http://webkit.org/specs/CSSVisualEffects/CSSAnimation.html&quot; hreflang=&quot;en&quot;&gt;two&lt;/a&gt; &lt;a href=&quot;http://webkit.org/specs/CSSVisualEffects/CSSTransitions.html&quot; hreflang=&quot;en&quot;&gt;specs&lt;/a&gt;, associated events were missing.&lt;/p&gt;


&lt;h3&gt;Compatibility with Firebug's API (&lt;a href=&quot;http://trac.webkit.org/changeset/35676&quot; hreflang=&quot;en&quot;&gt;35676&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35786&quot; hreflang=&quot;en&quot;&gt;35786&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35787&quot; hreflang=&quot;en&quot;&gt;35787&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;New commands are available in the console. $, $$, $x, keys, values, profile/profileEnd, clear. You can find these functions descriptions in &lt;a href=&quot;http://getfirebug.com/commandline.html&quot; hreflang=&quot;en&quot;&gt;Firebug's documentation &lt;/a&gt; And don't forget the addition of console.dir to list all properties of an object.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/console.dir.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.console.dir_s.jpg&quot; alt=&quot;console.dir&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;console.dir, aoû 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;SVG tests (&lt;a href=&quot;http://trac.webkit.org/changeset/35675&quot; hreflang=&quot;en&quot;&gt;35675&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35679&quot; hreflang=&quot;en&quot;&gt;35679&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35680&quot; hreflang=&quot;en&quot;&gt;35680&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35682&quot; hreflang=&quot;en&quot;&gt;35682&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35683&quot; hreflang=&quot;en&quot;&gt;35683&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35695&quot; hreflang=&quot;en&quot;&gt;35695&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35700&quot; hreflang=&quot;en&quot;&gt;35700&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;I'm not familiar with SVG but something like 80 tests were added to ensure the right behaviour of the engine. Especially, the elements line, radialGradient, image, marker, mask, cursor, pattern and rect are concerned. Some fixes were made in consequence.&lt;/p&gt;


&lt;h3&gt;Resizable and closable inspector in docked mode (&lt;a href=&quot;http://trac.webkit.org/changeset/35719&quot; hreflang=&quot;en&quot;&gt;35719&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35720&quot; hreflang=&quot;en&quot;&gt;35720&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35722&quot; hreflang=&quot;en&quot;&gt;35722&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;When the inspector is inside a page, it is now possible to resize and close it. I waited a long time for this. This docked mode is now the default. And to finish with this, the inspector will remember in which mode you've let it.&lt;/p&gt;


&lt;h3&gt;Loader enhancements (&lt;a href=&quot;http://trac.webkit.org/changeset/35799&quot; hreflang=&quot;en&quot;&gt;35799&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35801&quot; hreflang=&quot;en&quot;&gt;35801&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;In order to always get better performances, some tweaks were made :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Stylesheets get highest priority since the engine won't render before having downloaded every stylesheets.&lt;/li&gt;
&lt;li&gt;For each new host, the connection is established as soon as possible in order to reduce the effect of the latency due to it.&lt;/li&gt;
&lt;li&gt;When the document and all stylesheets are parsed, there's no need to maintain a queue, we can download all documents, whatever priority they have.&lt;/li&gt;
&lt;li&gt;To avoid delaying the initial rendering, resources in &amp;lt;body&amp;gt; are not downloaded if there's no render. This improves by 25%, or 5 seconds, the initial rendering for &lt;a href=&quot;http://www.cnn.com&quot; hreflang=&quot;en&quot;&gt;CNN&lt;/a&gt; with a bandwith limited to 300kb/s, interesting for mobile devices.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;This is everything for this week. Of course, this is just a selection I've made. If you've noticed any other interesting changes, please let me know. Same thing if I got something wrong.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/08/18/WebKit-s-week-3#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/08/18/WebKit-s-week-3#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/71</wfw:commentRss>
      </item>
    
  <item>
    <title>La semaine de WebKit - #3</title>
    <link>http://hanblog.info/blog/post/2008/08/18/La-semaine-de-WebKit-3</link>
    <guid isPermaLink="false">urn:md5:93ef78a34aedb00239bdf5e0b2bc8999</guid>
    <pubDate>Mon, 18 Aug 2008 23:02:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Semaine Webkit</category>
        <category>css animations</category><category>css transitions</category><category>firebug</category><category>performance</category><category>svg</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;h2&gt;Changements de la semaine&lt;/h2&gt;

&lt;p&gt;Tout ce qui est mentionné ci-dessous doit normalement fonctionner dans la &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;dernière nightly&lt;/a&gt; disponible (35806).&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35666&quot;&gt;Implémentation des CSS Animations (35666)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;J'avais annoncé un peu rapidement cette implémentation la semaine dernière. Par rapport aux &lt;a href=&quot;http://webkit.org/specs/CSSVisualEffects/CSSAnimation.html&quot; hreflang=&quot;en&quot;&gt;deux&lt;/a&gt; &lt;a href=&quot;http://webkit.org/specs/CSSVisualEffects/CSSTransitions.html&quot; hreflang=&quot;en&quot;&gt;spécifications&lt;/a&gt;, il manquait les événements associés.&lt;/p&gt;


&lt;h3&gt;Compatibilité avec l'API de Firebug (&lt;a href=&quot;http://trac.webkit.org/changeset/35676&quot; hreflang=&quot;en&quot;&gt;35676&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35786&quot; hreflang=&quot;en&quot;&gt;35786&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35787&quot; hreflang=&quot;en&quot;&gt;35787&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;De nouvelles commandes sont disponibles dans la console. $, $$, $x, keys, values, profile/profileEnd, clear. Vous trouverez les descriptions de ces fonctions dans &lt;a href=&quot;http://getfirebug.com/commandline.html&quot; hreflang=&quot;en&quot;&gt;la documentation de Firebug&lt;/a&gt;.
Sans oublier l'ajout de console.dir pour lister les propriétés d'un objet.
&lt;a href=&quot;http://hanblog.info/blog/public/Webkit/console.dir.png&quot;&gt;&lt;img src=&quot;http://hanblog.info/blog/public/Webkit/.console.dir_s.jpg&quot; alt=&quot;console.dir&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;console.dir, aoû 2008&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;Tests SVG (&lt;a href=&quot;http://trac.webkit.org/changeset/35675&quot; hreflang=&quot;en&quot;&gt;35675&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35679&quot; hreflang=&quot;en&quot;&gt;35679&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35680&quot; hreflang=&quot;en&quot;&gt;35680&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35682&quot; hreflang=&quot;en&quot;&gt;35682&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35683&quot; hreflang=&quot;en&quot;&gt;35683&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35695&quot; hreflang=&quot;en&quot;&gt;35695&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35700&quot; hreflang=&quot;en&quot;&gt;35700&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;Je ne suis pas familier avec SVG mais environ 80 tests ont été ajoutés pour s'assurer du bon comportement du moteur. En particulier, les éléments line, radialGradient, image, marker, mask, cursor, pattern et rect sont concernés. Quelques corrections ont eu lieu à cette occasion.&lt;/p&gt;


&lt;h3&gt;Inspecteur redimensionnable et fermable en mode &quot;dock&quot; (&lt;a href=&quot;http://trac.webkit.org/changeset/35719&quot; hreflang=&quot;en&quot;&gt;35719&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35720&quot; hreflang=&quot;en&quot;&gt;35720&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35722&quot; hreflang=&quot;en&quot;&gt;35722&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;Lorsque l'inspecteur est intégré à la page, il est désormais possible de le redimensionner et de le fermer. J'attendais cela depuis longtemps. Il utilise d'ailleurs ce mode par défaut désormais. Et pour compléter cela, il se rappellera dans quel mode vous l'avez laissé.&lt;/p&gt;


&lt;h3&gt;Amélioration du chargement (&lt;a href=&quot;http://trac.webkit.org/changeset/35799&quot; hreflang=&quot;en&quot;&gt;35799&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35801&quot; hreflang=&quot;en&quot;&gt;35801&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;Afin d'avoir toujours de meilleures performances, quelques ajustements ont été faits&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Les feuilles de styles ont une priorité plus importante puisque le moteur ne fera pas de rendu tant qu'il n'a pas téléchargé toutes les feuilles.&lt;/li&gt;
&lt;li&gt;Pour chaque nouveau domaine, la connection est établie dès que possible, afin de réduire la latence due à l'établissement de cette connexion.&lt;/li&gt;
&lt;li&gt;Dès que le document et les feuilles de styles ont été parsées, plus la peine de maintenir de queue de téléchargements, on peut télécharger des documents de n'importe quelle priorité&lt;/li&gt;
&lt;li&gt;Pour ne pas retarder le rendu initial, les ressources dans &amp;lt;body&amp;gt; ne sont pas téléchargées tant que le rendu n'a pas commencé. Cela améliore de 25%, soit 5 secondes, le rendu initial de &lt;a href=&quot;http://www.cnn.com&quot; hreflang=&quot;en&quot;&gt;CNN&lt;/a&gt; avec une connection limitée à 300kb/s, intéressant pour les mobiles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Voilà pour cette semaine. Évidemment, ce n'est qu'une sélection que j'ai faite. Si vous avez remarqué d'autres changements intéressants, n'hésitez pas à les mentionner. Idem si je me suis trompé dans une explication.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/08/18/La-semaine-de-WebKit-3#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/08/18/La-semaine-de-WebKit-3#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/70</wfw:commentRss>
      </item>
    
  <item>
    <title>WebKit's week - #2</title>
    <link>http://hanblog.info/blog/post/2008/08/11/WebKit-s-week-2</link>
    <guid isPermaLink="false">urn:md5:bc5f95bf55ff4d08ee7f033f808fea91</guid>
    <pubDate>Mon, 11 Aug 2008 10:31:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>WebKit</category>
        <category>css animations</category><category>css transitions</category><category>profiler</category><category>squirrelfish</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://hanblog.info/blog/post/2008/08/07/La-semaine-de-WebKit-2&quot;&gt;French version&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;Changes of the week&lt;/h2&gt;

&lt;p&gt;Everything mentioned below should work with the &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;latest nightly&lt;/a&gt; available at the moment (35657).&lt;/p&gt;


&lt;h3&gt;CSS Animations implementation (&lt;a href=&quot;http://trac.webkit.org/changeset/35545&quot; hreflang=&quot;en&quot;&gt;35545&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35568&quot; hreflang=&quot;en&quot;&gt;35568&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35580&quot; hreflang=&quot;en&quot;&gt;35580&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35646&quot; hreflang=&quot;en&quot;&gt;35646&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;http://webkit.org/specs/CSSVisualEffects/CSSAnimation.html&quot; hreflang=&quot;en&quot;&gt;CSS Animation&lt;/a&gt; is a work in progress spec written by Apple. Like its mate, &lt;a href=&quot;http://webkit.org/specs/CSSVisualEffects/CSSTransitions.html&quot; hreflang=&quot;en&quot;&gt;CSS Transition&lt;/a&gt;, it allows animated effects in CSS. When transitions are just effects computed when a property is changed, animations are called explicitly to trigger a value change. There's a keyframe system to have a precise control of the animation flow. See how it works with &lt;a href=&quot;http://trac.webkit.org/browser/trunk/WebCore/manual-tests/animate-duration.html?rev=35646&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;the&lt;/a&gt; &lt;a href=&quot;http://trac.webkit.org/browser/trunk/WebCore/manual-tests/animate-none.html?rev=35646&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;different&lt;/a&gt; &lt;a href=&quot;http://trac.webkit.org/browser/trunk/WebCore/manual-tests/animate-left.html?rev=35646&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;examples&lt;/a&gt;.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35561&quot; hreflang=&quot;en&quot;&gt;Quick edition for numeric values (35561)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;For CSS properties accepting numeric values, it is now possible to increase or decrease them with the keyboard. Remember the handy shortcuts changing the amount : with Alt, we jump by 0.1, with Shift or Page Up by 10, with Shift and Page Up by 100.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35625&quot; hreflang=&quot;en&quot;&gt;Profiler's Heavy view (35625)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;OK, it's not an amazing novelty but it's a reason to talk about the new profiler. It allows you to get detailed information about the execution time of your JavaScript. Comparing to Firebug, results are displayed as a tree so you can look closer. Two views are available, Tree or Heavy, each one is interesting for different purposes. It's also possible to reduce noise by filtering the results to focus on some code. It reacts to console.profile and console.profileEnd, like Firebug.&lt;/p&gt;


&lt;h3&gt;Squirrelfish engine improvements (&lt;a href=&quot;http://trac.webkit.org/changeset/35593&quot; hreflang=&quot;en&quot;&gt;35593&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35639&quot; hreflang=&quot;en&quot;&gt;35639&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;This engine &lt;a href=&quot;http://webkit.org/blog/189/announcing-squirrelfish/&quot; hreflang=&quot;en&quot;&gt;was announced two months ago&lt;/a&gt; and since, it's always improved. I can't explain what they are doing but the figures speak for themselves : 2.6% and 2.5%  progression for the &lt;a href=&quot;http://webkit.org/perf/sunspider-0.9/sunspider.html&quot; hreflang=&quot;en&quot;&gt;SunSpider test&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;This is everything for this week. Of course, this is just a selection I've made. If you've noticed any other interesting changes, please let me know. Same thing if I got something wrong.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/08/11/WebKit-s-week-2#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/08/11/WebKit-s-week-2#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/69</wfw:commentRss>
      </item>
    
  <item>
    <title>La semaine de WebKit - #2</title>
    <link>http://hanblog.info/blog/post/2008/08/07/La-semaine-de-WebKit-2</link>
    <guid isPermaLink="false">urn:md5:058cf5d4e1856bcc35b1e9f71b5fb8ed</guid>
    <pubDate>Mon, 11 Aug 2008 09:46:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Semaine Webkit</category>
        <category>css animations</category><category>css transitions</category><category>profiler</category><category>squirrelfish</category><category>web inspector</category><category>webkit</category>    
    <description>    &lt;h2&gt;Changements de la semaine&lt;/h2&gt;

&lt;p&gt;Tout ce qui est mentionné ci-dessous doit normalement fonctionner dans la &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;dernière nightly&lt;/a&gt; disponible (35657).&lt;/p&gt;


&lt;h3&gt;Implémentation des CSS Animations (&lt;a href=&quot;http://trac.webkit.org/changeset/35545&quot; hreflang=&quot;en&quot;&gt;35545&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35568&quot; hreflang=&quot;en&quot;&gt;35568&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35580&quot; hreflang=&quot;en&quot;&gt;35580&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35646&quot; hreflang=&quot;en&quot;&gt;35646&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;http://webkit.org/specs/CSSVisualEffects/CSSAnimation.html&quot; hreflang=&quot;en&quot;&gt;CSS Animation&lt;/a&gt; est une spécification en cours d'écriture par Apple. Comme sa copine, &lt;a href=&quot;http://webkit.org/specs/CSSVisualEffects/CSSTransitions.html&quot; hreflang=&quot;en&quot;&gt;CSS Transition&lt;/a&gt;, elle permet d'obtenir des effets animés en CSS. Là où les transitions ne sont que des effets à chaque changement d'une propriété, les animations sont appelées explicitement pour provoquer un changement de valeur. Il y a un système de keyframe pour contrôler précisément le déroulement de l'animation. Voyez &lt;a href=&quot;http://trac.webkit.org/browser/trunk/WebCore/manual-tests/animate-duration.html?rev=35646&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;les&lt;/a&gt; &lt;a href=&quot;http://trac.webkit.org/browser/trunk/WebCore/manual-tests/animate-none.html?rev=35646&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;quelques&lt;/a&gt; &lt;a href=&quot;http://trac.webkit.org/browser/trunk/WebCore/manual-tests/animate-left.html?rev=35646&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;exemples&lt;/a&gt; pour plus de détails.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35561&quot; hreflang=&quot;en&quot;&gt;Édition rapide de valeurs numériques (35561)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Pour les propriétés CSS acceptant des valeurs numériques, il est désormais possible d'augmenter ou de diminuer cette valeur avec le clavier. À noter, les raccourcis claviers pratiques modifiant la valeur&amp;nbsp;: avec Alt, on saute de 0.1, avec Shift ou Page Up de 10, avec Shift et Page Up de 100.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35625&quot; hreflang=&quot;en&quot;&gt;Heavy view du profiler (35625)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Ok, ce n'est pas une nouveauté révolutionnaire, mais ça me permet de parler du nouveau profiler. Celui-ci permet de récupérer des informations détaillées sur le temps d'exécution du JavaScript dans votre page. Par rapport à celui de Firebug, il affiche les résultats sous forme d'arbre, permettant de regarder plus en détail. Deux types de vues sont disponibles Tree ou Heavy chacune ayant son intérêt. Il est aussi possible de réduire le bruit pour se concentrer sur une partie du code. Il réagit aux commandes console.profile et console.profileEnd, tout comme Firebug.&lt;/p&gt;


&lt;h3&gt;Améliorations du moteur Squirrelfish (&lt;a href=&quot;http://trac.webkit.org/changeset/35593&quot; hreflang=&quot;en&quot;&gt;35593&lt;/a&gt;, &lt;a href=&quot;http://trac.webkit.org/changeset/35639&quot; hreflang=&quot;en&quot;&gt;35639&lt;/a&gt;)&lt;/h3&gt;

&lt;p&gt;Ce moteur a été &lt;a href=&quot;http://webkit.org/blog/189/announcing-squirrelfish/&quot; hreflang=&quot;en&quot;&gt;annoncé il y a deux mois&lt;/a&gt; et depuis, il est en constante amélioration. Je ne pourrais pas du tout expliquer ce qu'ils font mais les chiffres parlent d'eux-mêmes&amp;nbsp;: 2.6% et 2.5% d'améliorations pour le &lt;a href=&quot;http://webkit.org/perf/sunspider-0.9/sunspider.html&quot; hreflang=&quot;en&quot;&gt;test SunSpider&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Voilà pour cette semaine. Évidemment, ce n'est qu'une sélection que j'ai faite. Si vous avez remarqué d'autres changements intéressants, n'hésitez pas à les mentionner. Idem si je me suis trompé dans une explication.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/08/07/La-semaine-de-WebKit-2#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/08/07/La-semaine-de-WebKit-2#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/68</wfw:commentRss>
      </item>
    
  <item>
    <title>WebKit's week - #1</title>
    <link>http://hanblog.info/blog/post/2008/08/03/WebKit-s-week-1</link>
    <guid isPermaLink="false">urn:md5:b733d854f21e9a3157103cdbc0fdaea8</guid>
    <pubDate>Sun, 03 Aug 2008 23:06:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>WebKit</category>
        <category>arora</category><category>css</category><category>qtwebkit</category><category>variables</category><category>web inspector</category><category>webkit</category><category>xmlhttprequest</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://hanblog.info/blog/post/2008/07/31/La-semaine-de-WebKit-1&quot;&gt;French version&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;I've been following the WebKit project for 4 months now and I thought it would be interesting to extract cool news of the week here. This is the first post in this series and I hope it will be interesting and live long.&lt;/p&gt;


&lt;p&gt;I'm French so my tailor is rich but my English is poor. Please correct me if you find mistakes.&lt;/p&gt;


&lt;h2&gt;Changes of the week&lt;/h2&gt;

&lt;p&gt;Everything mentioned below should work with the &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;latest nightly&lt;/a&gt; available at the moment (35531).&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35403&quot; hreflang=&quot;en&quot;&gt;CSS parser enhancements (35403)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;It's always good to improve standards compliance. The menu:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;don't fail when closing braces are not found for a declaration at the end of the file;&lt;/li&gt;
&lt;li&gt;don't accept &quot;!important fail&quot; as valid;&lt;/li&gt;
&lt;li&gt;keep accepting @import when it comes after invalid @ rules;&lt;/li&gt;
&lt;li&gt;don't drop the whole @media block when there's an error before the closing brace;&lt;/li&gt;
&lt;li&gt;some other minor css parsing revisions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35414&quot; hreflang=&quot;en&quot;&gt;Support for CSS variable declaration blocks (35414)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;The &lt;a href=&quot;http://hanblog.info/blog/post/2008/08/03/&quot; hreflang=&quot;en&quot;&gt;CSS WG&lt;/a&gt; is working (among other stuff) on &lt;a href=&quot;http://disruptive-innovations.com/zoo/cssvariables/&quot; hreflang=&quot;en&quot;&gt;CSS variables&lt;/a&gt;. To support this effort and try to find the best syntax, there are some tries in WebKit.&lt;/p&gt;


&lt;p&gt;So this week, we have support for CSS variable declaration blocks. See &lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/fast/css/variables/declaration-block-test.html?rev=35414&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;the example in a test&lt;/a&gt; to see how it works.&lt;/p&gt;


&lt;p&gt;Of course, these are experiments and do not represent the final syntax. There are other experimentations going on, like the use of the var keyword.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35421&quot; hreflang=&quot;en&quot;&gt;Support for console.group (35421)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Let's start by saying the Web Inspector (WebKit's equivalent to Firebug basically) is being refreshed. It has almost nothing to do with the one in Safari 3.1. Try it!&lt;/p&gt;


&lt;p&gt;One of the novelty is to support the same &lt;a href=&quot;http://getfirebug.com/console.html&quot; hreflang=&quot;en&quot;&gt;Console API&lt;/a&gt; as Firebug to help web developers work.&lt;/p&gt;


&lt;p&gt;This week, WebKit now supports console.group and console.groupEnd. I must point out this work was done by Keishi Hattori, one of the students participating in the &lt;a href=&quot;http://code.google.com/soc/2008/webkit/about.html&quot; hreflang=&quot;en&quot;&gt;Webkit GSoC &lt;/a&gt;.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35435&quot; hreflang=&quot;en&quot;&gt;Support for XMLHttpRequestUpload (35435)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Again, a &lt;a href=&quot;http://www.w3.org/TR/XMLHttpRequest2/&quot; hreflang=&quot;en&quot;&gt;work in progress specification&lt;/a&gt; and a testing implementation. The implementation has even more details than the latest spec I could find.&lt;/p&gt;


&lt;p&gt;The idea ? Add events to allow better knowledge about the status of the XHR request. This could allow upload forms with progress bars.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/http/tests/xmlhttprequest/upload-progress-events.html?rev=35435&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;The example&lt;/a&gt; shows the new available events and properties.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35514&quot; hreflang=&quot;en&quot;&gt;Ability to disable individual CSS properties (35514)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Also in the refresh project of the inspector. A useful functionality to analyse a web page design, try new things, etc.&lt;/p&gt;


&lt;h2&gt;News of the week&lt;/h2&gt;


&lt;p&gt;&lt;a href=&quot;http://ariya.blogspot.com&quot; hreflang=&quot;en&quot;&gt;Ariya Hidayat&lt;/a&gt; had some fun &lt;a href=&quot;http://ariya.blogspot.com/2008/07/be-my-mirror-my-sword-and-shield.html&quot; hreflang=&quot;en&quot;&gt;adding a live&lt;/a&gt; &lt;a href=&quot;http://ariya.blogspot.com/2008/08/seas-would-rise-when-i-gave-words.html&quot; hreflang=&quot;en&quot;&gt;tab previews&lt;/a&gt; in Arora (a browser based on QtWebKit).&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;This is everything for this week. Of course, this is just a selection I've made. If you've noticed any other interesting changes, please let me know. Same thing if I got something wrong.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/08/03/WebKit-s-week-1#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/08/03/WebKit-s-week-1#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/67</wfw:commentRss>
      </item>
    
  <item>
    <title>La semaine de WebKit - #1</title>
    <link>http://hanblog.info/blog/post/2008/07/31/La-semaine-de-WebKit-1</link>
    <guid isPermaLink="false">urn:md5:ee270a46fcff62f4d3c7c4e9d4492924</guid>
    <pubDate>Sun, 03 Aug 2008 17:28:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Semaine Webkit</category>
        <category>arora</category><category>css</category><category>qtwebkit</category><category>variables</category><category>web inspector</category><category>webkit</category><category>xmlhttprequest</category>    
    <description>    &lt;p&gt;Depuis le temps que je suis le projet WebKit, je me suis dit que ce serait intéressant d'en faire un résumé, à la manière de &lt;a href=&quot;http://ljouanneau.com/blog&quot; hreflang=&quot;fr&quot;&gt;Laurent Jouanneau&lt;/a&gt; pour Mozilla. C'est donc le premier billet de la série que j'espère longue et intéressante.&lt;/p&gt;



&lt;h2&gt;Changements de la semaine&lt;/h2&gt;

&lt;p&gt;Tout ce qui est mentionné ci-dessous doit normalement fonctionner dans la &lt;a href=&quot;http://nightly.webkit.org&quot; hreflang=&quot;en&quot;&gt;dernière nightly&lt;/a&gt; disponible (35531).&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35403&quot; hreflang=&quot;en&quot;&gt;Amélioration du parser CSS (35403)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Toujours une bonne chose d'améliorer le respect des standards. Au menu&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Si la dernière accolade d'un fichier est oubliée, la règle sera tout de même considérée comme bonne;&lt;/li&gt;
&lt;li&gt;Une règle finissant par &quot;!important fail&quot; ne sera plus considérée comme juste;&lt;/li&gt;
&lt;li&gt;Si une règle @import n'est précédée que de règles @ invalides, elle sera valide;&lt;/li&gt;
&lt;li&gt;Un bloc @media ne sera pas entièrement rejeté s'il y a une erreur avant l'accolade de fermeture;&lt;/li&gt;
&lt;li&gt;D'autres améliorations mineures.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35414&quot; hreflang=&quot;en&quot;&gt;Support des blocs pour les variables (35414)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Le CSS WG travaille (entre autre) sur des &lt;a href=&quot;http://disruptive-innovations.com/zoo/cssvariables/&quot; hreflang=&quot;en&quot;&gt;variables en CSS&lt;/a&gt;. Pour supporter cet effort et permettre de choisir la meilleure syntaxe, des tentatives sont faites dans WebKit.&lt;/p&gt;


&lt;p&gt;Cette semaine, ce sont donc le support de blocs en tant que variables. Voyez &lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/fast/css/variables/declaration-block-test.html?rev=35414&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;l'exemple fourni par un test&lt;/a&gt; pour mieux comprendre.&lt;/p&gt;


&lt;p&gt;Ce sont bien évidemment des tests et ne représente en rien la syntaxe finale. Il y a d'ailleurs d'autres expérimentations en cours, sur l'utilisation du mot-clef var.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35421&quot; hreflang=&quot;en&quot;&gt;Support de console.group (35421)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Commençons d'abord par expliquer que l'inspecteur web (l'équivalent de Firebug en gros) est en cours de refonte. Il n'a quasiment rien à voir avec celui de Safari 3.1. Essayez-le, vous verrez.&lt;/p&gt;


&lt;p&gt;L'un des chantiers est de supporter la même &lt;a href=&quot;http://getfirebug.com/console.html&quot; hreflang=&quot;en&quot;&gt;Console API&lt;/a&gt; que Firebug pour simplifier la vie des développeurs.&lt;/p&gt;


&lt;p&gt;Cette semaine, la nouveauté est donc le support de console.group et console.groupEnd. Il est à noter que ce travail a été réalisé par Keishi Hattori, l'un des étudiants participant au &lt;a href=&quot;http://code.google.com/soc/2008/webkit/about.html&quot; hreflang=&quot;en&quot;&gt;GSoC de WebKit&lt;/a&gt;.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35435&quot; hreflang=&quot;en&quot;&gt;Support de XMLHttpRequestUpload (35435)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Encore une &lt;a href=&quot;http://www.w3.org/TR/XMLHttpRequest2/&quot; hreflang=&quot;en&quot;&gt;spécification en chantier&lt;/a&gt; et une implémentation de test. Visiblement l'implémentation a plus de détails que la dernière spécification que j'ai pu trouver.&lt;/p&gt;


&lt;p&gt;L'idée&amp;nbsp;? Ajouter des événements permettant de mieux connaître l'état de la requête XHR. Cela permet par exemple de faire des formulaires d'upload avec une barre de progression.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/http/tests/xmlhttprequest/upload-progress-events.html?rev=35435&amp;amp;format=raw&quot; hreflang=&quot;en&quot;&gt;L'exemple joint&lt;/a&gt; montre les nouveaux événements et propriétés disponibles.&lt;/p&gt;


&lt;h3&gt;&lt;a href=&quot;http://trac.webkit.org/changeset/35514&quot; hreflang=&quot;en&quot;&gt;Possibilité de désactiver des propriétés CSS (35514)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Encore la refonte/amélioration de l'inspecteur. Une fonctionnalité bien utile pour analyser le design de sa page, faire des expérimentations, etc.&lt;/p&gt;


&lt;h2&gt;Nouvelles de la semaine&lt;/h2&gt;


&lt;p&gt;&lt;a href=&quot;http://ariya.blogspot.com&quot; hreflang=&quot;en&quot;&gt;Ariya Hidayat&lt;/a&gt; s'est amusé à &lt;a href=&quot;http://ariya.blogspot.com/2008/07/be-my-mirror-my-sword-and-shield.html&quot; hreflang=&quot;en&quot;&gt;rajouter un aperçu &lt;/a&gt; en &lt;a href=&quot;http://ariya.blogspot.com/2008/08/seas-would-rise-when-i-gave-words.html&quot; hreflang=&quot;en&quot;&gt;direct du contenu des onglets&lt;/a&gt; dans Arora (un navigateur basé sur QtWebKit).&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Voilà pour cette semaine. Évidemment, ce n'est qu'une sélection que j'ai faite. Si vous avez remarqué d'autres changements intéressants, n'hésitez pas à les mentionner. Idem si je me suis trompé dans une explication.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/07/31/La-semaine-de-WebKit-1#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/07/31/La-semaine-de-WebKit-1#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/66</wfw:commentRss>
      </item>
    
  <item>
    <title>Nouveautés Safari 3.1 : Selectors API</title>
    <link>http://hanblog.info/blog/post/2008/04/15/Nouveautes-Safari-31-%3A-Selectors-API</link>
    <guid isPermaLink="false">urn:md5:ab128c0f4def3a38a760cb72718ca133</guid>
    <pubDate>Tue, 03 Jun 2008 02:14:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Informatique</category>
        <category>DOM</category><category>javascript</category><category>nouveautes</category><category>safari</category><category>standards</category><category>webkit</category>    
    <description>    &lt;h2&gt;Présentation&lt;/h2&gt;


&lt;p&gt;Comme promis, on va parler de quelque chose de bien plus intéressant pour accélérer vos applications web. Une attente de longue date, la fameuse et célèbre &lt;a href=&quot;http://www.w3.org/TR/selectors-api/&quot; hreflang=&quot;en&quot;&gt;Selectors API&lt;/a&gt;&amp;nbsp;!
C'est l'équivalent de &lt;code&gt;$$&lt;/code&gt; en Prototype et Mootools, &lt;code&gt;$&lt;/code&gt; en jQuery, &lt;code&gt;YAHOO.util.Selector.query&lt;/code&gt; en YUI et... &lt;code&gt;document.querySelectorAll&lt;/code&gt; pour base2. &lt;sup&gt;[&lt;a href=&quot;http://hanblog.info/blog/post/2008/04/15/#pnote-63-1&quot; id=&quot;rev-pnote-63-1&quot;&gt;1&lt;/a&gt;]&lt;/sup&gt; Pour ceux qui connaissent, cela permet donc de sélectionner un liste d'éléments qui correspondent à un sélecteur CSS.&lt;/p&gt;


&lt;p&gt;L'exemple du billet précédent devient donc &lt;code&gt;document.querySelectorAll('.post')&lt;/code&gt;. Une différence à noter entre ces deux méthodes&amp;nbsp;: querySelectorAll retourne une liste statique, un tableau en quelque sorte.&lt;/p&gt;


&lt;p&gt;Regardons un peu les performances&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
var start = new Date(); for (var i = 0; i &amp;lt; 1000; i++) var list =document.querySelectorAll('.post'); new Date() - start
104
var start = new Date(); for (var i = 0; i &amp;lt; 1000; i++) var list =document.getElementsByClassName('post'); new Date() - start
2
&lt;/pre&gt;

&lt;p&gt;C'est sans appel, pour un sélecteur simple, il vaut mieux utiliser une méthode spécialisée. J'ai fait quelques autres tests. De manière générale, si vous voulez traversez simplement le DOM, tenez-vous en aux autres solutions. Cette méthode sera peut-être optimisée plus tard, ce n'est que la première implémentation.&lt;/p&gt;


&lt;p&gt;Évidemment, le navigateur ne reconnaîtra que les sélecteurs qu'il connaît. Pas de problème avec Safari 3.1 puisqu'il connaît tous les sélecteurs disponibles à ce jour (on en reparlera plus tard, peut-être). Par contre, avec IE8, ce sera plus compliqué. Oui oui, IE8 implémentera cette API&amp;nbsp;! Et comme cette API a été bien conçue, le navigateur est censé renvoyer une exception lorsqu'il ne connaît pas un sélecteur. Le monde est presque parfait&amp;nbsp;!&lt;/p&gt;


&lt;h2&gt;Les librairies&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Prototype&amp;nbsp;: dans la version de dev (un appel à un div vide puis le vrai appel)&lt;/li&gt;
&lt;li&gt;YUI&amp;nbsp;: rien&lt;/li&gt;
&lt;li&gt;mootools&amp;nbsp;: rien&lt;/li&gt;
&lt;li&gt;base2&amp;nbsp;: Oui, en dev.&lt;/li&gt;
&lt;li&gt;jQuery&amp;nbsp;: rien.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Le piège.&lt;/h2&gt;

&lt;p&gt;Le comportement de cette API est pour l'instant trompeuse. Lorsque l'on utilise cette méthode sur un élément, elle va chercher tous les éléments du document qui correspondent puis ne retourne que ceux qui sont des enfants de l'élément. Le comportement des librairies (et qui me semble plus naturel) est d'appliquer le sélecteur à partir de l'élément en question. &lt;a href=&quot;http://ejohn.org/blog/thoughts-on-queryselectorall/&quot; hreflang=&quot;en&quot;&gt;John Resig en parle bien mieux que moi&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;Les petits plus&lt;/h2&gt;

&lt;p&gt;Que peut-on faire de marrant avec cette API&amp;nbsp;? On peut par exemple récupérer tous les liens présents sur la page qu'a visité l'utilisateur. Un simple &lt;code&gt;document.querySelectorAll(':visited')&lt;/code&gt; fera l'affaire.&lt;/p&gt;


&lt;p&gt;On peut aussi récupérer la liste de tous les éléments qui sont actuellement survolés par l'utilisateur. &lt;code&gt;document.querySelectorAll(':hover')&lt;/code&gt; vous donnera satisfaction.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot;&gt;&lt;h4&gt;Notes&lt;/h4&gt;
&lt;p&gt;[&lt;a href=&quot;http://hanblog.info/blog/post/2008/04/15/#rev-pnote-63-1&quot; id=&quot;pnote-63-1&quot;&gt;1&lt;/a&gt;] Oui, cette librairie est tellement bien qu'il n'y a pas besoin d'apprendre autre chose que les standards&lt;/p&gt;&lt;/div&gt;
</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/04/15/Nouveautes-Safari-31-%3A-Selectors-API#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/04/15/Nouveautes-Safari-31-%3A-Selectors-API#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/63</wfw:commentRss>
      </item>
    
  <item>
    <title>Nouveautés Safari 3.1 : getElementsByClassName</title>
    <link>http://hanblog.info/blog/post/2008/04/10/Nouveautes-Safari-31</link>
    <guid isPermaLink="false">urn:md5:267c599a948d3f3311f4cfd6d4a72113</guid>
    <pubDate>Thu, 10 Apr 2008 20:39:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Informatique</category>
        <category>DOM</category><category>javascript</category><category>nouveautes</category><category>standards</category><category>webkit</category>    
    <description>    &lt;p&gt;Allez, on continue dans Webkit (parce que ça me botte en ce moment). Je ne suis pas tombé sur beaucoup d'articles en français résumant les nouveautés de Safari 3.1. Et comme on n'est jamais mieux servi que par soi-même...&lt;/p&gt;


&lt;p&gt;Commençons par &lt;code&gt;getElementsByClassName&lt;/code&gt;. Kékecé&amp;nbsp;? À l'instar des &lt;code&gt;getElementById&lt;/code&gt;, &lt;code&gt;getElementsByTagName&lt;/code&gt;, &lt;code&gt;getElementsByName&lt;/code&gt; c'est une méthode pour récupérer des éléments du DOM selon un critère, en l'occurence la ou les classes. Par exemple, sur la page d'accueil de ce blog, &lt;code&gt;document.getElementsByClassName('post').length&lt;/code&gt; renvoie 20 mais &lt;code&gt;document.getElementsByClassName('post odd').length&lt;/code&gt; renvoie 10. Comme toutes ces consœurs, cette méthode marche aussi à partir d'un élément du DOM, restreignant ainsi les résultats.&lt;/p&gt;


&lt;p&gt;Il faut faire attention en manipulant la liste renvoyée. Elle est &quot;live&quot;, c'est-à-dire que tout changement dans le DOM la modifie (comme &lt;code&gt;getElementsByTagName&lt;/code&gt;).
Exemple:&lt;/p&gt;
&lt;pre&gt;
var list = document.getElementsByClassName('post');
for (var i=0; i &amp;lt; list.length; i++)
{
  list[i].parentNode.removeChild(list[i]);
  alert(list.length);
}
&lt;/pre&gt;

&lt;p&gt;En exécutant cette fonction sur la page d'accueil, on verra disparaître un billet sur deux et la &lt;code&gt;NodeList&lt;/code&gt; diminuera au fur et à mesure. Attention donc en manipulant les résultats. Pour être sûr de ce qui va se passer, on peut recopier le tout dans un tableau classique, mais attention aux performances.&lt;/p&gt;


&lt;p&gt;Cette méthode est actuellement supportée par Safari 3.1 (&lt;a href=&quot;http://webkit.org/blog/153/webkit-gets-native-getelementsbyclassname/&quot; hreflang=&quot;en&quot;&gt;of course&lt;/a&gt;) et bientôt Firefox 3 et Opera 9.5. Elle fait partie du &lt;a href=&quot;http://www.w3.org/TR/html5/#getelementsbyclassname&quot; hreflang=&quot;en&quot;&gt;brouillon pour HTML 5&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Vous voyez évidemment à quoi ça sert&amp;nbsp;? Ça accélère considérablement tous les accès qu'on peut faire, si on l'utilise. Et comme de plus en plus de gens utilisent des librairies pour ne pas s'embêter avec les compatibilités entre navigateurs, on va vérifier qu'on bénéficie bien de cette amélioration quand disponible. On va surtout étudier les méthodes du style $ ou $$, qui permettent de sélectionner des éléments à partir d'un sélecteur CSS&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prototype n'a pas. Pire, &lt;a href=&quot;http://ejohn.org/blog/getelementsbyclassname-pre-prototype-16/&quot; hreflang=&quot;en&quot;&gt;ça peut casser dans les anciennes versions&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;jQuery&amp;nbsp;: y a pas non plus.&lt;/li&gt;
&lt;li&gt;mootools&amp;nbsp;: y a pas.&lt;/li&gt;
&lt;li&gt;YUI&amp;nbsp;: non plus.&lt;/li&gt;
&lt;li&gt;base2&amp;nbsp;: non plus.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bilan&amp;nbsp;: Ah bah c'est pas génial. Si j'étais mesquin, je dirais que c'est une raison de plus pour ne pas utiliser de librairies Javascript. À leur décharge, ce n'est pas vraiment nécessaire puisqu'elles utilisent XPath lorsque c'est disponible et c'est disponible sur tous les navigateurs ayant cette méthode. Pour jQuery, c'est regrettable, puisqu'elle n'a pas d'implémentation XPath. Bien évidemment, XPath est plus rapide que DOM, mais tout de même plus lent que getElementsByClassName.&lt;/p&gt;


&lt;p&gt;Mais finalement, on verra bientôt qu'il y a d'autres méthodes pour nous aider.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/04/10/Nouveautes-Safari-31#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/04/10/Nouveautes-Safari-31#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/62</wfw:commentRss>
      </item>
    
  <item>
    <title>Mon premier bug chez Webkit</title>
    <link>http://hanblog.info/blog/post/2008/04/07/Mon-premier-bug-chez-Webkit</link>
    <guid isPermaLink="false">urn:md5:20d741acd4c3555c3b220a70e22590ed</guid>
    <pubDate>Mon, 07 Apr 2008 09:40:00 +0200</pubDate>
    <dc:creator>Anthony Ricaud</dc:creator>
        <category>Informatique</category>
        <category>bug</category><category>safari</category><category>webkit</category>    
    <description>    &lt;p&gt;Depuis un petit moment, je suis de plus en plus près le projet Webkit, le moteur derrière Safari.&lt;/p&gt;


&lt;p&gt;Ayant remarqué un bug dans la gestion des évènements sur une interface que j'utilise quasi-quotidiennement, je me suis décidé hier à en faire un joli &lt;a href=&quot;http://bugs.webkit.org/show_bug.cgi?id=18337&quot; hreflang=&quot;en&quot;&gt;rapport de bug&lt;/a&gt;. J'ai aussi pu traîner un peu sur le salon IRC #webkit et l'accueil était plutôt agréable. J'ai pu poser quelques questions et apprendre qu'un nouveau &lt;a href=&quot;http://trac.webkit.org/projects/webkit/wiki/squirrelfish&quot; hreflang=&quot;en&quot;&gt;moteur Javascript&lt;/a&gt; est en cours d'écriture, que le WebInspector était en &lt;a href=&quot;http://trac.webkit.org/projects/webkit/wiki/ProposedWebInspectorUIRefresh&quot; hreflang=&quot;en&quot;&gt;cours de refonte&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;En écrivant le test minimal pour le bug, j'ai aussi remarqué que la taille minimum d'un élément &amp;lt;select&amp;gt; sur plusieurs lignes est de 4 lignes. Au premier abord, on peut se dire que ce n'est pas normal par rapport à la spécification. Mais c'est un bon point ergonomique puisqu'il est plus facile d'avoir du contexte sur 4 lignes et qu'il est impossible de présenter une barre de défilement sur 2 petites lignes. Un comportement à retenir si l'on souhaite utiliser de petites listes de sélection.&lt;/p&gt;</description>
    
    
    
          <comments>http://hanblog.info/blog/post/2008/04/07/Mon-premier-bug-chez-Webkit#comment-form</comments>
      <wfw:comment>http://hanblog.info/blog/post/2008/04/07/Mon-premier-bug-chez-Webkit#comment-form</wfw:comment>
      <wfw:commentRss>http://hanblog.info/blog/feed/rss2/comments/61</wfw:commentRss>
      </item>
    
</channel>
</rss>