Objects with display:table don't work correctly with <script> tags

RESOLVED INCOMPLETE

Status

()

Firefox
General
RESOLVED INCOMPLETE
9 years ago
7 years ago

People

(Reporter: Davide, Unassigned)

Tracking

3.5 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CLOSEME 2011-2-25])

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; it; rv:1.9.1) Gecko/20090624 Firefox/3.5
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; it; rv:1.9.1) Gecko/20090624 Firefox/3.5

The xtml above will work correctly just removing the <script> tag. Also <style> script generates the same bad effect

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

    <title>Untitled</title>
    
</head>




<body>

<div id="content" style="display:table">

	<div id="col1" style="background:lime; display:table-cell;">
	
	<script type="text/javascript">
		document.write("Hello World!");
	</script>

	Colonna 1

	</div>

	<div id="col2" style="background:red; display:table-cell;">

	Colonna 2	

</div>

</div>

</body>
</html>


Reproducible: Always

Actual Results:  
Bad css render

Expected Results:  
Correct css render
(Reporter)

Updated

9 years ago
Version: unspecified → 3.5 Branch

Comment 1

8 years ago
Also confirmed on Linux (3.5.8 ubuntu brand) and Windows (3.5.8)
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode or a fresh profile? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2011-2-25]
This bug has had the CLOSEME tag for several weeks and the date in the tag is
far gone. If the reporter can still see this issue, Please retest with Firefox
3.6.x or later and a new profile
(http://support.mozilla.com/kb/Managing+profiles). Then please remove the
closeme tag in the whiteboard, mark the bug against the proper version and
comment on the bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.