Closed
Bug 889792
Opened 11 years ago
Closed 11 years ago
Rendering issue in Firefox 22 compared to 21
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: otto, Unassigned)
References
()
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release) Build ID: 20130618035212 Steps to reproduce: update form V.21 to V.22. Actual results: my design became bad efter the update, its still looks nomale in IE and Crome. Expected results: it look like at problem with firefox albati to handle DIV or CSS
URL: local server.
Severity: normal → critical
Comment 1•11 years ago
|
||
Not security sensitive. It would really help if you can reduce this to a specific test case and attach it to this bug or make a publicly available version somewhere. If you are adventurous, it would also help to try to use https://github.com/mozilla/mozregression to find the build which regressed the behavior.
Yes, we need a reduced testcase.
Severity: critical → normal
Keywords: testcase-wanted
do to the senetiv on the infomation on the server i can giv you access to the site. but i can giv you the html on the index and the site that is in the center. ------------------------ INDEX -------------------------------------------------- <!DOCTYPE HTML> <! ø !> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Pro Consult A/S :: PROteknik</title> <style type="text/css"> div{padding:0; box-sizing: border-box; -moz-box-sizing: border-box;} input{padding:0; box-sizing: border-box; -moz-box-sizing: border-box;} textarea{padding:0; box-sizing: border-box; -moz-box-sizing: border-box;} .inputindex{border-width:0px; border-style:solid; border-color:#000000; color:#000000; font-size:13px; font-family:verdana; height: 22px; width: 100%; background-color:#AAE3E8; font-weight: bold; text-align:left;} .top{width:100%; height:32px; background-color:#FF5555; float:center; border-bottom:2px solid black; font-size:25px; text-align:center; font-weight: bold;} .knap{width:100%; height:100%; background-color:#AAE3E8; border-bottom:2px solid black; text-align:center; font-weight: bold; margin:0;} .type{float:left; width:20%; height:100%; background-color:#eeeeee; border-bottom:1px solid black; border-right:1px solid black; text-align:left; font-weight: bold; margin:0;} .type2{float:left; width:80%; height:100%; background-color:#eeeeee; border-bottom:1px solid black; text-align:left; font-weight: bold; margin:0;} .inputindex:hover{border: 1px solid #000000; background: #7FF1FF;} </style> </head> <?php session_start(); include("config.php"); include("menu_knapper.php"); ?> <body> <?php if(!isset($_SESSION['uid'])){ ?> <center> <p> Login nedenfor </p> <form method="POST" action="login.php"> Brugernavn:<br><input style="width:50%;" type="text" size="20" name="brugernavn" ><br> Kodeord:<br><input style="width:50%;"type="password" size="20" name="password"><p> <input class="inputindex" style="width:50%; text-align:center;" type="submit" value="Login" name="login"> </form> </center> <?php } ?> <?php if(isset($_SESSION['uid'])){ $bruger_id = $_SESSION['uid']; if(!isset($_SESSION['proorder'])){ $_SESSION['proorder'] = 'nej'; } ?> <?php $result = mysql_query("SELECT * FROM promed WHERE id='$_SESSION[uid]'"); while($row = mysql_fetch_assoc($result)) { $afd = $row['afd']; } if(isset($_POST['pro3']) AND $afd == 'LJ') { $_SESSION['proorder'] = 'order_LJ'; } if(isset($_POST['pro3']) AND $afd == 'VJ' AND $_SESSION['uid'] != '20') { $_SESSION['proorder'] = 'order_VJ'; } if(isset($_POST['pro3']) AND $_SESSION['uid'] == '20') { $_SESSION['proorder'] = 'order'; } if(isset($_POST['proteknik'])) { $_SESSION['proorder'] = 'nej'; } ?> <div id="container" style="position:relative; right:-25px; width:1324px; min-height:580px; height:100%; background-color:#ffffff;"> <div id="container" style="position:relative; width:192px; min-height:580px; height:100%; background-color:#ffffff; float:left;"> <?php if($_SESSION['proorder'] == 'order_LJ'){ ?> <div id="menu" style="width:100%; min-heigth:300px; height:50%; background-color:#dddddd; float:left; border:1px solid black; display:inline-flex;"> <div class="top">PROordre</div><p> <form method="post" action="" onsubmit="return v(this)"> <diV class="knap" style="border-top:2px solid black;"><input class="inputindex" type="submit" value="Indsæt vare/kompont" name="order_bestil"></div> <diV class="knap"><input class="inputindex" type="submit" value="Indsæt Lyt(guld lyt)" name="order_guldlyt"></div> <diV class="knap"><input class="inputindex" type="submit" value="Bestilings lister" name="order_lister"></div> <diV class="knap"><input class="inputindex" type="submit" value="Tilbage til PROteknik" name="proteknik"></div><br> </form> </div> <?php } elseif($_SESSION['proorder'] == 'order_VJ'){ ?> <div id="menu" style="width:100%; min-heigth:300px; height:50%; background-color:#dddddd; float:left; border:1px solid black; display:inline-flex;"> <div class="top">PROordre</div><p> <form method="post" action="" onsubmit="return v(this)"> <diV class="knap" style="border-top:2px solid black;"><input class="inputindex" type="submit" value="Indsæt vare/kompont" name="order_bestil_vest"></div> <diV class="knap"><input class="inputindex" type="submit" value="Indsæt Lyt(guld lyt)" name="order_guldlyt"></div> <diV class="knap"><input class="inputindex" type="submit" value="Bestilings lister" name="order_lister_vest"></div> <diV class="knap"><input class="inputindex" type="submit" value="Tilbage til PROteknik" name="proteknik"></div><br> </form> </div> <?php } elseif($_SESSION['proorder'] == 'order'){ ?> <div id="menu" style="width:100%; min-heigth:300px; height:50%; background-color:#dddddd; float:left; border:1px solid black; display:inline-flex;"> <div class="top">PROordre</div><p> <form method="post" action="" onsubmit="return v(this)"> <diV class="knap" style="border-top:2px solid black;"><input class="inputindex" type="submit" value="Indsæt vare/kompont" name="order_bestil"></div> <diV class="knap"><input class="inputindex" type="submit" value="Indsæt Lyt(guld lyt)" name="order_guldlyt"></div> <diV class="knap"><input class="inputindex" type="submit" value="Indsæt Backlight rør" name="order_backlight"></div> <diV class="knap"><input class="inputindex" type="submit" value="Indsæt Power supply" name="order_psu"></div> <diV class="knap"><input class="inputindex" type="submit" value="Bestilings lister" name="order_lister"></div> <diV class="knap"><input class="inputindex" type="submit" value="Søgemaskine" name="order_soeg"></div> <diV class="knap"><input class="inputindex" type="submit" value="Tilbage til PROteknik" name="proteknik"></div><br> <div class="top">PROordreVEST</div><p> <diV class="knap" style="border-top:2px solid black;"><input class="inputindex" type="submit" value="Indsæt vare/kompont" name="order_bestil_vest"></div> <diV class="knap"><input class="inputindex" type="submit" value="Bestilings lister" name="order_lister_vest"></div><br> </form> </div> <?php } else { ?> <div id="menu" style="width:100%; min-heigth:300px; height:50%; background-color:#dddddd; float:left; border:1px solid black; display:inline-flex;"> <div class="top">PROteknik</div><p> <form method="post" action="" onsubmit="return v(this)"> <diV class="knap" style="border-top:2px solid black;"><input class="inputindex" type="submit" value="Infoside" name="forside"></div> <diV class="knap" style="background: #FF5555;">Opgaver</div> <diV class="knap"><input class="inputindex" type="submit" value="Dine opgaver" name="dine_opgaver"></div> <diV class="knap"><input class="inputindex" type="submit" value="UA Lejre" name="UAlejre"></div> <diV class="knap"><input class="inputindex" type="submit" value="Alle opg. Lejre" name="AOlejre"></div> <diV class="knap"><input class="inputindex" type="submit" value="UA Vejle" name="UAvejle"></div> <diV class="knap"><input class="inputindex" type="submit" value="Alle opg. Vejle" name="AOvejle"></div> <diV class="knap" style="background: #FF5555;">Administation</div> <diV class="knap"><input class="inputindex" type="submit" value="Se service rapport" name="hentrapport"></div> <diV class="knap"><input class="inputindex" type="submit" value="Søg i rapporter" name="soeg"></div> <diV class="knap"><input class="inputindex" type="submit" value="Dagseddelbog" name="opret_time_seld"></div> <diV class="knap"><input class="inputindex" type="submit" value="Ind rapp. statestik" name="sags_rapp"></div> <div style="width:0px; heigth:0px;"><?php if($bruger_id == '20' || $bruger_id == '11') { ?></div> <diV class="knap"><input class="inputindex" type="submit" value="Div. timer rapport" name="div_time_rapp"></div> <?php } else { ?></div><?php } ?> <diV class="knap"><input class="inputindex" type="submit" value="FAQ / HJÆLP" name="faq"></div> <diV class="knap"><input class="inputindex" type="submit" value="bug list" name="bug"></div> <diV class="knap" style="background: #FF5555;">Andre funktioner</div> <diV class="knap"><input class="inputindex" type="submit" value="PROordre V3" name="pro3"></div> <?php $result = mysql_query("SELECT * FROM promed WHERE id='$_SESSION[uid]'"); while($row = mysql_fetch_assoc($result)) { $afd = $row['afd']; if($afd == 'LJ'){ ?> <div style="width:0px; height:0px;"></form><form action="../proservice/" method="post" onclick="window.open(this.action); return false;"></div> <diV class="knap"><input class="inputindex" type="submit" value="PROservice" name="proorder"></form></div> <?php } elseif($afd == 'VJ'){ ?> <div style="width:0px; height:0px;"></form><form action="../proservicevejle/" method="post" onclick="window.open(this.action); return false;"></div> <diV class="knap"><input class="inputindex" type="submit" value="PROservice" name="proorder"></form></div> <?php } } ?> <form method="post" action="" onsubmit="return v(this)"> <diV class="knap"><input class="inputindex" type="submit" value="Logud" name="logout"></div><br> </form> </div> <?php } ?> <div style="width:192px; height:10px; background-color:#ffffff; float:left; color:#ffffff;"></div> <?php if(isset($_GET['side'])){ if($_GET['side'] == 'dagseddel'){ include("dagtype.php"); } } else { ?> <div style="width:192px; height:60px; background-color:#dddddd; float:left; border:1px solid black; text-align:left;"> PROservice<b>V.<?php $result = mysql_query("SELECT * FROM prover WHERE id='2'"); while($row = mysql_fetch_assoc($result)) { echo ''.$row['ver2'].' <i>'.$row['dato'].'</i>'; } ?></b><br> PROorder <b>V.<?php $result = mysql_query("SELECT * FROM prover WHERE id='1'"); while($row = mysql_fetch_assoc($result)) { echo ''.$row['ver2'].' <i>'.$row['dato'].'</i>'; } ?></b><br> © Otto Algreen 2012 - 2013 </div> <?php } ?> </div> <div style="width:3px; height:580px; background-color:#ffffff; float:left; color:#ffffff;">,</div> <div id="hoved" style="width:890px; min-width:890px; min-height:580px; height:100%; background-color:#dddddd; float:left; border:1px solid black; display:inline-flex;"> <?php if(isset($_GET['side'])){ $sti = $_GET['side'].".php"; if(file_exists($sti)) include $sti; else include 'velkommen.php';} else include 'velkommen.php'; ?> </div> <div style="width:3px; height:580px; background-color:#ffffff; float:left; color:#ffffff;">,</div> <div style="width:192px; height:580px; background-color:#dddddd; float:left;"> <?php if(isset($_GET['side'])) { if($_GET['side'] == 'komponter'){ include("type.php"); } elseif($_GET['side'] == 'fak3') { include("type.php"); } else { include("infomenuer.php"); } } else { include("infomenuer.php"); } ?> </div> <?php } ?> </body> ------------------------- Loade site ----------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Pro Consult A/S :: PROservice</title> <style type="text/css"> <! Ø !> div{padding:0; box-sizing: border-box; -moz-box-sizing: border-box;} input{padding:0; box-sizing: border-box; -moz-box-sizing: border-box; width: 100%; height:100%; border:0; background-color:#AAE3E8; font-weight: bold; text-align:left;} input:hover{border: 1px solid #000000; background: #7FF1FF;} textarea{padding:0; box-sizing: border-box; -moz-box-sizing: border-box;} .top{width:100% height:32px; background-color:#FF5555; float:center; border-bottom:2px solid black; font-size:25px; text-align:center; font-weight: bold;} .top2{width:100% height:32px; background-color:#FFFFFF; float:center; border-bottom:2px solid black; font-size:19px; text-align:center; font-weight: bold;} .firmanavn{color:#000000; font-size:24px; font-family:Arial; text-transform:uppercase; font-weight:bold;} .tekst_felt{color:#000000; font-size:14px; font-weight:bold; text-indent:3px; float:left; height:100%; vertical-align:middle; padding:0; margin:0 auto;} .info_felt{color:#000000; font-size:14px; text-indent:0px; float:left; height:100%; vertical-align:middle; padding:0; margin:0 auto;} .top_felt{width:683px; height:12%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left; padding:0; margin:0 auto;} .top_felt2{width:128px; height:12%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left; padding:0; margin:0 auto;} .line_type_438{width:438px; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left;} .felt{float:left; background-color:#ffffff; color:#000000; height:20px; border-bottom:2px solid black; font-weight: bold; margin: 0 auto; padding:0;} </style> </head> <body> <div class="top">Se service rapport</div> <tr><td style="vertical-align:text-top;"><center> <form method="post" action="" onsubmit="return v(this)"> <div id="container2" style="width:100%; height:25px; margin: 0 auto; padding:0;"> <div class="felt" style="width:10%; height:100%; border-right:1px solid black;">Rapport nr.</div> <div class="felt" style="width:15%; height:100%; border-right:1px solid black;"><input style="height:23px; width:100%;" class="tekst2" type="text" name="rapport-nummer"></div> <div class="felt" style="width:15%; height:100%; border-right:1px solid black;"><input style="width:100%; height:23px;" type="submit" value="Hent rapport" name="set_rapp"></div> <div class="felt" style="width:60%; height:100%;">skriv rapport nummer og klik hent rapport</div> </div> </form> <?php if(!isset($_SESSION['p_id'])) { $_SESSION['p_id'] = 'her'; } if(isset($_GET['id'])) { $rapport = $_GET['id']; $test = 0; } if(isset($_SESSION['uid2'])) { $rapport = $_SESSION['uid2']; $test = 0; } if(isset($_POST['set_rapp'])) { $rapport = $_POST['rapport-nummer']; $_SESSION['uid2'] = $rapport; $test = 0; } if(isset($_POST['tekst_hent'])) { $rapport = $_POST['id']; $test = 0; } if(isset($_POST['tekst_paa'])) { $rapport = $_POST['id']; $test = 0; $dato = date('j-m-Y'); $dato2 = date('Y-m-d', strtotime("$dato")); $service_rapport = $_POST['id']; $ans = $_SESSION['uid']; $beskivsle = $_POST['beskivsle']; mysql_query("INSERT INTO `proservice_rapport` (`service_raport`, `dato`, `dato2`, `timer`, `ans`, `beskivsle`, `km`, `bro`) VALUES ('$service_rapport','$dato','$dato2','-','$ans','".mysql_real_escape_string($beskivsle)."',' ',' ')"); } if(isset($_POST['pris_hent'])) { $rapport = $_POST['id']; $test = 0; } if(isset($_POST['pris_paa'])){ $rapport = $_POST['id']; $test = 0; $pris_s = $_POST['pris_ret_s']; $pris_n = $_POST['pris_ret_n']; $pris_b = $_POST['pris_ret_b']; $pris_k = $_POST['pris_ret_k']; $id = $_POST['id']; mysql_query("UPDATE `proservice` SET `pris_s`='$pris_s',`pris_n`='$pris_n',`pris_b`='$pris_b',`pris_k`='$pris_k' WHERE id='$id'"); } if(isset($_POST['ans_hent'])) { $rapport = $_POST['id']; $test = 0; } if(isset($_POST['giv_ans_paa'])){ $rapport = $_POST['id']; $test = 0; $ans = $_POST['ans']; $id = $_POST['id']; $up_data_date = date('j-m-Y'); $up_data_date2 = date('Y-m-d', strtotime("$up_data_date")); $result = mysql_query("SELECT * FROM proservice WHERE id='$id'"); while($row = mysql_fetch_assoc($result)) { $ans2 = $row['ans']; mysql_query("UPDATE `proservice` SET `ans`='$ans' WHERE id='$id'"); mysql_query("INSERT INTO `proservice_rapport` (`service_raport`, `timer`, `dato`, `dato2`, `beskivsle`, `ans`) VALUES ('$id','-','$up_data_date','$up_data_date2','$ans2 Har givet ansvaret for opgaven til $ans','$ans2')"); $result = mysql_query("SELECT * FROM proservice_rapport ORDER BY id DESC LIMIT 1"); while($row = mysql_fetch_assoc($result)) { ?> <div class="top2">Du har vider givet ansvaret for rapport: <?php echo ''.$row['service_raport'].''; ?></div> <?php } } } ?> <?php if(isset($_POST['tag_ans'])) { $rapport = $_POST['id']; $test = 0; $id = $_POST['id']; $ans = $_SESSION['uid']; $up_data_date = date('j-m-Y'); $up_data_date2 = date('Y-m-d', strtotime("$up_data_date")); $result = mysql_query("SELECT * FROM proservice WHERE id='$id'"); while($row = mysql_fetch_assoc($result)) { $ans2 = $row['ans']; mysql_query("UPDATE `proservice` SET `ans`='$ans' WHERE id='$id'"); mysql_query("INSERT INTO `proservice_rapport` (`service_raport`, `timer`, `dato`, `dato2`, `beskivsle`, `ans`) VALUES ('$id','-','$up_data_date','$up_data_date2','$ans Har taget ansvare for opgaven fra $ans2','$ans')"); $result = mysql_query("SELECT * FROM proservice_rapport ORDER BY id DESC LIMIT 1"); while($row = mysql_fetch_assoc($result)) { ?> <div class="top2">Du har nu ansvaret for rapport: <?php echo ''.$row['service_raport'].''; ?></div> <?php } } } ?> <?php $min = '99999'; $max = '126306'; $min2 = '9999'; $max2 = '99999'; if (isset($test)) { if ($rapport > $min2 && $max2 > $rapport) { ?> <div class="top2">Denne sag er en rød rapport disse er p.t. ikke digitale</div> <?php } else { ?> <?php $result = mysql_query("SELECT * FROM proservice WHERE id='$rapport'"); while($row = mysql_fetch_assoc($result)) { $status_kode = $row['status_kode']; $ans = $row['ans']; $dato = $row['dato']; $dato2 = $row['dato2']; If($dato2 != '0000-00-00 00:00:00') { $dato = $dato2; } ?> <?php if ($status_kode == 9) { ?> <div class="top2">Denne sag er afslutte</div> <?php } ?> <?php if ($ans != $_SESSION['uid']) { ?> <div class="top2">Denne sag har du ikke ansvaret for klik pÃ¥ "tag ansvar" for at overtage sagen</div> <?php } ?> <p> <div style="text-align:center;"> <form method="post" action="" onsubmit="return v(this)"> <div style="width:880px; height:435px; background-color:#cccccc; float:center; border:2px solid black; text-align:center; margin: 0 auto; padding:0; display:inline-flex;"> <input type="hidden" name="id" value="<?php echo ''.$row['id'].''; ?>"> <input type="hidden" name="ans" value="<?php echo ''.$row['ans'].''; ?>"> <input type="hidden" name="p_id" value="hentrapp"> <! ------------------------------------------------------------------------- Repport info ------------------------------------------------------------------------------------------- !> <div class="top_felt" style="border-right:2px solid black;">Kundenavn:<br> <div class="firmanavn"><?php echo ''.$row['firma_navn'].''; ?></div></div> <div class="top_felt2" style="border-right:2px solid black; width:65px;">Ansvarlig:<br> <div class="firmanavn" style="border-right:2px solid black; width:65px;"><?php echo ''.$row['ans'].''; ?></div></div> <div class="top_felt2" >Service rapport nr.:<br> <div class="firmanavn"><?php echo ''.$row['id'].''; ?></div></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 1 ------------------------------------------------------------------------------------------------- !> <div class="line_type_438" style="border-right:2px solid black;"> <div class="info_felt">C/O Firmanavn: </div> <div class="tekst_felt"><?php echo ' '.$row['navn'].''; ?></div> <div class="clear"></div> </div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-right:2px solid black; border-bottom:2px solid black; text-align:left;"> <div class="info_felt">Vores ref.:</div> <div class="tekst_felt"><?php echo ''.$row['v_ref'].''; ?></div> </div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left;"> <div class="info_felt">Dato:</div> <div class="tekst_felt"><?php echo ''.$dato.''; ?></div> </div><br style="clear:both"> <! ------------------------------------------------------------------------- line 2 ------------------------------------------------------------------------------------------------- !> <div class="line_type_438" style="border-right:2px solid black;">Adresse: <?php echo ''.$row['adresse'].''; ?></div> <div class="line_type_438">Deres ref.:<?php echo ''.$row['d_ref'].''; ?></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 3 ------------------------------------------------------------------------------------------------- !> <div class="line_type_438" style="border-right:2px solid black;">Post nr.: <?php echo ''.$row['post'].''; ?></div> <div class="line_type_438">Rekv. nr.: <?php echo ''.$row['revk'].''; ?></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 4 ------------------------------------------------------------------------------------------------- !> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">By: <?php echo ''.$row['by'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Land: <?php echo ''.$row['land'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Telefon: <?php echo ''.$row['telefon'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left;">Mobil: <?php echo ''.$row['mobil'].''; ?></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 5 ------------------------------------------------------------------------------------------------- !> <div style="width:25%; height:5%; background-color:#bbbbbb; float:left; border-bottom:2px solid black; border-right:2px solid black; border-bottom:2px solid black; text-align:left;">Fabrikat</div> <div style="width:25%; height:5%; background-color:#bbbbbb; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Type</div> <div style="width:25%; height:5%; background-color:#bbbbbb; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Maskine</div> <div style="width:25%; height:5%; background-color:#bbbbbb; float:left; border-bottom:2px solid black; text-align:left;">Serie Nr.</div><br style="clear:both"> <! ------------------------------------------------------------------------- line 6 ------------------------------------------------------------------------------------------------- !> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;"><?php echo ''.$row['fabrikat'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;"><?php echo ''.$row['type'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;"><?php echo ''.$row['maskine'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left;"><?php echo ''.$row['sn_nr'].''; ?></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 7 ------------------------------------------------------------------------------------------------- !> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Pris skønnet: <?php echo ''.$row['pris_s'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Pris Ny: <?php echo ''.$row['pris_n'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Pris brugt/ebay: <?php echo ''.$row['pris_b'].''; ?></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left;">Pris aftalt: <?php echo ''.$row['pris_k'].''; ?></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 8 ------------------------------------------------------------------------------------------------- !> <div style="width:100%; height:5%; background-color:#bbbbbb; float:left; border-bottom:2px solid black; text-align:left;">Beskrivels af anmeldt fejl</div><br style="clear:both"> <! ------------------------------------------------------------------------- line 9 ------------------------------------------------------------------------------------------------- !> <div style="width:100%; height:11%; background-color:#ffffff; border-bottom:2px solid black; float:left; text-align:left;"><?php echo ''.$row['baaf'].''; ?></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 10 ------------------------------------------------------------------------------------------------ !> <div style="width:100%; height:5%; background-color:#bbbbbb; float:left; border-bottom:2px solid black; text-align:left;">Beskrivels af observert fejl</div><br style="clear:both"> <! ------------------------------------------------------------------------- line 11 ------------------------------------------------------------------------------------------------ !> <div style="width:100%; height:11%; background-color:#ffffff; border-bottom:2px solid black; float:left; text-align:left;"><?php echo ''.$row['baof'].''; ?></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 12 ------------------------------------------------------------------------------------------------ !> <div style="width:100%; height:5%; background-color:#bbbbbb; float:left; border-bottom:2px solid black; text-align:left;">Note</div><br style="clear:both"> <! ------------------------------------------------------------------------- line 13 ------------------------------------------------------------------------------------------------ !> <div style="width:100%; height:11%; background-color:#ffffff; border-bottom:2px solid black; float:left; text-align:left;">.<?php echo ''.$row['note'].''; ?></div><br style="clear:both"> <! ------------------------------------------------------------------------- line 14 ------------------------------------------------------------------------------------------------ !> <div style="width:50%; height:5%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"><b>Tid brugt: </b><?php $ans = $row['ans']; $qry = mysql_query(" SELECT SUM(timer) AS total FROM proservice_rapport WHERE service_raport = '$rapport' AND timer != '-'"); $qry2 = mysql_query(" SELECT SUM(timer50) AS total2 FROM proservice_rapport WHERE service_raport = '$rapport'"); $qry3 = mysql_query(" SELECT SUM(timer100) AS total3 FROM proservice_rapport WHERE service_raport = '$rapport'"); $row2 = mysql_fetch_assoc($qry); $row3 = mysql_fetch_assoc($qry2); $row4 = mysql_fetch_assoc($qry3); $total = $row2['total']; $total = str_replace(array("."),array(","),$total); $total2 = $row3['total2']; $total2 = str_replace(array("."),array(","),$total2); $total3 = $row4['total3']; $total3 = str_replace(array("."),array(","),$total3);?> Normalt timer: <b><?php echo $total; ?></b> O. timer 50%: <b><?php echo $total2; ?></b> O. timer 100%: <b><?php echo $total3; ?></b> <?php $total = str_replace(array(","),array("."),$total); $total = $total * 825 ; $total2 = str_replace(array(","),array("."),$total2); $total2 = $total2 * 825 ; $total2 = $total2 * 1.50 ; $total3 = str_replace(array(","),array("."),$total3); $total3 = $total3 * 825 ; $total3 = $total3 * 2 ; ?></div> <div style="width:50%; height:5%; background-color:#ffffff; float:left; text-align:left;">Fakturings pris uden komponter: <b><?php $penge = $total + $total2 + $total3 ; echo $penge;?> Kr.</b></div> <! ------------------------------------------------------------------------- line 8 ------------------------------------------------------------------------------------------------- !> </div> </div> <p> <div style="width:880px; height:25px; background-color:#cccccc; float:center; border:2px solid black; text-align:center; margin: 0 auto; padding:0; display:inline-flex;"> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"> <?php if ($_SESSION['p_id'] == 'AOL') { ?> <input type="submit" value="Retur til opg. Lejre" name="AOlejre"> <?php } elseif ($_SESSION['p_id'] == 'AOV') { ?> <input type="submit" value="Retur til opg. Vejle" name="AOvejle"> <?php } elseif ($_SESSION['p_id'] == 'DOG') { ?> <input type="submit" value="Retur til opgave rack" name="dine_opgaver"> <?php } elseif ($_SESSION['p_id'] == 'UA50') { ?> <input type="submit" value="Retur til liste 50" name="UAlejre"> <?php } elseif ($_SESSION['p_id'] == 'UA51') { ?> <input type="submit" value="Retur til liste 51" name="UAvejle"> <?php } elseif ($_SESSION['p_id'] == 'soeg') { ?> <input type="submit" value="Retur til Søge side" name="soeg"> <?php } ?> </div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"> <?php if ($ans != $_SESSION['uid']) { ?> <input type="submit" value="Tag ansvar" name="tag_ans"><?php } ?> <?php if ($ans == $_SESSION['uid']) { ?> <input type="submit" value="Giv ansvar videre" name="ans_hent"><?php } ?> </div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"> <input type="submit" value="Tilføj tekst" name="tekst_hent"> </div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; text-align:left;"></div><br style="clear:both"> </div> <div style="width:880px; height:25px; background-color:#cccccc; float:center; border:2px solid black; text-align:center; margin: 0 auto; padding:0; display:inline-flex;"> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"> <?php if ($ans == $_SESSION['uid']) { ?> <input type="submit" value="Tilføj eller ret priserne" name="pris_hent"><?php } ?> </div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"> <?php if ($ans == $_SESSION['uid']) { ?> <input type="submit" value="Ret stamdata" name="ret_de_hent"><?php } ?> </div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"> <input type="submit" value="Komponentside" name="kom_side_hent"> </div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; text-align:left;"> <?php if ($row['status_kode'] != 9) { ?><input type="submit" value="Færdigør" name="fakhent"><?php } ?></div><br style="clear:both"> </form> </div> <div style="width:880px; height:25px; background-color:#cccccc; float:center; border:2px solid black; text-align:center; margin: 0 auto; padding:0; display:inline-flex;"> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"><div style="width:0%; heigth:0%;"><form action="servicerapport_ikkeafslut_pdf.php?id=<?php echo ''.$rapport.'' ; ?>" method="post" onclick="window.open(this.action); return false;"></div><input style="height:100%;" type="submit" value="Print rapport" name="print_rapp"><div style="width:0%; heigth:0%;"></form></div></div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"></div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"></div> <div style="width:25%; height:100%; background-color:#ffffff; float:left; text-align:left;"></div><br style="clear:both"> </div> <?php } ?> <?php if(isset($_POST['ans_hent'])){ $id = $_POST['id']; $result = mysql_query("SELECT * FROM proservice WHERE id='$id'"); while($row = mysql_fetch_assoc($result)) { ?> <p> <div id="container" style="width:880px; height:101%; border:1px solid black;"> <div class="top">Vidergiv ansvaret for service rapporten</div> <form method="post" action="" onsubmit="return v(this)"> <input type="hidden" name="id" value="<?php echo ''.$id.'' ?>"> <div id="container2" style="width:100%; min-height:22px; height:100%; border-top:1px solid black; margin: 0 auto; padding:0;"> <div style="width:100%; height:22; background-color:#ffffff; float:left; text-align:left;">Vælg den er skal overtage ans ned for og klik pÃ¥ giv ansvar</div> </div> <div id="container2" style="width:100%; min-height:22px; height:100%; border-top:2px solid black; margin: 0 auto; padding:0;"> <div style="width:100%; height:22; background-color:#ffffff; float:left;"><select class="inputindex" style="background-color:#ffffff; width:100%; height:100%;" class="select" name="ans"> <option value="50">50 Uden ansvar Lejre</option> <option value="51">51 Uden ansvar Vejle</option> <?php $result = mysql_query("SELECT * FROM promed ORDER BY id ASC"); while($row = mysql_fetch_assoc($result)) { $ans = $row['id'];?></option> <option value="<?php echo ''.$row['id'].''; ?>"><?php echo ''.$row['id'].''; ?> <?php $result2 = mysql_query("SELECT * FROM promed WHERE id=$ans"); while($row2 = mysql_fetch_assoc($result2)) { echo ''.$row['navn'].''; ?> </option> <?php } }?></Select></div> </div> <div id="container2" style="width:100%; min-height:22px; height:100%; border-top:1px solid black; margin: 0 auto; padding:0;"> <div class="felt" style="width:100%; height:100%; border-right:1px solid black;"><input class="inputindex" style="width:100%; height:21px;" type="submit" value="Giv ansvaret" name="giv_ans_paa"></div> </div> </form> </div> <?php } } ?> <?php if(isset($_POST['pris_hent'])){ $id = $_POST['id']; $result = mysql_query("SELECT * FROM proservice WHERE id='$id'"); while($row = mysql_fetch_assoc($result)) { ?> <p> <div id="container" style="width:880px; height:101%; border:1px solid black;"> <div class="top">Tilføj / ret pris pÃ¥ service rapport</div> <form method="post" action="" onsubmit="return v(this)"> <input type="hidden" name="id" value="<?php echo ''.$id.'' ?>"> <div id="container2" style="width:100%; min-height:22px; height:100%; border-top:1px solid black; margin: 0 auto; padding:0;"> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Pris skønnet</div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Pris Ny</div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;">Pris brugt/ebay</div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left;">Pris aftalt</div><br style="clear:both"> </div> <div id="container2" style="width:100%; min-height:22px; height:100%; border-top:1px solid black; margin: 0 auto; padding:0;"> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;"><input style="min-height:21px; background-color:#ffffff; height:100%; width:100%;" class="tekst" type="text" name="pris_ret_s" value="<?php echo ''.$row['pris_s'].''; ?>"></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;"><input style="min-height:21px; background-color:#ffffff; height:100%; width:100%;" class="tekst" type="text" name="pris_ret_n" value="<?php echo ''.$row['pris_n'].''; ?>"></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; border-right:2px solid black; text-align:left;"><input style="min-height:21px; background-color:#ffffff; height:100%; width:100%;" class="tekst" type="text" name="pris_ret_b" value="<?php echo ''.$row['pris_b'].''; ?>"></div> <div style="width:25%; height:5%; background-color:#ffffff; float:left; border-bottom:2px solid black; text-align:left;"><input style="min-height:21px; background-color:#ffffff; height:100%; width:100%;" class="tekst" type="text" name="pris_ret_k" value="<?php echo ''.$row['pris_k'].''; ?>"></div><br style="clear:both"> </div> <div id="container2" style="width:100%; min-height:22px; height:100%; border-top:1px solid black; margin: 0 auto; padding:0;"> <div class="felt" style="width:100%; height:100%; border-right:1px solid black;"><input class="inputindex" style="width:100%; height:21px;" type="submit" value="Tilføj ny/rette pris" name="pris_paa"></div> </div> </form> </div> <?php } } ?> <?php if(isset($_POST['tekst_hent'])){ $id = $_POST['id']; $result = mysql_query("SELECT * FROM proservice WHERE id='$id'"); while($row = mysql_fetch_assoc($result)) { ?> <p> <div id="container" style="width:880px; height:101%; border:1px solid black;"> <div class="top">Tilføj tekst pÃ¥ service rapport</div> <div id="container2" style="width:100%; height:20px; display:inline-flex;"> <div class="felt" style="width:100%; height:100%; border-right:1px solid black;">Skriv teksten i linje neden for</div> </div> <form method="post" action="" onsubmit="return v(this)"> <input type="hidden" name="id" value="<?php echo ''.$id.'' ?>"> <div id="container2" style="width:100%; min-height:22px; height:100%; border-top:1px solid black; margin: 0 auto; padding:0;"> <div class="felt" style="width:100%; height:100%; border-right:1px solid black;"><input style="min-height:21px; background-color:#ffffff; height:100%; width:100%;" class="tekst" type="text" name="beskivsle" value=""></div> </div> <div id="container2" style="width:100%; min-height:22px; height:100%; border-top:1px solid black; margin: 0 auto; padding:0;"> <div class="felt" style="width:100%; height:100%; border-right:1px solid black;"><input class="inputindex" style="width:100%; height:21px;" type="submit" value="Tilføj tekst til rapport" name="tekst_paa"></div> </div> </form> </div> <?php } } ?> <p> <?php $result = mysql_query("SELECT * FROM proservice_rapport WHERE service_raport='$rapport' ORDER BY id LIMIT 1"); while($row = mysql_fetch_assoc($result)) { $nummer1 = $row['id']; ?> <div style="text-align:center;"> <div style="width:880px; min-height:82px; height:100%; background-color:#cccccc; float:center; border:2px solid black; text-align:center; margin: 0 auto; padding:0;"> <input type="hidden" name="id" value="<?php echo ''.$row['service_raport'].''; ?>"> <! ------------------------------------------------------------------------- line 1 ------------------------------------------------------------------------------------------------- !> <div style="display:inline-flex; width:9%; min-height:82px; height:100%; background-color:#ffffff; float:left; text-align:left;"> <div style="display:inline-flex; width:100%; height:30%; background-color:#ffffff; text-align:left;">Dato:</div> <div style="display:inline-flex; width:100%; height:30%; background-color:#ffffff; border-bottom:2px solid black; text-align:left;"><?php echo ''.$row['dato'].''; ?></div> <div style="display:inline-flex; width:100%; height:40%; background-color:#ffffff; text-align:left;">Af: <?php echo ''.$row['ans'].''; ?></div><br style="clear:both"> </div> <div style="display:inline-flex; border-left:2px solid black; width:82%; min-height:82px; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"><?php echo ''.$row['beskivsle'].''; ?></div> <div style="width:9%; min-height:82px; height:100%; background-color:#ffffff; float:left; solid black; text-align:left; ">Tid brugt:<br><?php $timer1 = $row['timer']; $timer2 = $row['timer50']; $timer3 = $row['timer100']; $timer = $timer1 + $timer2 + $timer3 ; $timer = str_replace(array("0"),array("-"),$timer); echo ''.$timer.''; ?> time(r)</div><br style="clear:both"> </div> </div> <?php $result = mysql_query("SELECT * FROM proservice_rapport WHERE service_raport='$rapport' and id!=$nummer1"); while($row = mysql_fetch_assoc($result)) { ?> <div style="text-align:center;"> <div style="width:880px; min-height:82px; height:100%; background-color:#ffffff; border-right:2px solid black; border-left:2px solid black; border-bottom:2px solid black; text-align:center; margin: 0 auto; padding:0;"> <input type="hidden" name="id" value="<?php echo ''.$row['service_raport'].''; ?>"> <! ------------------------------------------------------------------------- line 1 ------------------------------------------------------------------------------------------------- !> <div style="display:inline-flex; width:9%; min-height:82px; height:100%; background-color:#ffffff; float:left; text-align:left;"> <div style="display:inline-flex; width:100%; height:30%; background-color:#ffffff; text-align:left;">Dato:</div> <div style="display:inline-flex; width:100%; height:30%; background-color:#ffffff; border-bottom:2px solid black; text-align:left;"><?php echo ''.$row['dato'].''; ?></div> <div style="display:inline-flex; width:100%; height:40%; background-color:#ffffff; text-align:left;">Af: <?php echo ''.$row['ans'].''; ?></div><br style="clear:both"> </div> <div style="display:inline-flex; border-left:2px solid black; width:82%; min-height:82px; height:100%; background-color:#ffffff; float:left; border-right:2px solid black; text-align:left;"><?php echo ''.$row['beskivsle'].''; ?></div> <div style="width:9%; min-height:82px; height:100%; background-color:#ffffff; float:left; solid black; text-align:left; ">Tid brugt:<br><?php $timer1 = $row['timer']; $timer2 = $row['timer50']; $timer3 = $row['timer100']; $timer = $timer1 + $timer2 + $timer3 ; echo ''.$timer.''; ?> time(r)</div><br style="clear:both"> </div> </div> <?php } } } } ?> <p> </td></tr> </table> </body> </html> ----------------------------------------------------------------------------- It Works fine in IE10 and Chrom
Please, don't paste huge HTML code in your messsage, just attach the HTML file to the bug report. https://bugzilla.mozilla.org/attachment.cgi?bugid=889792&action=enter
Comment 7•11 years ago
|
||
(In reply to otto from comment #6) > Created attachment 770745 [details] > site in center, Otto, these are files including PHP. Could you attach the output HTML sent to the browser, using the File > Save As... menu, picking "Web Page, Complete", and zipping up the file and the CSS/images folder it creates? Thanks!
Flags: needinfo?(otto)
Keywords: regression
Summary: design problem in both V.22 and Aurora but it was not in v.21 → Rendering issue in Firefox 22 compared to 21
Brugernavn (username): test kodeord (password): test to the test site. it dos not had all my site normale have, but is showa the problem
Flags: needinfo?(otto)
Comment 10•11 years ago
|
||
This is because you're using unprefixed display: inline-flex on the div id="menu" (and probably elsewhere), and Firefox 22 started supporting that unprefixed (before, it was -moz-inline-flex). Removing that makes it work in Firefox. I don't personally know enough about display: inline-flex to be 100% sure, and don't have time to debug your layout, but I suspect this is a bug in how you're trying to use flexbox together with width/height 100% on the children of the flexbox. If you disagree, please reopen with a reduced testcase demonstrating an issue with how the spec is implemented.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Comment 11•11 years ago
|
||
Yes, removing "display:inline-flex;" from the source code fixes the bad rendering. Reduced testcase: data:text/html;charset=utf-8,<div style%3D"display%3Ainline-flex%3B"><div>Line1<%2Fdiv><div>Line2<%2Fdiv><%2Fdiv>%0D%0A
Resolution: INVALID → FIXED
Component: Untriaged → Layout
Keywords: regression,
testcase-wanted
Product: Firefox → Core
Resolution: FIXED → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•