What’s new in Opera development snapshots: 10 February 2011 edition
By Divya Maniannimbupani. Friday, February 10, 2012 8:47:20 PM
The new Opera Next snapshot is out with a whole slew of fixes. Download it from the links in the Desktop team's blog post or wait a while for it to show up on your Opera Next updates. Here are what would be of interest to web developers:
New Features
Implementation of XHR2 is now complete (with the addition of Upload and Progress Events).
We have introduced the Do Not Track header. Karl Dubost has more details explaining why Do Not Track header was introduced and how it works.
CSS
-
When
textareais assignedwhite-spaceproperty that is anything butnowrap, Opera (and all other browsers) continue to wrap ignoring whatever value is assigned. However, we have altered this behaviour in this snapshot to respect the style property set. For example, if you had awhite-space: preassigned to a textarea, this will make sure the textarea does not wrap text.Given that we are the only browser respecting setting of this value on textareas, we will keep a lookout for any compatibility issues - if you find any sites break in Opera because of this, please report to us.
A strange bug existed which would somehow invert the background color on which an outline color is applied if the value is set to
currentColor(See example of outline color set to currentColor). This has now been fixed.When
list-style-imageis specified with a valid image in the presence oflist-style-type: none, it should render the bullet as an image. Previously, Opera did not render the image if it was a CSS gradient, but now it does (See this example oflist-style-imagewith a gradient).Opera calculated box and text shadows incorrectly. The spec states the box shadow must be a gaussian blur with a standard deviation equal to half the blur radius. This was not the case earlier (see CSS box shadow gaussian blur compared with the SVG gaussian blur). We have now fixed this for both box and text shadows.
Text selection was impossible when you set line-height to 0 and overflow set to hidden. This has been fixed.
Opera used to drop rules that followed a declaration that had
!importantbut lacked a closing semicolon. This caused compatibility issues on numerous sites that had incorrect style declarations (all the more reason to use a tool that outputs valid styles!).You can see how having an invalid!importantimpacts styling of the text.We have been working on improving performance, and while doing so, we found a double click bug, which resulted in elements remaining in
activestate after double clicking.Style tags in embedded SVG in HTML5 were ignored, but no longer.
Removing
border-radiusviaelement.style.removePropertynow works.
APIs
EventSource has been updated to set
Use Credentialstofalseby default as per the latest update to the specification prompted by Jonas Sicking of Mozilla.postMessageused to returnfile: //localhost(for example) instead ofnullthat the specification mentions. This has been updated to return null for file scheme.Occasionally, the last progress event of the FileReaderAPI would be fired after
loadendevent, but this has now been fixed.Event.prototypenow has constantsCAPTURING_PHASE,AT_TARGET,BUBBLING_PHASE,CAPTURING_PHASE,AT_TARGET, andBUBBLING_PHASE.document.lastModifiedhas been updated to return current time if it is not known, to match the spec.We noted that traversing DOM and running cloneNodes, and setting innerHTML en masse spikes CPU usage - most notably on this redhat bugzilla page. This is much less strenuous on the CPU than before.
HTML
- When a numeric or date input element was hidden and then cleared of value and shown, the old value was still preserved (here is an example of that). This has been fixed.
Others
- about:blank is not blank enough! Previously our
about:blankpage used to look like this, this has been updated to render just what the HTML5 parser would render when a blank HTML page is served.

Martin KadlecBS-Harou # Monday, February 13, 2012 4:25:14 PM
What about document & blob return types?
Also is there any reason that you didn't use presto 2.10.256 instead of 2.10.255? (256 has returnType="json"). It would have been nice to have all XHR2 changes in one snapshot.
Otherwise, good job!
DillonAstrophizz # Tuesday, February 14, 2012 12:54:54 AM
Michael A. Puls IIburnout426 # Tuesday, February 14, 2012 5:39:36 AM
Jimtoyotabedzrock # Thursday, February 16, 2012 9:30:37 PM
Originally posted by BS-Harou:
Yeah, the 4chanx user script code had to be split because of Opera, and now we won't get all the new features.
On http://html5test.com/ if you reload the page it drops the Text response type. It makes the score go from 350 to 349.
The page also dims for some reason.
Divya Maniannimbupani # Thursday, February 23, 2012 3:36:24 PM
Originally posted by burnout426:
Fixed!
Divya Maniannimbupani # Thursday, February 23, 2012 3:38:48 PM
Originally posted by Astrophizz:
The text seems to look the same in all other browsers for me (& not centered)? Do you have a screenshot?
DillonAstrophizz # Thursday, February 23, 2012 4:26:15 PM
Kurt H Maierkurthmaier # Monday, February 27, 2012 5:45:19 PM