📜 ⬆️ ⬇️

New Alpha Opera 12.00 for developers


Opera 12.00's new alpha build brought so much interesting with it that we decided to tell more about it. Links to the assembly can be found in the Desktop Team blog or wait a bit until it appears as an update for Opera Next . What interesting is this build for developers?

New opportunities

Manage transfer to <textarea>


When the 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.
Since we only support this, quite logical, behavior for <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 .

CSS bugs fixed

Work on various APIs

HTML5 forms


If the numeric value of the <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.

And so on…


Empty page about: blank is not empty! Previously about: blank page looked like this:
')
 <!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> 

Now the page contains only the most necessary, only what the HTML5 parser needs:

 <html><head></head><body></body></html> 

And what is called one more thing ™


The most curious of you, looking into the list of changes to the Presto engine, might have noticed the integration of packages 267-271 , or rather its second point. Nothing like that, just do not say that we did not warn you;)

Read more

Source: https://habr.com/ru/post/138130/


All Articles