Displaying 20 results from an estimated 600 matches similar to: "Getting a dynamically generated elements dimensions"
2012 May 22
1
warnings met in introduce extent buffer cache for each i-node patch
Miao,
I was trying out your patch on scalability testing for BTRFS on v3.3
kernel.
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg14930.html
However, I ran into a lot of warnings (see the dmesg below). Wonder if
you have a more up to date version of this patch?
In addition, I have to do this modification to fix a warning in your
original patch.
diff --git a/fs/btrfs/inode.c
2010 Oct 09
2
Rails 3 upgraded form validation issue
H All,
I have run into a very interesting issue. On one of my apps, after upgrading
from 2.3 to 3.0, the form validation started to escape html. Normally what
should happen when you submit a form and one of the fields fails validation
that field would get surrounded with a <div class="fieldWithErrors"> and so
on. That seems to be broken in my app and what I get is the correct html
2007 Jul 18
3
immediate Descendants not working in IE
Hi, im currently styling a menu using a java script effect which hides
the nested submenus on load, and also shows/hides them on mouseover.
It is working in firefox, using ...
var ul = $("nav").getElementsByTagName("ul")[0];
var lis = ul.immediateDescendants();
I then loop through lis to initially hide all the submenus. This works
fine in firefox, but not in IE. The sub
2006 Mar 17
3
Element.getDimensions
Hi all,
should it be considered a bug that Element.getDimensions returns the
offsetWidth and offsetHeight properties from elemens having not
display none, but clientWidth and clientHeight from elements with
display none?
Or is it a feature?
Regards Lorenz
2006 Apr 10
4
Element.getDimensions() support for IE?
Hey all,
I''m not sure if IE can support this, but I''m trying to get the dimensions of
an element that has percentages for height/width. In the example code
below, I''m trying to get the dimensions for the ''MyCell'' element. Firefox
supports Element.getDimensions(''MyCell''), but IE returns 0 for the height &
width returned by that
2008 Jun 19
7
getDimensions() fails for elements with ancestors with display: none
Prototype v1.6.0.2
If any of an element''s ancestors are hidden, Element.getDimensions()
returns misleading values. In order to address this in my own project,
I made the following modification:
getDimensions: function(element) {
element = $(element);
var display = element.getStyle(''display'');
+ var hiddenAncestor = element.ancestors().any(function(e)
{
2006 Aug 25
3
RJS Error: Element.update is not a function
Hi,
I have implemented some RJS code and I have the same exact code in 2
different places. In one place I get the error "Element.update is not
a function" and the other place works fine. Any idea why this error is
coming? Breaking my head.
-Vinod
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2002 Dec 10
5
2gb limit & weird filenames
Hello,
I'm trying to set up a samba server for a friend who has a mac. He's running
OSX, version 10.2. He's got some really big video editing files that are well
in excess of 2gb. We're trying to back these up to the samba server, but it
quits right around 2gb. That seems to be a magical number. This is with
version 2.2.3 of Samba, and Linux-Mandrake 8.2, ext3 file system.
I
2023 Feb 17
2
fseek/fgetc puzzle
Hi all.
I've got a bit of a puzzle and I was wondering if anyone has any insight
as to what's going on.
I added some code to ssh's known_hosts handling that checks if the last
byte in the file is a newline, and if not, it adds one before writing
the new record. I also wrote a regression test for this and in most
cases this works fine.
On some platforms (Solaris, OpenIndiana and
2006 Sep 15
8
reslivering, how long will it take?
Being resilvered 444.00 GB 168.21 GB 158.73 GB
Just wondering if anyone has any rough guesstimate of how long this will take? It''s 3x1200JB ata drives and one Seagate SATA drive. The SATA drive is the one that was replaced. Any idea how long this will take? As in 5 hours? 2 days? I don''t see any way to get a status update on where it''s at in the reslivering
2007 Dec 28
4
static box sizing problems
Hi,
I tried this one over on the main wx-users list as well, but thought I would
try it here since I am using wxRuby:
I am using wxWidgets 2.8.7 on a linux box using the GTK build.
I have pared down my issue to the simplest case: I am trying to use a
horizontal BoxSizer to split a frame into two sections: a left and right
side. I want the left side to stretch proportionally and I want the
2006 Aug 24
2
Messages not expunged
Hi all,
I'm doing some testing between U of Washington IMAP server (which
we currently run) and Dovecot on a IBM AIX system. I created a
50M mailbox, made up of 262 msgs. I'm using a Perl Script with
the imap::client module to fetch each message and then flag it for
deletion. At the end of the test, I run an expunge to delete all
the messages.
UofW imap server ran fine, messages
2005 Nov 04
19
Drag & Scroll
When using drag and drop, the browser window will not scroll if you move the mouse off the page. This makes it very difficult, if not impossible to create certain types of web applications.
I know this has been mentioned before and is on the Wish List, but it''s very frustrating.
If you look at this other Javascript library called "Drag''nDrop & DHTML Library"
2005 Sep 21
8
Slider controls
Heya!
Thanks to Marty Haught, script.aculo.us (as of changeset 2281) now
sports
a new Control for horizontal and vertical sliders.
See the functional test file (test/functional/slider_test.html) for
information
on how to use it.
Basically, you do:
<div id="track1" style="width:200px;background-color:#aaa;height:5px;">
<div id="handle1"
2015 Jan 24
2
[LLVMdev] "Expected to drop a reference" assertion thrown
Hello,
A few days ago I upgraded to the LLVM/clang ToT (on Jan 19th or so) and I just encountered this assertion.
“Expected to drop a reference” which is defined in llvm/lib/IR/Metadata.cpp line 136.
I create DebugLoc objects using DebugLog:get(unsigned line, unsigned Col, MDNode *Scope, MDNode *InlinedAt=nullptr)
The DebugLoc objects are wrapped in one of my classes and when instances get
2006 Nov 08
2
Apache 2.2.3 setup woes
Good morning everyone,
I am running apache 2.2.3 compiled from source and proxy load balancer as
described on the mongrel site.
I have a total of three sites, this setup works really well for two of them
but for one of them, I keep getting "Forbidden" errors and this error in the
apache logs:
[warn] proxy: No protocol handler was valid for the URL /. If you are using
a DSO version of
2015 Jul 20
2
[Dovecot Antispam] Can't seem to load plugin
On 2015-07-20 08:20, Christian Kivalo wrote:
>>
>> That seems to be about all I get though. Still nothing to indicate
>> errors, and
>> nothing to indicate that anything is being done when I move messages
>> into
>> spam. I suppose that probably means I've configured the folder paths
>> incorrectly. I'll have to keep beating my head against it
2008 Feb 21
1
Prototype - Firefox - Slow On Just One Page
I''m using Prototype/Scriptaculous on a large web app. Everything runs
briskly in IE, and everything runs briskly in Firefox except for one
page. On this page, only in Firefox, any code that touches Prototype
runs very, very slowly. In particular:
I use Effect.BlindDown/BlindUp for dropdown menus. Same html and css
on all pages. Flies along on all the other pages; here BlindDown
crawls,
2006 May 08
2
prototype getHeight safari
Hi
I have a weird bug with getHeight or getDimensions().hegiht
(prototype) only on safari
if I have a html file like this
<div id="test"></div>
and a embedded css
<style>
#test {
width:100px;
height:100px;
float:left;
}
</style>
In Safari $(''test'').getHeight returns 100, fine but if the css
declaration #test.. is in a css file
2018 Mar 19
2
MIR YAML deserialisation failure
Hello,
I am trying to isolate an assertion failure in if-converter (on PPC) and I
generated a textual debuglog with:
```
LLVM_ARGS=-print-before-all -print-module-scope
-filter-print-funcs=japi1__require_7687
```
and after splicing out the the MIR before the if-converter pass
I would like to run `llc -march=ppc64le -run-pass=if-converter input.mir`
so that I can start minimising the MIR.
This