August 08, 2005

KHTML 的 CSS3 支援度

Free/Open Source Softwares Community 的力量真是驚人,在 KDE.News 稍早介紹過 [ Next Generation KDE Technologies Ported to WebCore] 提到 KDE Developers 與 Apple [WebKit/Webcore 開發團隊] 協同開發出未來的瀏覽器技術,不僅 Apple Safari 獲得大幅度改進,KDE Konqueror 的 [KHTML] 也在標準相容度與可用性項目中,有頗大的成長。

W3C 的 [CSS WG (Cascading Style Sheets Working Group)] 已經完成許多 Draft 與 profiles 的制定,CSS3 不僅是 CSS Level 1 / Level 2 的擴充,更意味著以 XML 為主體的 Extensionale Stylesheet Language。同時,W3C 的野心相當大,我們也看到類似 [CSS TV Profile 1.0] 這樣針對 TV devices 的規格,在 Overview 一節我們可以看到:


    The CSS TV Profile specifies a conformance profile for TV devices, identifying a minimum set of properties, values, selectors, and cascading rules. The resulting CSS TV Profile includes the vast majority of CSS1, portions of CSS2 and CSS3 Module: Color. The CSS TV Profile is a proper superset of the CSS Mobile Profile, with the use of the 'tv' media type instead of the 'handheld' media type.

是此,如何銜接 W3C 的規範就變成當今的重要議題,KDE.News 的新聞報導 [KDE Commit Digest for August 5, 2005] 的評論中 ([Gea-Suan Lin] 長輩再三提醒我們,評論或討論遠比新聞內文重要得多),有幾個項目相當有趣:


    CSS 3 multiple background images
    by Jim on Saturday 06/Aug/2005, @13:24
    From one of the check-ins, it looks like Konqueror now has CSS 3 multiple background images courtesy of Safari. Read more here.
    A pretty cool test page here.

所以就目前來說,W3C 的 CSS3 multiple background images 支援已經在 KHTML 實做出來,正所謂「一圖勝千文」,先看看下圖:

引述 Morty 的介紹:

    Here's screenshot of the window at two different sizes. When you resize it and make it smaller the outer pictures slides under the central one, and they move away when making the window bigger. All wery smoothly, with only a little bit of flicker on fast resizing.

我們也可以看見 W3C WG 提出的 public-review 與 feedback request -- [Help The CSS Working Group With Backgrounds and Borders] 已經在這兩方人馬的協同開發下,獲得驗證,這是個相當好的模式。

KDE rules!

由 jserv 發表於 August 8, 2005 02:34 PM
迴響

KHTML 不是跟 Safari 翻臉了嗎?:p

b6s 發表於 August 8, 2005 05:42 PM

http://webkit.opendarwin.org/ <-- 第一段就寫得很清楚了 :-)

Apple 已經釋出善意,提供 KDE 的開發者詳細的 version control / bug / issue tracker 紀錄。所以現在合好了 :p

jserv 發表於 August 8, 2005 06:02 PM