My mistake, just read that Firefox doesn't support outerHTML. Though I ran
all the test cases before committing the change. I think we can roll it back
and set it to innerHTML.

Thanks,
Angrez

On Fri, Apr 9, 2010 at 9:31 PM, Bret Pettichord <[email protected]> wrote:

> I have the same question. Angrez?
>
> On Thu, Apr 8, 2010 at 11:43 AM, Ethan <[email protected]> wrote:
>
>> I'm confused by this commit:
>> http://github.com/bret/watir/commit/7bb95ab84093dfc2edc86234643ff86368538b11
>> It changes Element#html to use (javascript) outerHTML rather than
>> innerHTML. However, no outerHTML javascript function exists for Firefox,
>> which is why innerHTML was used in the first place. Trying to use
>> Element#html in firewatir, it just returns a blank string.
>>
>>
>> _______________________________________________
>> Wtr-development mailing list
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/wtr-development
>>
>
>
>
> --
> Bret Pettichord
> Lead Developer, Watir, www.watir.com
>
> Blog, www.io.com/~wazmo/blog <http://www.io.com/%7Ewazmo/blog>
> Twitter, www.twitter.com/bpettichord
>
>
> _______________________________________________
> Wtr-development mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-development
>
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to