Improved element highlight lands in Opera Mobile 10 Beta
By David Storey. Tuesday, 3. November 2009, 16:01:55
The first fruits of our post-Opera 10 labour on Opera Dragonfly and Scope has just landed with today’s release of the beta of Opera Mobile 10 for Nokia Smartphones. As with previous versions, Opera Mobile 10 includes remote dubugging functionality to connect to Opera Dragonfly in the desktop browser. For information on remote debugging take a look at the Dev Opera Remote debugging with Opera Dragonfly article. You will notice that Opera Dragonfly will prompt you to download a compatible version that will work with Opera 10 Mobile.
The big feature of note is that there is a brand-new highlight feature in the DOM inspector. Previously we used the spatnav style highlight when clicking on elements, which was not as precise as was needed and showed little detail. This has been replaced with an advanced new highlight, which shows all the details of the box model, such as the padding and margins, along with handy guidelines.
In the first screenshot above, I have hovered the content metrics in the layout panel. As you can see, just the content is highlighted, along with guidelines. In the second screenshot I have customised the highlight colours in the Spotlight section of the Settings tab, and turned on the grid guidelines for the content and padding. The highlight colour is fully customisable, and you can turn on or off each part that you are interested in.
It is also possible to pin the highlight so that you can highlight multiple elements at the same time, rather than only one at a time. This can be useful for making sure elements line up correctly.
The new highlight debuted in Opera Presto 2.3, and will come to desktop, along with other new features, when it receives a new Presto update. The new Opera Dragonfly visual refresh is still very much work in progress, so hasn't yet made it to the version of Opera Dragonfly currently used by Opera 10 Mobile beta.


kyleabaker # 3. November 2009, 16:23
dstorey # 3. November 2009, 16:30
Chas4 # 3. November 2009, 16:37
Originally posted by dstorey:
kyleabaker # 3. November 2009, 16:44
SpShut # 3. November 2009, 17:49
ouzoWTF # 3. November 2009, 20:33
Originally posted by SpShut:
!!!!!!!!!!
DanielHendrycks # 3. November 2009, 22:23
FataL # 3. November 2009, 23:30
Why not just use -o-outline for internal purposes? Opera hijacks CSS specification here being different from all other implementations. Same as Microsoft did many times previously.
I submitted bug report # DSK-251631.
tagawa # 4. November 2009, 01:47
SpShut # 4. November 2009, 10:43
Originally posted by FataL:
I submitted the same bug report somewhen and i believe there have been dozens of people doing the same.
I think opera considers outline as a developer css feature that needs to be over everything on the page, but designers and coders do not think alike as far as i can say.
elyon # 2. December 2009, 03:30
Thanks for Dragonfly. I recently installed the latest version of Firefox with Firebug to track down a Firefox-only problem in a page, and I couldn't believe how much more responsive Opera was than Firefox (even with lots of tabs open) and how I liked Dragonfly better than Firebug.
I was just wondering ... the Network tab is really nice, but I noticed it doesn't show the variables for POST requests. Are there plans to support this?
Also, will Dragonfly ever work in a tab, or have its own button? It would be awesome to have a dedicated Dragonfly button to make it quick to switch on
DanielHendrycks # 2. December 2009, 03:45
Update: http://my.opera.com/desktopteam/blog/2009/11/05/key-fixes-and-stability?startidx=50#comment10625174