white-space
property with a value other than nowrap
is used for <textarea>
, Opera, like other browsers, continues to wrap text, regardless of the value set. However, we decided to change the described behavior in this assembly to take into account the applied styles. For example, you have the white-space: pre
property for <textarea>
- such text should be placed exactly as it was inserted into the field, i.e. take up only two lines.<textarea>
, we will need to take a closer look around for compatibility issues. If you find sites that break due to new behavior - tell us about it, for example on Twitter: @ODevRel_ru .currentColor
value was applied, see the example of the block that is now blue, like in other browsers.list-style-image
property refers to a regular picture in the presence of list-style-type: none
, then the specified picture should become a bullet. Earlier, Opera did not draw this picture if it was created dynamically, like a CSS gradient, but now everything is in order: an example of using gradients to create bullet dynamically . Although few people know that in principle it is possible :)box-shadow
property should be rendered as a Gaussian blur with a standard deviation equal to half the blur radius. Now Opera draws the shadow correctly both for blocks and for text: see the box-shadow
comparison example with Gaussian blur in SVG .line-height:0
and overflow:hidden
. Now it is fixed.!important
at the end, but without a closing semicolon. This feature caused compatibility issues with many sites that had incorrect style rules. An excellent reason, by the way, to think about the validity of your code, khm-khm. See an example of how the incorrect use of !important
affects the appearance of the text .:active
. See example sticking situation .<style>
tags in the SVG file embedded in the HTML5 document were previously ignored, but now they are not.border-radius
property using element.style.removeProperty
now works as it should.Use Credentials
defaults to false
, in accordance with the latest specification update .postMessage
method now returns null
, as indicated in the specification, and not file: //localhost
, as before.loadend
event, but this has already been fixed.Event.prototype
now supports constants : CAPTURING_PHASE
, AT_TARGET
, BUBBLING_PHASE
, CAPTURING_PHASE
, AT_TARGET
, and BUBBLING_PHASE
document.lastModified
updated and returns the current time according to the specification.cloneNodes
and assigning innerHTML
causes excessive spikes in CPU activity on large pages like this . Now drawing such pages should take up much less CPU.<input type="date">
element was hidden, set to zero, and then shown, the old value was still displayed, as in this example . The problem has been fixed. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html dir="ltr"> <head> <title>Blank page</title> <meta name="viewport" content="width=device-width,user-scalable=no"/> </head> <body></body> </html>
<html><head></head><body></body></html>
Source: https://habr.com/ru/post/138130/
All Articles