国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發(fā) > CSS > 正文

CSS2.2一個頭疼的東西會是何命運?

2024-07-11 08:23:33
字體:
供稿:網(wǎng)友
  HTML 5 最近風(fēng)頭大起,爭論不斷,現(xiàn)在又來了一個 CSS 2.2

  的確,CSS 3 拖的時間實在太長了…… Andy Budd 認為它之所以遲遲不能定稿是因為貪多嚼不爛(有 40 個模塊),WEB 的變化越來越快,以前定下來的東西過了一段時間發(fā)現(xiàn)又需要修改,這樣怎么改也改不完,何時是個盡頭。總想讓自己完美,總想盡可能考慮周全未來的種種狀況,結(jié)果忽略了當前真正亟待解決的問題,這是 CSS 3 目前定稿最大的障礙。于是 Andy 提議將 CSS 3 中的部分急迫內(nèi)容,或者說用來滿足一些常見需求的內(nèi)容加入 CSS 2.1 中,升級為 CSS 2.2 以促進新的 CSS 版本推出。

  不過個人感覺,這個沒有瀏覽器廠商的合作,就算 W3C 定了個 CSS 2.2 出來又能如何?Mozilla 和 Opera 倒是可以持樂觀態(tài)度,但是 IE 呢?占瀏覽器市場份額最多的 IE 呢?且不說 IE7 的份額還很少,就是還在計劃中的 IE 8 目前的目標也僅僅是完善對 CSS 2.1 的支持!CSS 2.2 出來了誰能保證它的命運不像 2.1 一樣悲慘?

  The early pace of CSS development was pretty impressive. First proposed by Hakon Lie in Oct 1994, CSS1 became one of the first W3C recommendations in Dec 1996. Nipping at its heals, CSS2 became an official recommendation in May 1998, just 18 months later. By June 1999 the first 3 draft modules of CSS3 had been published, and in their ground breaking book published that same year, Bert Bos and Hakon Lie postulated that CSS3 would arrive sometime in late 1999.

  Over 7 years later, and we’re still waiting. This begs the question, what went wrong?

  For a recent conference, I decided to do a talk on CSS3. While researching all the cool CSS3 features modern browsers support, I became intrigued why things were taking so long. I started reading up on the W3C, how it was structured, how you became a member and exactly who was on the CSS working group. I started speaking to existing members and invited experts, reading blog posts from critics and people who had resigned, and looking at every bit of public information I could find.

  Organisations pay thousands of dollars to join the W3C, and in return get to set the agenda on forthcoming technologies. While most of the companies involved are eager to shape the future of the internet in a positive direction, they all have their own agendas. Some obviously want to build better browsers, while others are worried about backwards compatibility and engineering problems. Some organisations have a vested interest in technologies such as SVG, while others are more concerned with opening the web up to different platforms like mobile phones and TV. By paying to be a member of the W3C, companies are able to get some of the brightest minds in the industry working on the issues important to their business, and who can blame them?

  CSS3 has been in development in it’s current form since early 2000. There are currently 5 modules in “Candidate Release” status, and a further 6 are in “Last Call” status. This sounds good, until you realise that the selectors module was in “Candidate Release” as far back as 2001, and got rolled back to “Last Call” in 2005. Some of the current modules are set to be rolled back, while other modules like the “Box Model” module haven’t been touched since 2002. Of the 40 or so modules, only the TV profile and media queries modules are nearing completion. Lucky us.

  There are various reasons why this is taking so long. Many of the issues are technical and can’t be avoided; problems when testing, issues with backwards compatibility and bugs with browser implementation. However there also seems to be a lot of politics involved. Discussions are getting bogged down in the same old arguments that occur time and again, priorities have been given to the wrong areas, and companies have been pursuing their own personal agendas.

  Despite being broken down into separate modules, the scope of CSS3 is vast. As well as trying to look at the needs of the current web, the W3C are trying to anticipate the future. One of the big issues is internationalisation, which brings up problems most of us haven’t even heard of before. Tibetan style text justification anybody? Also with the project taking so long, the W3C are working in a constantly shifting environment. What may have been true about the web back in 2000, may not be true today, next year or in the next decade.

  My fear is that the W3C has bitten off more than it can chew, and this is having a negative effect on the web. We currently live in a world of live texture mapping and rag doll physics. And yet as web developers, we don’t even have the ability to create rounded corner boxes programmatically. The W3C are so concerned with shaping the future, I’m worried that they may have forgotten the present. Forgotten the needs of the average web designer and developer.

  I’ve been thinking about this for a while, and wonder if we need an interim step. If CSS3 is as big and complicated as the development timeline suggests, maybe we need something simpler? Something that gives us designers and developers the tools we need today, and not the tools we need in five or ten years. Maybe we should take all of the immediately useful parts of CSS3 such as multiple background images, border radius and multi-column layout. Maybe we should take all the CSS3 properties, value and selectors currently supported by the likes Safari, Opera and Firefox. Maybe we should take all of this information and build a simpler, interim specification we can start using now. Maybe, just maybe, it’s time for CSS2.2?

  中文來自:old9 英文原文:andybudd

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 左权县| 任丘市| 葵青区| 襄汾县| 霍城县| 青州市| 天柱县| 濮阳市| 黑龙江省| 甘谷县| 伊春市| 云南省| 漳州市| 道孚县| 图木舒克市| 普安县| 德保县| 嘉善县| 奉新县| 昌平区| 墨竹工卡县| 合水县| 即墨市| 高唐县| 江都市| 景宁| 靖宇县| 瓮安县| 读书| 青冈县| 拉萨市| 莫力| 清水河县| 卢湾区| 达州市| 南召县| 定西市| 鄂尔多斯市| 齐河县| 南江县| 泸溪县|