|
layout area and event targeting area
|
| |
In bug 531818 we came to realize that Firebug's 'inspect' function is only one half of what one may want from it. Currently Firebug outlines the getBoundingClientRect() values. This is a CSS function that gives the CSS box, I believe it corresponds to "layout area"? But sometimes you are interested in a different box. For example, if you... more »
|
|
is Gecko single threaded?
|
| |
Hi, As far as I can see everything that goes on in the layout process happens in a single thread - am I right? This seems to include loading resources like stylesheets. Thanks , Tali
|
|
Can't load a chrome image in Firefox Panel
|
| |
Hello all, I created a Panel in my firefox extension and would like to embed a chrome image. Here's the code: <panel id="thepanel" noautohide="true"> <image src="chrome://blank/content/pr ompt-3.jpg" /> </panel> If the image is http, works fine. Image url is correct. Is the panel not trusted? How can I get this to work correctly.... more »
|
|
RuleProcessorData and performance
|
| |
The RuleProcessorData constructor pretty routinely shows up in profiles as a few % of total time. For profiles of things like querySelector or frame construction it can be closer to 10%. The fundamental design assumption with RuleProcessorData is that a single element is compared to a bunch of selectors, so that it makes... more »
|
|
FYI: reftest framework now draws the caret
|
| |
The reftest framework now draws the caret to support writing tests for the caret [1]. It draws it non-blinking by setting the pref ui.caretBlinkTime to -1 in runreftest.py. If you run reftests from the command line, "firefox -reftest ...", you should add the above pref setting in the profile you use for testing. Otherwise... more »
|
|
Avoiding loops
|
| |
Hello again, I've been wondering: how does mozilla's layout avoid potential css loops? Take this two css rules: div[style="color:blue"] {color:red} div[style="color:red"] {color:blue} Admittedly, this would not exactly be a sensible thing to do. But what prevents a sensibility-lacking individual from generating a loop in... more »
|
|
What's the shape of the rule tree?
|
| |
Hi everybody, I'm looking at this section of the Style System Documentation: [link] I realise this is a fairly old document (2003) and if you know a newer version please let me know. I wonder if the tree is the "happiest" metaphor for the structure of... more »
|
|
How to get visual position of an object?
|
| |
Hi, Can anyone tell me how to get the visual position/ bounding box a text node while displayed on a browser? I intend to process this information and use this in a java program. Thanks, Aditya
|
|
|