bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

relative positioned body with fixed div in bottom of page.When relative top of body is increased content is hidden




Printing: Output
10 years ago
7 years ago


(Reporter: shyamala, Unassigned)



Firefox Tracking Flags

(Not tracked)


(Whiteboard: [closeme 2011-03-15])


(3 attachments)



10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080404 Firefox/
Build Identifier: Firefox3 rc1

<html><head><title>Enterprise document</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" id="metaid">

div#bdiv{ position :fixed; top :9in;}
body{ position:relative; width:8.418300000037998in; top :0.6375in;}
<div id="bdiv" style="width: 8.4183in; padding-bottom: 0.1in; vertical-align: middle;">

Emerging IT Infrastructure Issues in India<br><br>Traditional Indian organization little or no investment in IT, due to the labor-intensive nature of their operations, and <span>asasas</span>the high opportunity cost of capital investment compared to deploying more labor. The primary initial driver for IT in India was the outsourcing boom in the West.  Driven by the need to attain global competitiveness, Indian IT outsourcing companies have embraced the need for state-of-the-art IT infrastructure as very essential to their business. Starting from the export-oriented outsourcing segment, the IT revolution is now spreading to organizations in other segments of the economy, both in the private and public sectors. This is coinciding with the mobile revolution, which has swept India in the past 5 years. By 2006, practically every person in the formal economy has an SMS enabled mobile phone, and a lot of mobile usage is work related. <br/><br/>Indian organizations are extremely price sensitive in their IT procurement, because of the relatively low gross-margin-per-employee they have in their core businesses. The mobile revolution took off only when prices were brought down; Indian mobile prices are among the lowest in the world today. Broader IT adoption is likely to follow the same pattern, with plummeting costs driving mass adoption. From the perspective enterprise IT, both infrastructure costs and ongoing management costs have to be brought substantially lower. In that respect, the costs are still high, leading to conservatism on the part of the buying organizations. <span>As an example, while laptops have overtaken desktops in the West, in India, organizations still haven't made that transition.<br/><br/>Enterprise IT in India also has to grapple with another phenomenon; with the highly profitable, export oriented IT outsourcing industry soaking up the available talent pool in India, in order to serve western clients, traditional Indian organizations are challenged to find the people to keep theirT IT infrastructure running. They cannot compete with export earnings powered outsourcing companies in terms of pay and perks. Due to the extreme talent shortage facing them, they are forced to come up with creative ways to manage their growing IT infrastructure. In practice, Indian organizations are willing to consider infrastructure management outsourcing earlier in the cycle than western companies. Systems integrators and resellers who sell and service equipment and software are often asked to take care of managing the newly installed infrastructure on an ongoing basis.

<br/><br/>Remote &amp; Web-based Enterprise Management<br/>For reasons of talent shortage and cost, enterprise IT management in India is evolving to be an externally provided service rather than internally purchased and implemented software. It is imperative on the part of IT management vendors to keep this in mind. What are the implications of this? First and foremost, enterprise management has to work well over the web. The outsourced management service provider will host the management software, and install lightweight agents or probes behind the firewall of the organization whose networks they are managing. The preferred architecture is to have the agents communicating with an external management service through web protocols and document formats (http/https, XML) and the console itself should work over a simple browser. Remote troubleshooting and automation tools are essential, so as to reduce the nubmer of visits by the external service provider. Second, India has far more SMS usage than email, due to the 10-to-1 ratio of mobiles to PCs. <br/><br/>This means SMS based alerts and mobile access to management information is vital.<br><br>Existing enterprise management frameworks are too costly and require too much customization, particularly from the perspective of the price-sensitive Indian customer. After all, management costs should bear some proportion to the cost of the infrastructure it is managing; as those costs come down dramatically, management costs should fall as well.<br/><br/>Towards a New Mobile Driven Thin-Client Paradigm<br>Looking to the medium to long term, manageability of infrastructure is becoming a huge issue for IT organizations world-wide.<br>The traditional fat-client paradigm, with all the complexity in terms of security and management, not to mention the high per-employee costs, is becoming progressively ill-suited to the needs of newly IT-enabled organizations in India. The treadmill of patching, upgrading, protecting from viruses and other malware begs the question: is there a better way? Thin client, web computing offers hope. As bandwidth costs plummet, software-as-a-service is becoming more viable as the preferred software delivery mechanism. It is particularly relevant in a greenfield market like India, where the first computing experience for many people is likely to be internet-computing.<br><br>Software-as-a-service also dovetails nicely with the mobile revolution. In many respects, the ideal thin client is the mobile phone, with a docking capability so that it can dock to an external LCD display and keyboard.  The stateless display device replaces the traditional desktop, and could become ubiquitous due to falling cost of displays. The mobile device with Wi-Fi and 3G data capabilities, sporting a state-of-the-art web browser, becomes the preferred delivery medium for software-as-a-service.<br><br>In that world, the enterprise management challenge moves from desktop management to data center management. Storage moves to the cloud, and managing user's data so as to offer very high service levels becomes imperative. Managing massive pools of storage attached to vast server farms, to serve millions of users, becomes the central IT management challenge. One example of how internet-based software impacts the traditional world of IT is the popularity of low cost servers in internet data centers, as opposed to massive big-iron servers common within enterprises. Internet applications are written to run in a cluster of low cost servers, while traditional IT applications need big-iron.  So what is important in future is managing clusters of cheap servers and cheap storage. Traditional big-iron practices like back-up and recovery will give way to grid computing.<br><br>Another major consequence of the thin-client model is the end-user expectations of an always-on service. In the internet world, there is no downtime. Traditional maintenance windows common in IT best practices have to be completely rethought.<br>Opportunities for Mobile Service Providers<br>Mobile service providers and mobile equipment vendors should embrace the software-as-a-service delivery paradigm. It enhances the value of their offerings to businesses and consumers, and it opens to door to new revenue opportunities. The SaaS revolution, which offers dramatic cost savings in software, could end up riding the mobile wave. This revolution could end up remaking the IT industry as we know it.<br><br></span>

Reproducible: Always

Steps to Reproduce:
1.load the given html and do a print preview.
2.see content and fixed div hidden behind bottom margin
3.change in top relative position of body gives erratic output.
Actual Results:  
Content is hidden and fixed div does not appear at the bottom

Comment 1

10 years ago
Created attachment 324443 [details]
testcase 1

Comment 2

10 years ago
The attached page works very well in FF2.0.0.14.But broken in FF3 RC2.
Created attachment 325072 [details]
suggested workaround: use tfoot?

From this bug & my emails with you, this sounds like a good situation to use "tfoot", rather than fixed-positioned content.

See the attached possible workaround.  Does this suit your needs?
Version: unspecified → Trunk
Component: DOM: Views and Formatting → Printing
QA Contact: general → printing

Comment 4

10 years ago
Surrounding my content in a table is not an acceptable solution and hence tfoot is ruled out.
Attachment #324443 - Attachment description: body relative bug → testcase 1
A few things:
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
> Gecko/20080404 Firefox/
> Build Identifier: Firefox3 rc1

BTW -- that User Agent string is a Firefox 2 user-agent, not Firefox 3.  I'm guessing you just copied and pasted from the wrong browser's "Help | About" dialog, but you might double-check to make sure you're testing with Firefox 3.

> <html><head><title>Enterprise document</title>
> ...

In the future, it's easier if you only attach this as a testcase, rather than also posting the full HTML in a comment.  That makes the bug much easier to read.

(In reply to comment #2)
> The attached page works very well in FF2.0.0.14.But broken in FF3 RC2.

Actually, it still looks pretty broken for me in Firefox 2, as well, so it's still unclear to me exactly what you're going for. (I'll attach a print-to-PDF of how it looks for me)

Can you please:
 a) include instructions for how to get "correct output" in Firefox 2?
 b) if necessary, attach another testcase that works for you in Firefox 2 but is broken in Firefox 3? (that is, if the first testcase looks as broken for you in Firefox 2 as it does for me)
 c) if possible, attach a print-to-PDF of the "correct" printed output from Firefox 2
Created attachment 325324 [details]
testcase 1 printed to PDF in FF2 (looks broken for me)

(In reply to comment #5)
> Actually, it still looks pretty broken for me in Firefox 2, as well, so it's
> still unclear to me exactly what you're going for. (I'll attach a print-to-PDF
> of how it looks for me)

This is what I'm seeing.  I'm using A4 page layout, because I think you mentioned A4 in one of your emails to me.

Note that "FAAA FBBB FCCC" is superimposed on top of the text, near the bottom of the document... I'm guessing that's not the look you're going for.

Comment 7

10 years ago
fixed bottom div is actually sitting in the bottom margin area.
Please set the bottom margin value to 2in and Top,Left and Right margins to 0.
There is no print-To-PDF in FF2 , hence Iam unable to send it to you.


Comment 8

10 years ago
Paper Size - US letter and not A4 .

fixed bottom div is actually sitting in the bottom margin area and hence does not overlap with the content.
Please set the bottom margin value to 2in and Top,Left and Right margins to 0.
There is no print-To-PDF in FF2 , hence Iam unable to send it to you.

Comment 9

7 years ago
do you see this issue still with version 3.6 or 4.0 beta?
Whiteboard: [closeme 2011-03-15]
No response to requested information. Closing as incomplele reports.
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.