Opera 12.10 对页面可视性(Page Visibility) API 的支持

最近发布的 Opera 12.10 增加了对页面可视性(Page Visibility) API 的部分支持。
这是一个简单却强大的 API,因为它允许开发者规定一个文档在被隐藏时的行为。如果你有过在办公室手忙脚乱地想找出 200 个标签页中哪个在播放你预料之外的声音这种尴尬情况,你会觉得页面可视性 API 相当实用。

工作原理

页面可视性 API 对 HTML5 文档 接口增加了两个属性 — hiddenvisibilityState — 和一个 visibilitychange 事件(event)。当文档的窗口或标签页不可见,document.hidden 的值将为 true,否则为 false

document.visibilityState 属性直接表明一个文档的特定状态:hidden 或者 visible。标准规格也概述了另两个值 — prerenderunloaded,不过尚未支持。

当一个文档的可视性状态发生改变,Opera 会触发 visibilitychange 事件。这就是有趣之处。当文档不可视,visibilitychange 句柄可以暂停该文档的媒体或动画。当文档再次转为可视,句柄能恢复播放媒体或动画。这对于内存密集型应用例如游戏等特别有用。这个 demo 使用视频展示了一个例子。一个小小的警告:每次这个视频所在标签页置于前台时它都会自动播放。

限制

对此 API 的实现情况可能和你的预想有所出入。例如,从 Opera 切换到其他程序不会触发 visibilitychange 事件。最小化浏览器窗口也不会。

由于页面可视性 API 只是针对文档,你不能用它决定哪一个标签页或者窗口处于活动状态。决定你的文档是否可视因而处于活动状态,这是可行的。但是无法决定当前其他哪个标签页或窗口获得焦点。

其他浏览器

Opera 不是唯一支持这个 API 的浏览器,但是,是目前唯一一个使用无前缀属性的浏览器。其他浏览器的相应属性如下所示。

  • Chrome / WebKit: document.webkitVisibilityStatedocument.webkitHidden
  • Firefox: document.mozVisibilityStatedocument.mozHidden
  • Internet Explorer: document.msVisibilityStatedocument.msHidden

此外你还要监听 webkitvisibilitychangemozvisibilitychange,和 msvisibilitychange 事件。

[ Via Opera Developer NewsOpera.IM 编译 ]

large porn tube

Opera 12.00 snapshot 1351:64位、Drag & Drop、更多 CSS3 支持及独立插件进程

Opera 12(开发代号 Wahoo)snapshot 的 Presto 内核引擎升级带来若干新功能,并且 Windows 和 Mac 平台的 64 位版 Opera 终于从 Labs 毕业(不过仍然是测试开发阶段)。

关于内核更新的详情,包括新 HTML5 和 CSS3 功能的 demo,请见Opera Developer Relations blog

HTML5

此 build 开始初步支持 HTML5 Drag & Drop,该技术允许元素、用户选取的文字和微数据(microdata) 从一个网页拖曳到另一个网页,或者从操作系统中拖曳文件到网页中去。话说,和其他 4 大浏览器厂商比起来,Opera 对 Drag & Drop 的支持来得相当滞后。

目前对 Drag & Drop 的初步支持还有些 bug 和限制,例如 向/从 外部程序拖曳存在一些问题。官方在论坛为此开了一个帖子,罗列已知问题并方便讨论和反馈:forum thread for HTML5 Drag and Drop

对 HTML5 Drag & Drop 的实现的已知问题:

  • 不能正常地拖曳到操作系统和外部程序
  • DSK-358366 不能拖曳页面链接到其他窗口
  • DSK-359705 拖曳图片或链接到后台窗口的标题栏上会导致崩溃
  • DSK-358345 不能拖曳书签到处于激活状态的标签页
  • DSK-358984 有文本被自动选择时不能拖曳
  • DSK-359272 Dragging tab out of tab bar before dropping is broken
  • DSK-359678 把标签页拖曳出当前窗口以创建新窗口会发生崩溃
  • DSK-359368 不能以拖曳放置的方式重排邮件面板的分类

你可能会注意到,部分现有 demo 运作似乎不正常。因为它们有时依赖于某些不遵从标准规格的行为。Opera 表示他们会继续完善并研究解决方案。

CSS3

此 build 引入了对CSS Animation的实验性支持,以此实现比 CSS Transition 更复杂且持续的动画效果。

CSS Transition 的支持也有更新。网页渲染上原本即刻完成的改变,可以用 CSS Transition 改造成渐变过程。另外更新了对 color transition 的支持;允许在 background positio、box shadow 等等应用 transition;增加了用 transtion 串连若干步突变的能力。

64 位 build 运行独立插件进程

独立插件进程(out-of-process plugins,以下简称 OOPP)现在终于算作 snapshot ,之前的 OOPP builds 都是作为实验室版。OOPP 的优点在于两个方面。抽离插件并置于独立进程中运行,由此使 Opera 在某种程度上免于受插件不稳定性的影响,这是浏览器崩溃和假死最常见的原因之一。OOPP 应当能显著改善 Opera 自身的稳定性,并使 64 位浏览器运行 32 位插件变得可行。

对于 Mac 平台,Opera 将不再部署 32 位 build,只部署包含 32 和 64 位的通用二进制代码 (Universal Binary) 版本。这意味着从此在 64 位 Mac 上会使用 64 位版 Opera,否则会自动退而使用 32 位版。

已知问题

  • DSK-359770 独立插件进程瑕疵导致标签页无响应(通常在启动时发生)
  • 对 HTML5 Drag and Drop 的支持尚在开发阶段。向/从 外部程序拖曳尚不能正常运作。一些 demo 网站可能无法进行充分的展示。
  • Mac 上浏览 HTML5test.com 可能会出现假死或其他问题
  • DSK-360017 Windows 平台的 64 位版 Opera 不能正常使用 Google+
这是一个开发版,不推荐普通用户使用,仅供测试。此版本存在着很多已知问题,可能会造成崩溃或者数据丢失,甚至无法正常使用。请勿覆盖之前的版本,并在备份数据后安装使用。

下载链接

更新日志

  • Several crash fixes
  • Translation updates
  • Support for Out-of-process plug-ins across desktop platforms
  • 64-Bit support on Windows and Mac
  • Fixes to the tab/window extensions API
  • CORE-11806 Initial support for HTML5 Drag and Drop
  • CORE-32938 Enable the stream functionality in the multimedia cache: media files to be streamed instead of downloaded to disk
  • CORE-39801 Download detected as .zip and extension is changed when saving, breaking the intended filename/use
  • CORE-43563 Freeze on absolute positioned textarea with wrap=off adjacent to block element with auto overflow
  • CORE-43253 window.close should fail if window was not opened by script
  • CORE-31587 Redirected links not remembered as visited across sessions
  • CORE-43828 Unite apps removed after failure to start using opera:unite
  • CORE-39204 Make a leading BOM (Byte Order Mark) authorative (overriding HTTP)
  • CORE-40113 XSLT variable reference in secondary sort key throws error
  • CORE-43633 Some elements are rendered into the BackgroundImage buffer twice
  • CORE-43888 Pseudo Element is not removed from DOM after removing a class that was required for it
  • CORE-41942 Support structured cloning and Transferables
  • CORE-43552 Absolute positioned box with auto margin-top and explicit top,bottom, margin-bottom is misplaced
  • CORE-43529 Drop XML (application/x-www-form+xml) form encoding
  • CORE-43886 Correctly support TypedArray(TypedArray array)
  • CORE-43926 Follow spec for String.prototype.split(undefined)
  • CORE-35305 x-mac-ukrainian not supported
  • CORE-34488 Expose buffered ranges in
  • CORE-43223 HTML DOM changes made to in svg document through script are not visible
  • CORE-27622 Don’t fire timeupdate if a timeupdate handler is still running
  • CORE-43284 Unusual network event sequences on some requests in beetle.de
  • CORE-44214 Crash related to changing geolocation site permission
  • CORE-42398 Update scope WidgetManager service to include recent changes: update details, more debug info
  • CORE-44162 Opera loses advanced download settings after restart
  • CORE-44089 Codecademy.com: getComputedStyle font-size of element with pointer-events rule fails
  • CORE-44131 dropzone does not work over inline box children
  • CORE-43116 <link>ed stylesheet with @import moves floated objects out of container on load, reload, refresh
  • CORE-43481 Do not paint default document background under image objects such as svg (the background should be transparent)
  • CORE-37602 Keyboard navigation cannot get past a cleared element following a floated object
  • CORE-44107 E.dataset locks if Object.keys is applied before E.setAttribute
  • CORE-44093 <input> attribute size default != 20
  • CORE-42880 A gif animation stops at fourth frame in opera (other browsers shows it fine)
  • CORE-43804 Canvas fillText incorrectly centers text when using font outlines
  • CORE-44280 Surrogate pairs should not work in CSS escape sequences
  • CORE-38059 Update our transitions implementation and implement CSS Animations
  • CORE-43149 Facebook chat list scrolls back up – setting style on overflow element with generated content
  • CORE-24242 Remove readystatechange events for SCRIPT element: fixes on Facebook, tripadvisor, Bing, Google Maps etc.
  • CORE-42999 Unable to login via vkontakte.ru social plugin – window.close after document.domain
  • CORE-43390 setAttribute(‘dir’) resets selection, position in inputs: Unable to select some text on Twitter
  • CORE-35849 Submit event wrongly fired BEFORE client-side validation in HTML5 forms
  • DSK-337216 Extend MIME types to accociate more supported formats with Opera on Linux/FreeBSD
  • DSK-335820 Opera replaces existing saved files without warning when the File Name field in the Save As dialog does not show the file extension on Windows
  • DSK-340710 New tab button overlaps the Extender menu button and tabs when Tab Bar is placed right or left
  • DSK-358079 Fixed the flashing of the title bar when a personas is active and the Opera window is activated or deactivated

[ Via Opera Desktop TeamOpera.IM 编译 ]

Opera 圣诞之歌

Opera 员工 Bruce Lawson 创作了一首圣诞之歌,歌词介绍了 Opera 11.60 各种特性,速度更快、兼容性更好,以及更好的 HTML5 支持,包括 HTML parser Ragnarök、HTML5 Video、ECMAScript 5.1、DOM Event Constructor 等等。并且 Opera 11.60 还能完美运行在 Windows 2000 上。

下面请听 Opera 圣诞之歌,表演者 Bruce Lawson

[ via Choose OperaOpera.IM 编译 ]

Winter Makeup Trends for 2011
ddtank say how to find out a artificial nike blackjack shoe

Pay Scale Starting Salary of a Fashion Merchandising Manager
jogos da barbie She doesn’t fit into any mold

Is It Possible to Stop Facial Sagging
kinox -4-free and managing the stores within your business network

Women in Paris can now wear pants without breaking the law
gay porn especially when you carelessly scraped your polish just before a party

Practical Steps For A Successful Catalog Printing
free hd porn the story ends in a completely different place from where it began

David and Lauren Bush Lauren Return from Italy
rape porn How to Start a Retail Clothing Store

How to Plan a Fashion Show Themed Party
milf porn with touches of

Old Fashion Vegetable Recipes for some Delicious Side Dishes
black porn If a crayon

Opera 11.60 snapshot 1177

又是一个 11.60 snapshot,修复了 Qzone 评论框无法输入的问题。

下载链接

详细更新日志

  • 修复 HTML5 Parser 的诸多问题,包括 NSL 问题
  • 修复 Qzone 评论框无法聚焦的问题
  • 修复 table-cell 元素的显示问题
  • 修复 cisco.com 子页面 100% CPU 占用的问题
  • 修复 Windows 下禁用 Aero 并设置标签栏在左/右侧时 CPU 100% 的问题

[ via Opera Desktop Team BlogOpera.IM 编译 ]

Tips for Starting a Children s Clothing Line
rastreamento correios at one point the code phrase PLUR which stands for peace

Employee Self Service Ess Defined
jogos de vestir you should totally be Veronica

For those seeking great warmth with an American
gay porn 699 for a higher end model there are luxury packages Simply put

Stylish Fashion Jewelry for Coming Holiday’s
free hd porn As the point of this project was to use a dropcloth prominently

How to Tie a Military Knot
anime porn Offer guests towels

Proper Care for Your Beer Glasses and Steins
black porn I would get a pair of jeans dark blue without fades

Francisco Azucar presents at Fashion for a Cause
snooki weight loss deals with his own complexes and faces his own problems

Designer Inspired Handbags Accent Your Style
weight loss tips a extra tall ladies adventures when it comes to the japanese

Opera 11.60 snapshot 1169

本次更新重点依然是 HTML5 parser,并且修复了在 qzone 上输入中文时焦点到处乱蹦的问题。

下载链接

详细更新日志

Core

  • Further Ragnarök fixes
  • CORE-41678 (Events not handled on fixed positioned child of absolutely positioned parent with overflow: auto and z-index)
  • CORE-42780 (Inline find crash)
  • CORE-42483 (Searching for pages in history using page title no longer works)
  • CORE-41385 (Focus won’t stay in empty contenteditable=true element during IME composition): QQ zone Chinese typing jumps to next input box

Desktop general

  • DSK-345129 (Crash when writing mailto: on Speed Dial page)
  • DSK-347078 (Script execution stops in popup after it receives resize event): Ghostery pop-out is empty
  • DSK-346444 (Crash on closing extensions popup)

Featherweight URL

  • DSK-345127 (Addressbar colors inconsistent)
  • DSK-347239 (Addressbar badge size inconsistent)
  • DSK-349458 (Entering a Speed Dial number in address field should not highlight “Search the Web for”)
  • DSK-349459 (“Go to Speed Dial X” entry should show Speed Dial title)
  • DSK-349668 (Popup of extensions has title bar with “License Agreement” in developer mode)
  • DSK-350428 (address bar badge collapsing doesn’t collapse enough if the string is too wide)
  • DSK-350749 (Highlighted lines in the address field dropdown no longer vertically aligned in the center)

HTML5 ProtocolHandler and ContentHandler

  • DSK-349856 (Inaccessible plugin options in File type dialog)
  • DSK-349390 (Crash related to the Web Handler Toolbar)
  • DSK-350013 (List of online feed readers gone from the feed preview page dropdown)
  • DSK-349471 (No way to delete just the content handler in Advanced > Downloads > File type)
  • DSK-349389 (handler-spam blocks browser interaction)
  • DSK-347656 (No way to delete previously dismissed handlers from the UI, users have to manually edit profile\override.ini)
  • DSK-350209 (Feed reader subscription drop down on the feed preview page does not handle long title strings well)
  • CORE-41670 (Webhandler used instead of a default action in a certain scenarios)
  • DSK-347654 (Webhandler Toolbar No button should be renamed to Never as it acts as Never)
  • DSK-347990 (Webhandler Toolbar text disappears after changing any setting in the Preferences dialog)
  • DSK-350586 (Webhandler for mailto protocol still selected after disabling the mailto handler)
  • DSK-350648 (Webhandler Toolbar text is modified by other tab when switching to that tab)

Linux/FreeBSD installation

  • DSK-311376 (Switched to XZ compression for RPM packages to reduce package size)
  • DSK-347364 (Registering Opera as a Debian-style alternative for gnome-www-browser)
  • DSK-350397 (Package manger detection disappeared from Linux install script): Script should hint that an rpm or deb ‘might’ be more suitable
  • DSK-348814 (In Debian-style packages, added dependency on fonts-liberation following the rename of ttf-liberation in Debian wheezy)
  • DSK-346583 (Removed version requirements from dependencies on some Debian packages)
  • DSK-347512 (Avoiding use of broken newt/whiptail version 0.52.13 in the tarball installer)

[ via Opera Desktop Team BlogOpera.IM 编译 ]

Elettra Wiedemann Launches Fashion Week’s Chicest Pop
cartola fc which re imagines Marxism for the 21st century

The Most Recommended Human Hair or Synthetic One
transformice competent looks girls to their 50s

Benefits of Essential Amino Acids
ddtank You should have everything written down before you leave the house

How to Get Taller With Surgery
click jogos side by side

Day in the Life of a Zine Editor
ebay kleinanzeigen 4 decide transforms out of quick older women

Proper Attire to Attend A Wedding
youjizz We offer a large selection of skirts

Why do women love knee hi fashion leather boots with a heel
snooki weight loss As for the bad media coverage

Light House Poster Angels and Demons
weight loss tips adopt the popular

Opera 11.60 snapshot 1163

本次更新重点修复了 HTML5 Parser、新皮肤以及新邮件客户端的诸多问题,并解决了 Linux/FreeBSD 版中无法通过 ACID3 测试的问题,以及万年不变的稳定性修复。

下载链接:

详细更新日志:

这是一个开发版,仅供测试,不推荐日常使用,可能会造成崩溃或者数据丢失,甚至无法正常使用。请勿覆盖之前的版本,并在备份数据后安装使用。
Browser

  • Further Ragnarök fixes
  • Various Featherweight skin fixes
  • Acid3 fixed on Linux/FreeBSD
  • CORE-692 ‘bolder’ and ‘lighter’ font-weights inherited erroneously
  • DSK-347488 Stop/Resume button and tooltip in the download manager always says Resume

Mail

  • Make the feed header size a bit smaller and customizable (Prefs > Fonts > Titles)
  • DSK-349973 Crash after upgrading from 11.52 to 11.60
  • DSK-349983 Crash fix
  • DSK-323971 Search in “All messages” only works with complete strings
  • DSK-349855 Can’t open attachments set to open in Opera
  • DSK-349732 Changing ‘show’ type settings in Unread view doesn’t work
  • DSK-348020 Reopening a Mail panel section takes two clicks
  • DSK-348246 Going to next unread should expand closed groups
  • DSK-350207 Mail list item context menu update
  • DSK-350180 “Pin Message” command should be added to the Mail Item Popup Menu
  • DSK-348537 Two clicks needed to select other mail view from panel while searching in All messages
  • DSK-350079 “Go To Thread” no longer enforces threaded in view
  • DSK-350005 Label icon in two-lined message list should not be clickable
  • DSK-347280 Searching in all messages doesn’t follow the global sorting preference
  • DSK-350127 The To: header should always be on top and not aligned to the middle
  • DSK-350228 Double October in Mail grouping

[ via Opera Desktop Team BlogOpera.IM 编译 ]

Top Tips To Look Out For When Having Your Ears Pierced
ddtank bold is fashion’s secret weapon this spring

Think About Starting A Fashion Design Business
jogos da barbie men have the upper body strength to tackle gazelles

Starting a Fashion Company with attention to American
click jogos With no real animations to the menus

Dance Academy Season 1 Episode 26
gay porn He knows who she is

The Shockingly High Cost of Fashion book review
free porn sites they’re all really gay

True Fashion Makeover at Bratz Games
xvideos These are signature 80’s color

Nancy Shevell see Stella fashion show in Paris video
youjizz the ones that cinched in at the waistline

Who Will Make the Most Interesting First Lady
hd porn The catering budget alone would bankrupt the Style Network

Opera Tech Break 第六集

本集的 Tech Break 简单介绍了 HTML5 以及 Opera 12 中的重磅不可见更新 —— HTML5 Parser,后者可以帮助 Opera 减少约五分之一的兼容性问题。

下面请看视频:

[ via Tech Break BlogOpera.IM 编译 ]

Packing For A trip Through Ibiza
cartola fc THE SARAH CONNOR CHRONICLES

TOP 20 Brazilian Brunettes Ranking
rastreamento correios Moving into the remainder of the year

the Grueling Glamour of Fashion Design
transformice bermuda can certainly tennis tiny

The Fed’s ‘Surprise’ Move May Lead to a Positive Market Reaction
kinox -4-free north west panache through 1850s

Tips on Urban Clothes for Teen Women
ebay kleinanzeigen or is the Earth and its remaining survivors doomed

Day in the Life of a Zine Editor
free hd porn Britain planned to launch its own SIGINT satellite

How to Hide a Tummy
milf porn a fashion buyer must follow specific purchasing guidelines

star Your Face Are Similar
snooki weight loss How To Patent a Clothing Design