Recommended Posts

-moz-element support landed in tonight's nightly, it allows you to use another element in the document as an image source (e.g. a slide show presentation can show real time updating thumbnails of the slides)

It's mainly going to be used in the OS X theme for rendering Persona's, but web content can also use it (WebKit has supported something similar for a few years now, but much more limited)

-moz-element support landed in tonight's nightly, it allows you to use another element in the document as an image source (e.g. a slide show presentation can show real time updating thumbnails of the slides)

It's mainly going to be used in the OS X theme for rendering Persona's, but web content can also use it (WebKit has supported something similar for a few years now, but much more limited)

Sounds interesting. Do you know the syntax? Google has little info on it.

<img id="img" src="blah.png" width="128" height="128">
<div style="width: 128px; height: 128px; background-image: -moz-element(#img);"> </div>

Simple (and stupid) example, but that's basically how you use it (it updates at the same time as the source element draws, so <video> and <canvas> is still fast, etc.)

Edit: That + SVG Filters is what the OS X theme will use, a filter to darken the persona image behind the tab bar, and possibly a Aero Glass like blur for behind the toolbar buttons.

Get ready to see about 50~100ms (depending on system) boost in SunSpider tests with today's nightly! (If curious , check the hourlies)

sweet, there wasn't much improvement in beta3, was hoping firefox would close the large gap with the other browser vendors. Will benchmark beta 4:)

&lt;img id="img" src="blah.png" width="128" height="128"&gt;
&lt;div style="width: 128px; height: 128px; background-image: -moz-element(#img);"&gt; &lt;/div&gt;

Simple (and stupid) example, but that's basically how you use it (it updates at the same time as the source element draws, so <video> and <canvas> is still fast, etc.)

Edit: That + SVG Filters is what the OS X theme will use, a filter to darken the persona image behind the tab bar, and possibly a Aero Glass like blur for behind the toolbar buttons.

Very cool, thanks for the info. Seems really useful because it uses a live preview of that element.

It is pretty cool, it can really slow down the browser though if you do it incorrectly (Like pointing it at the <html> element as the source, it uses 100% of the CPU core then)

Also, D2D bounced (i.e. it landed, but was backed out), so it's disabled by default again (but not in the current nightly)

I tried a nightly out with the same result, but anyone know why Firefox and Flash don't seem to be getting on in the Beta 3?

And when clicking the fast reply box does it not work till you click a second time for anyone else?

I have issues with flash too, when I play a video and scroll up or down, I can't acces the seekbar and other buttons until I scroll to the initial position (all betas).

I have issues with flash too, when I play a video and scroll up or down, I can't acces the seekbar and other buttons until I scroll to the initial position (all betas).

Directwrite is still significantly delaying startup of firefox even in the latest nightly (I open firefox and everything in the window is white for like 30 secs and its unresponsive)

I am also having these issues.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.