<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bruno Abinader&#039;s Blog &#187; webkit</title>
	<atom:link href="http://www.abinader.com.br/tag/webkit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abinader.com.br</link>
	<description>Tips, guides and tutorials to share knowledge and have fun :)</description>
	<lastBuildDate>Tue, 21 May 2013 14:47:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>CSS Level 3 Text Decoration on WebKit and Blink &#8211; status</title>
		<link>http://www.abinader.com.br/2013/05/15/css-level-3-text-decoration-on-webkit-and-blink-status/</link>
		<comments>http://www.abinader.com.br/2013/05/15/css-level-3-text-decoration-on-webkit-and-blink-status/#comments</comments>
		<pubDate>Wed, 15 May 2013 16:52:23 +0000</pubDate>
		<dc:creator>Bruno Abinader</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[basyskom]]></category>
		<category><![CDATA[blink]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[css3-text]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://www.abinader.com.br/?p=112</guid>
		<description><![CDATA[It&#8217;s been a while since I wrote the last post about progress on implementing CSS Level 3 Text Decoration features in WebKit. I&#8217;ve been involved with other projects but now I can finally resume the work in cooperation with my colleague from basysKom, Lamarque Souza. So far we have implemented: text-decoration-line (link) text-decoration-style (link) text-decoration-color [...]]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">It&#8217;s been a while since I wrote the last post about progress on implementing <a href="http://www.w3.org/TR/css-text-decor-3/" target="_blank">CSS Level 3 Text Decoration</a> features in WebKit. I&#8217;ve been involved with other projects but now I can finally resume the work in cooperation with my colleague from <a href="http://basyskom.com/" target="_blank">basysKom</a>, <a href="http://lamarque-lvs.blogspot.com.br/" target="_blank">Lamarque Souza</a>. So far we have implemented:</p>
<ul>
<li><code>text-decoration-line</code> (<a href="http://www.w3.org/TR/css-text-decor-3/#text-decoration-line-property">link</a>)</li>
<li><code>text-decoration-style</code> (<a href="http://www.w3.org/TR/css-text-decor-3/#text-decoration-style">link</a>)</li>
<li><code>text-decoration-color</code> (<a href="http://www.w3.org/TR/css-text-decor-3/#text-decoration-color">link</a>)</li>
<li><code>text-underline-position</code> (<a href="http://www.w3.org/TR/css-text-decor-3/#text-underline-position">link</a>)</li>
</ul>
<p style="text-align: justify;">These properties are currently available under <code>-webkit-</code> prefix on WebKit, and guarded by a feature flag - <code>CSS3_TEXT</code> &#8211; which is enabled by default on both EFL and GTK ports. On Blink, plans are to get these properties unprefixed and under a runtime flag, which can be activated by enabling the &#8220;experimental WebKit features&#8221; flag &#8211; see <code>chrome://flags</code> inside Google Chrome/Chromium). There are still some Skia-related issues to fix on Blink to enable proper <code>dashed</code> and <code>dotted</code> text decoration styles to be displayed. In the near future, we shall also have the text-decoration shorthand as specified on CSS Level 3 specification.</p>
<p style="text-align: justify;">See below a summary of things I plan to finish in the near future:</p>
<ul>
<li><span style="line-height: 13px;"><del>[webkit] Property <code>text-decoration-line</code> now accepts <code>blink</code> as valid value</del></span></li>
<li><del>[blink] Fix implementation of <code>dashed</code> and <code>dotted</code> styles on Skia</del></li>
<li><del>[blink] Fix an issue where previous Skia stroke styles were used when rendering paint decorations</del></li>
<li>[blink] Implement <code>CSS3_TEXT</code> as a runtime flag (requires a fix on Chromium&#8217;s Windows trybots &#8211; see <a href="https://code.google.com/p/chromium/issues/detail?id=242397">link</a> for more details)</li>
<li>[webkit] Finish support for <code>text-decoration</code> shorthand (<a href="https://bugs.webkit.org/show_bug.cgi?id=92000" target="_blank">link</a>)</li>
<li>[blink] Property <code>text-decoration-line</code> now accepts <code>blink</code> as valid value (<a href="https://code.google.com/p/chromium/issues/detail?id=239810" target="_blank">link</a>)</li>
<li>[blink] Finish support for <code>text-decoration</code> shorthand (<a href="https://code.google.com/p/chromium/issues/detail?id=165462" target="_blank">link</a>)</li>
<li>[blink] Move <code>text-underline-position</code> out of <code>CSS3_TEXT</code> and replace it with a runtime flag (<a href="https://code.google.com/p/chromium/issues/detail?id=239225" target="_blank">link</a>)</li>
</ul>
<p style="text-align: justify;"><strong>Note:</strong> Please do not confuse <code>text-decoration</code>&#8216;s <code>blink</code> value with <a href="http://chromium.org/blink" target="_blank">Blink</a> project <img src='http://www.abinader.com.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;">Stay tuned for further updates!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abinader.com.br/2013/05/15/css-level-3-text-decoration-on-webkit-and-blink-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebKit CSS3 text-decoration properties (preview)</title>
		<link>http://www.abinader.com.br/2012/08/01/webkit-css3-text-decoration-properties-preview/</link>
		<comments>http://www.abinader.com.br/2012/08/01/webkit-css3-text-decoration-properties-preview/#comments</comments>
		<pubDate>Wed, 01 Aug 2012 21:58:43 +0000</pubDate>
		<dc:creator>Bruno Abinader</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS2.1]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[css3-text]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://www.abinader.com.br/?p=73</guid>
		<description><![CDATA[WebKit currently supports CSS Text Level 2.1 version of text-decoration property (link). This version treats only about the decoration line types (underline, overline, line-through and blink &#8211; the latter is not supported on WebKit). The draft version of CSS Text Level 3 upgrades text-decoration (link) property as a shorthand to 3 newly added properties, named text-decoration-line [...]]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">WebKit currently supports CSS Text Level 2.1 version of <code>text-decoration</code> property (<a title="CSS2.1 text-decoration property specification link" href="http://www.w3.org/TR/CSS21/text.html#decoration" target="_blank">link</a>). This version treats only about the decoration line types (<span style="text-decoration: underline;">underline</span>, <span style="text-decoration: overline;">overline</span>, <span style="text-decoration: line-through;">line-through</span> and blink &#8211; the latter is not supported on WebKit).</p>
<p style="text-align: justify;">The draft version of CSS Text Level 3 upgrades <code>text-decoration</code> (<a title="CSS3 text-decoration specification link" href="http://dev.w3.org/csswg/css3-text/#text-decoration" target="_blank">link</a>) property as a shorthand to 3 newly added properties, named <code>text-decoration-line</code> (<a title="CSS3 text-decoration-line property specification link" href="http://dev.w3.org/csswg/css3-text/#text-decoration-line" target="_blank">link</a>), <code>text-decoration-style</code> (<a title="CSS3 text-decoration-style specification link" href="http://dev.w3.org/csswg/css3-text/#text-decoration-style" target="_blank">link</a>) and <code>text-decoration-color</code> (<a title="CSS3 text-decoration-color specification link" href="http://dev.w3.org/csswg/css3-text/#text-decoration-color" target="_blank">link</a>), and also adds <code>text-decoration-skip</code> (<a title="CSS3 text-decoration-skip specification link" href="http://dev.w3.org/csswg/css3-text/#text-decoration-skip" target="_blank">link</a>) property.</p>
<p style="text-align: justify;">Among other WebKit stuff I&#8217;ve been doing lately, this feature implementation is one of the most cool ones I&#8217;m enjoying implementing. I&#8217;ve grabbed the task of implementing all of these <em>CSS3</em> text-decoration* properties on WebKit, and results are great so far!<span id="more-73"></span></p>
<p style="text-align: justify;">As you can see below, these are the new text decoration styles (<code>solid</code>, <code>double</code>, <code>dotted</code>, <code>dashed</code> and <code>wavy</code> &#8211; the latter still requires platform support) available:</p>
<div id="attachment_80" class="wp-caption aligncenter" style="width: 810px"><a href="http://www.abinader.com.br/wp-content/uploads/2012/08/text-decoration-style-expected1.png"><img class="size-full wp-image-80" title="text-decoration-style-expected" src="http://www.abinader.com.br/wp-content/uploads/2012/08/text-decoration-style-expected1.png" alt="" width="800" height="600" /></a><p class="wp-caption-text">Text decoration style layout test results on Qt platform</p></div>
<p style="text-align: justify;">And also specific text decoration colors can be set:</p>
<div id="attachment_75" class="wp-caption aligncenter" style="width: 810px"><a href="http://www.abinader.com.br/wp-content/uploads/2012/08/text-decoration-color-expected.png"><img class="size-full wp-image-75" title="text-decoration-color-expected" src="http://www.abinader.com.br/wp-content/uploads/2012/08/text-decoration-color-expected.png" alt="" width="800" height="600" /></a><p class="wp-caption-text">Text decoration color layout test results on Qt platform</p></div>
<p style="text-align: justify;">These features (with exception to <code>text-decoration-skip</code> property) are already implemented on Firefox, thus it gets easier to compare results with different web engines. It is important to notice since <em>CSS3</em> specification is still in development, all these properties have a <code>-webkit-</code> prefix (ie. <code>-webkit-text-decoration</code>), so <code>text-decoration</code> still maintains <em>CSS2.1</em> specification requirements. The patches are being reviewed and will soon land upstream, let&#8217;s hope it will be soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abinader.com.br/2012/08/01/webkit-css3-text-decoration-properties-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A guide for Qt5/WebKit2 development setup for Nokia N9 on Ubuntu Linux</title>
		<link>http://www.abinader.com.br/2012/04/11/a-guide-for-qt5webkit2-development-setup-for-nokia-n9-on-ubuntu-linux/</link>
		<comments>http://www.abinader.com.br/2012/04/11/a-guide-for-qt5webkit2-development-setup-for-nokia-n9-on-ubuntu-linux/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 07:18:56 +0000</pubDate>
		<dc:creator>Bruno Abinader</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[basyskom]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://www.abinader.com.br/?p=13</guid>
		<description><![CDATA[As part of my daily activities at basysKom on QtWebKit maintenance and development for Nokia devices, it is interesting to keep a track on latest developments circa QtWebKit. There is currently a promising project of a Qt5/WebKit2-based browser called Snowshoe mainly developed by my fellow friends from INdT which is completely open-source. This browser requires latest Qt5 and QtWebKit binaries [...]]]></description>
				<content:encoded><![CDATA[<p><!--:en-->
<p style="text-align: justify;">As part of my daily activities at <a title="basysKom official website" href="http://www.basyskom.com/" target="_blank">basysKom</a> on QtWebKit maintenance and development for Nokia devices, it is interesting to keep a track on latest developments circa QtWebKit. There is currently a promising project of a Qt5/WebKit2-based browser called <a title="Snowshoe official website" href="http://snowshoe.qtlabs.org.br/" target="_blank">Snowshoe</a> mainly developed by my fellow friends from <a title="INdT official website" href="http://www.indt.org/?lang=en" target="_blank">INdT</a> which is completely open-source. This browser requires latest Qt5 and QtWebKit binaries and thus requires us to have a functional build system environment. There is a guide available on WebKit&#8217;s wiki (<a title="WebKit guide on setting up development environment for Nokia N9 device." href="http://trac.webkit.org/wiki/SettingUpDevelopmentEnvironmentForN9" target="_blank">link</a>) which is very helpful but lacks some information about compilation issues found when following the setup steps. So I am basing this guide from that wiki page and I hope that it gets updated soon <img src='http://www.abinader.com.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;"><!--:--><span id="more-13"></span><!--:en--></p>
<p>On this guide it is assumed the following:</p>
<ul>
<li>All commands are issued on a Linux console. I am not aware of how this guide would work on other systems.</li>
<li>All commands are supposed to be issued inside base directory, unless expressely said otherwise (ie. cd <em>&lt;QT5_DIR&gt;</em>).</li>
<li>You might want to check if you have <em>git</em> and <em>rsync</em> packages installed in your syste<em>m.</em></li>
</ul>
<h2 style="text-align: justify;">1. Install Qt SDK</h2>
<p style="text-align: justify;">In order to build Qt5 and QtWebKit for Nokia N9, you need to set up a cross-compiler. Thankfully, Qt SDK already comes with a working setup. Please download the <em>online installer</em> from Qt Downloads section (<a title="Qt Downloads website" href="http://qt.nokia.com/downloads/" target="_blank">link</a>).</p>
<blockquote>
<p style="text-align: justify;"><strong>NOTE</strong>: The offline installer comes with an outdated version of the MADDE target, which can be updated by running the script below and chosing &#8220;Update components&#8221; when asked:</p>
<pre>$ ~/QtSDK/SDKMaintenanceTool</pre>
</blockquote>
<h2 style="text-align: justify;">2. Directory setup</h2>
<p>It is suggested (and actually required by some build scripts) to have a base directory which holds Qt5, Qt Components and WebKit project sources. The suggested base directory can be created by running:</p>
<pre>$ mkdir -p ~/swork</pre>
<blockquote><p><strong>NOTE</strong>: You can actually choose another directory name, but so far it is required by some scripts to have at least a symbolic link pointing to <em>&lt;HOME_DIR&gt;/swork</em>.</p></blockquote>
<h2>3. Download convenience scripts</h2>
<h3>3.1. browser-scripts</h3>
<pre>$ git clone https://github.com/resworb/scripts.git browser-scripts</pre>
<h3>3.2. rsync-scripts</h3>
<pre>$ wget http://trac.webkit.org/attachment/wiki/SettingUpDevelopmentEnvironmentForN9/rsync-scripts.tar.gz?format=raw
$ tar xzf rsync-scripts.tar.gz</pre>
<h2>4. Download required sources</h2>
<h3>4.1. testfonts</h3>
<pre>$ git clone git://gitorious.org/qtwebkit/testfonts.git</pre>
<h3>4.2. Qt5, QtComponents and WebKit</h3>
<p>The script below when successfully run will create <em>~/swork/qt5</em>, <em>~/swork/qtcomponents</em> and <em>~/swork/webkit</em> directories:</p>
<pre>$ browser-scripts/clone-sources.sh --no-ssh</pre>
<blockquote><p><strong>NOTE:</strong> You can also manually download sources, but remember to stick with the directory names described above.</p></blockquote>
<h1>5. Pre-build hacks</h1>
<h3>5.1. Qt5 translations</h3>
<p>Qt5 translations are not being properly handled by cross-platform toolchain. This happens mainly because <em>lrelease</em> application is called to generate Qt message files, but since it is an ARMEL binary your system is probably not capable of running it natively (unless you have a <em>misc_runner</em> kernel module properly set, then you can safely skip this step). In this case, you can use lrelease from your system&#8217;s Qt binaries without any worries.</p>
<p>If you have a Scratchbox environment set, it is suggested for you to stop its service first:</p>
<pre>$ sudo service scratchbox-core stop</pre>
<p>Now you can manually generate Qt message files by running this:</p>
<pre>$ cd ~/swork/qt5/qttranslations/translations
$ for file in `ls *ts`; do lrelease $file -qm `echo "$file" | sed 's/ts$/qm/'`; done</pre>
<h3>5.2. Disable jsondb-client tool</h3>
<p><em>QtJsonDB</em> module from Qt5 contains a tool called <em>jsondb-client</em>, which depends on <em>libedit</em> (not available on MADDE target). It is safe to disable its compilation for now:</p>
<pre>$ sed -i 's/jsondb-client//' ~/swork/qt5/qtjsondb/tools/tools.pro</pre>
<h3>5.3. Create missing symbolic links</h3>
<p>Unfortunately Qt5 build system is not robust enough to support our cross-compilation environment, so some symbolic links are required on MADDE to avoid compilation errors (where &lt;USER&gt; is your system user name):</p>
<pre>$ ln -s ~/swork/qt5/qtbase/include ~/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/home/&lt;USER&gt;/swork/qt5/qtbase
$ ln -s ~/swork/qt5/qtbase/mkspecs ~/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/home/&lt;USER&gt;/swork/qt5/mkspecs</pre>
<h2>6. Build sources</h2>
<p>You can execute the script that will build all sources using cross-compilation setup:</p>
<pre>$ browser-scripts/build-sources.sh --cross-compile</pre>
<p style="text-align: justify;">If everything went well, you now have the most up-to-date binaries for Qt5/WebKit2 development for Nokia N9. Please have a look at <a href="http://trac.webkit.org/wiki/SettingUpDevelopmentEnvironmentForN9" target="_blank">WebKit&#8217;s wiki</a> for more information about how to update sources after a previous build and information on how to keep files in sync with device. The guide assumes PR1.1 firmware for N9 device, which is already outdated, so I might come up next with updated instructions on how to safely sync files to your PR1.2-enabled device.</p>
<p>That&#8217;s all for now, I appreciate your comments and feedback!<!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.abinader.com.br/2012/04/11/a-guide-for-qt5webkit2-development-setup-for-nokia-n9-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
