Sheppy | 2 Nov 2011 21:51
Picon

Wiki Wednesday (DOM) - November 2, 2011

Here are today's Wiki Wednesday articles! If you know about these
topics, please try to find a few minutes to look over these articles
that are marked as needing technical intervention and see if you can
fix them up. You can do so either by logging into the wiki and editing
the articles directly, or by emailing your notes, sample code, or
feedback to mdnwiki <at> mozilla.org.

Contributors to Wiki Wednesday will get recognition in the next Wiki
Wednesday announcement. Thanks in advance for your help!

1) element.insertAdjacentHTML ( http://mzl.la/q6IjQv )
2) window.postMessage ( http://mzl.la/qMudqE )
3) element.scrollIntoView ( http://mzl.la/ka0z1A )
usha thulasiram | 9 Nov 2011 09:29
Picon

gcc compatibility issues with firefox Gecko SDK

I am developing an extension for FF4 on Linux platform using Firefox
native Gecko SDK. Earlier I faced compilation issues of Firefox 4.0
sdk with the older version of gcc(3.3). From the forums got to know
that latest gcc has to be used. With RHEL 6.0 (default gcc is 4.4) I
was able to build the extension native shared object.

When I tried running that extension shared object(built on RHEL 6.0)
on the lower version of RHEL(5.4,5.6 etc)  I got the following error
“ELF file OS ABI invalid”.

My intension is getting this extension shared objects working on RHEL
4.0 to RHEL 6.0. How do I achieve this as I would like use it wherever
the FF4 is there.

Appreciate your help.
Sheppy | 16 Nov 2011 21:15
Picon

Wiki Wednesday (DOM) - November 16, 2011

Here are today's Wiki Wednesday articles! If you know about these
topics, please try to find a few minutes to look over these articles
that are marked as needing technical intervention and see if you can
fix them up. You can do so either by logging into the wiki and editing
the articles directly, or by emailing your notes, sample code, or
feedback to mdnwiki <at> mozilla.org.

Contributors to Wiki Wednesday will get recognition in the next Wiki
Wednesday announcement. Thanks in advance for your help!

Thanks to BYK and berkerpeksag for their contributions since last
time.

1) Event ( http://mzl.la/iAUCmE )
2) DeviceMotionEvent.acceleration ( http://mzl.la/vwXRYG )
3) window.open ( http://mzl.la/jPCpTp )
Sheppy | 17 Nov 2011 14:44
Picon

Mozilla DOM Hacking Guide

We have on devmo the "Mozilla DOM Hacking Guide." This is a pretty
lengthy article, although incomplete. It's also clearly fairly out of
date in areas.

Any DOM gurus feel up to the task of going over it and making sure
it's accurate? It would be an enormous help, not just to me, but to
people who have been scared off from trying to help with the code by
this document's obvious flaws.

Thanks in advance!

Eric Shepherd
Developer Documentation Lead
Mozilla
http://www.bitstampede.com/
Sheppy | 1 Dec 2011 22:49
Picon

Wiki Wednesday (CSS) - November 30, 2011

Here are today's Wiki Wednesday articles! If you know about these
topics, please try to find a few minutes to look over these articles
that are marked as needing technical intervention and see if you can
fix them up. You can do so either by logging into the wiki and editing
the articles directly, or by emailing your notes, sample code, or
feedback to mdnwiki <at> mozilla.org.

Contributors to Wiki Wednesday will get recognition in the next Wiki
Wednesday announcement. Thanks in advance for your help!

Thanks to David Bruant for his contributions since last time!

1) HTMLObjectElement ( http://mzl.la/i43hBh )
2) RotationRate.alpha ( http://mzl.la/psB1iP )
3) window.outerHeight ( http://mzl.la/nqnO0B )
Colin Kincaid Williams | 1 Dec 2011 23:37

DOM bug or feature?

Hi,

I'm setting my page background via javascript by DOM reference
document.body.style.background="#f3f3f3 url('/images/xenopus.jpg')
no-repeat center fixed";

It sets the background image properties as expected . I'm also trying to
change the background image size

body {
    background-size: 20% auto;
}

however, the background image size does not seem affected. However it does
seem to work in webkit browsers. I tested chrome, and somebody else told me
it works in safari.

Document.body.style.background doesn't have option for background size, why
is the background-size not applying? Is this a bug or does it have to do
with firefoxen dom traversal? The page in question is
http://freediscord.com/usingBodyBkgrnd.html .

Furthermore, I noticed in firebug it shows the CSS set as:

element.style { background: url("/images/xenopus.jpg") no-repeat fixed
center center #F3F3F3; }
body { background-size: 20% auto;}

So shouldn't my background-size be set? Is this a bug or is this how its
supposed to work. I'd really like to get it working in both webkit and
(Continue reading)


Gmane