object frames should ask children for MEW

RESOLVED FIXED

Status

()

defect
--
minor
RESOLVED FIXED
17 years ago
16 years ago

People

(Reporter: mhoye, Assigned: bernd_mozilla)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(6 attachments, 1 obsolete attachment)

(Reporter)

Description

17 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2b) Gecko/20021014 Phoenix/0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2b) Gecko/20021014 Phoenix/0.3

Compare to http://neon.polkaroo.net/~mhoye/blarg/test.html

test.html contains cut-and-paste of frame contents from index.html less headers.
test2.html contains (object data="fixed.html") and ...="daily.html") tags. 

Table elements in test2 do not accomodate contents of objects, even though right
widths (20%, 80%) are specified.


Reproducible: Always

Steps to Reproduce:
1.Embed HTML objects into a table.

2.Look at what happens.

Actual Results:  
The page rendered a small table that did not span the screen, and truncated half
of the first table entry.

Expected Results:  
The table should span to the specified width and render down to the required
length, if that length is unspecified.
(Assignee)

Comment 1

17 years ago
wfm win98 2003011208, reporter your build is pretty old please retest with a
current build and reopen the bug if it is still present.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → WORKSFORME

Comment 2

17 years ago
Sorry, Bernd, I see this bug on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.3b) Gecko/20030114 under WinXP. 
(Reporter)

Comment 3

17 years ago
I'd like to reopen this. I've verified it in the most recent Phoenix nightly.

- Mike Hoye
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
(Assignee)

Comment 4

17 years ago
Hmm I hit the first link that I saw in comment #1

Compare to http://neon.polkaroo.net/~mhoye/blarg/test.html

and that wfm'ed :-)

ruslan have you ever worked with
http://lxr.mozilla.org/seamonkey/source/layout/doc/frame_reflow_debug.html to
see whats going on?

Comment 5

17 years ago
Sorry, buy I could not follow instruction on step:  viewer > logfile.txt, if I
try run /bin/viewer, I got an relocation error, undefined symbol NS_CurrentTread

If I enter EXPORT LD_LIBRARY_PATH=~/mozilla/mozilla/dist/lib and run
viewer > logfile.txt I got a ASSERTION: failed to write xpti manifest!:"Error',
file xptiInterfaceInfoManager.cpp, line 1951 (few same strings), and segfault.

Comment 6

17 years ago
Oh. And I have logfile for this cite, but it is 697K size. Do you want that I
emaied it?

Comment 7

17 years ago
Ruslan: do
./run-mozilla.sh viewer > logfile.txt

Comment 8

17 years ago
Posted file another testcase
The problem is not with the <table> but with the <object>s.  The one on the
left is too wide and the one on the right overlaps it and is too narrow (they
are both the same size).  Making both "100%" fixes the widths at least.

table height is another matter entirely...
(Assignee)

Comment 9

17 years ago

Comment 10

17 years ago
To fix height of objects, you should add height: 100% to then, and add
style="height: 100%; margin: 0px" to body, and style="height: 100%;" to html
(otherwise document height would be zero).

Bernd, I run viewer, and logfile contains 600+ k of bytes, I could not read such
many. Longfile for second testcase have 100k.

Obj filed encountered twice in this tree.

WEBSHELL+ = 3 
VP 0x85b9334 r=0 a=190,190 c=190,190 cnt=1267 
 scroll 0x85b9720 r=0 a=190,190 c=190,190 cnt=1268 
 scroll 0x85b9720 r=0 a=190,190 c=190,190 cnt=1269 
  canvas 0x85b9440 r=0 a=190,UC c=190,190 cnt=1270 
   area 0x86279c0 r=0 a=190,UC c=190,UC cnt=1271 
    text 0x85b9bec r=0 a=190,UC c=UC,UC cnt=1272 
    text 0x85b9bec d=0,0 
    block 0x8627ba8 r=0 a=190,UC c=0,UC cnt=1273 
    block 0x8627ba8 d=0,0 
   area 0x86279c0 d=190,152 
  canvas 0x85b9440 d=190,190 me=0 
 scroll 0x85b9720 d=190,190 
 scroll 0x85b9720 d=190,190 
VP 0x85b9334 d=190,190 
VP 0x85283d4 r=1 a=11780,6004 c=11780,6004 cnt=1274 
 scroll 0x8528794 r=1 a=11780,6004 c=11780,6004 cnt=1275 
 scroll 0x8528794 r=1 a=11780,6004 c=11780,6004 cnt=1276 
  canvas 0x85284e0 r=1 a=11780,UC c=11780,6004 cnt=1277 
   area 0x85eadb0 r=1 a=11780,UC c=11780,UC cnt=1278 
    block 0x85eaf98 r=1 a=11780,UC c=11476,UC cnt=1279 
     text 0x85eb198 r=0 a=11476,UC c=UC,UC cnt=1280 
     text 0x85eb198 d=0,0 
     block 0x85eb2f0 r=0 a=11476,UC c=3800,UC cnt=1281 
      text 0x85eb374 r=0 a=3800,UC c=UC,UC cnt=1282 
      text 0x85eb374 d=0,0 
      obj 0x85eb504 r=0 a=3800,UC c=UC,UC cnt=1283 
       frameO 0x85eb3e4 r=0 a=UC,UC c=UC,UC cnt=1284  
VP 0x85b9334 r=2 a=5700,2850 c=5700,2850 cnt=1285 
 scroll 0x85b9720 r=2 a=5700,2850 c=5700,2850 cnt=1286 
 scroll 0x85b9720 r=2 a=5700,2850 c=5700,2850 cnt=1287 
  canvas 0x85b9440 r=2 a=5700,UC c=5700,2850 cnt=1288 
   area 0x86279c0 r=2 a=5700,UC c=5700,UC cnt=1289 
    text 0x85b9bec r=2 a=5700,UC c=UC,UC cnt=1290 
    text 0x85b9bec d=0,0 
    block 0x8627ba8 r=2 a=5700,UC c=5396,UC cnt=1291 
     text 0x8627df8 r=0 a=5396,UC c=UC,UC cnt=1292 
     text 0x8627df8 d=0,0 
     inline 0x8627ebc r=0 a=5396,UC c=UC,UC cnt=1293 
     inline 0x8627ebc d=0,247 
     block 0x8627fd4 r=0 a=5396,UC c=5396,UC cnt=1294 
      text 0x8628058 r=0 a=5396,UC c=UC,UC cnt=1295 
      text 0x8628058 d=0,0 
      inline 0x86280f0 r=0 a=5396,UC c=UC,UC cnt=1296 
       text 0x862815c r=0 a=5396,UC c=UC,UC cnt=1297 
       text 0x862815c d=2261,247 
      inline 0x86280f0 d=2261,247 
      block 0x8628280 r=0 a=5396,UC c=5396,UC cnt=1298 
       text 0x8628304 r=0 a=5396,UC c=UC,UC cnt=1299 
       text 0x8628304 d=0,0 
       inline 0x862839c r=0 a=5396,UC c=UC,UC cnt=1300 
        inline 0x8628454 r=0 a=5396,UC c=UC,UC cnt=1301 
         text 0x86284c0 r=0 a=5396,UC c=UC,UC cnt=1302 
         text 0x86284c0 d=798,247 
        inline 0x8628454 d=798,247 
       inline 0x862839c d=798,247 
      block 0x8628280 d=5396,247 
      block 0x8628534 r=0 a=5396,UC c=5396,UC cnt=1303 
       text 0x8628584 r=0 a=5396,UC c=UC,UC cnt=1304 
       text 0x8628584 d=0,0 
       inline 0x86285c8 r=0 a=5396,UC c=UC,UC cnt=1305 
        inline 0x8628740 r=0 a=5396,UC c=UC,UC cnt=1306 
         text 0x86287ac r=0 a=5396,UC c=UC,UC cnt=1307 
         text 0x86287ac d=665,247 
        inline 0x8628740 d=665,247 
        br 0x862f794 r=0 a=4731,UC c=UC,UC cnt=1308 
        br 0x862f794 d=0,0 
       inline 0x86285c8 d=665,247 status=17153
       inline 0x8630ee0 r=0 a=5396,UC c=UC,UC pif=0x86285c8 cnt=1309 
        text 0x862f7f4 r=0 a=5396,UC c=UC,UC cnt=1310 
        text 0x862f7f4 d=0,0 
        inline 0x862f838 r=0 a=5396,UC c=UC,UC cnt=1311 
         text 0x862f870 r=0 a=5396,UC c=UC,UC cnt=1312 
         text 0x862f870 d=798,247 
        inline 0x862f838 d=798,247 
        br 0x862f8b4 r=0 a=4598,UC c=UC,UC cnt=1313 
        br 0x862f8b4 d=0,0 
       inline 0x8630ee0 d=798,247 status=17153
       inline 0x8630f68 r=0 a=5396,UC c=UC,UC pif=0x8630ee0 cnt=1314 
        text 0x862f8e0 r=0 a=5396,UC c=UC,UC cnt=1315 
        text 0x862f8e0 d=0,0 
        inline 0x862f924 r=0 a=5396,UC c=UC,UC cnt=1316 
         text 0x862f95c r=0 a=5396,UC c=UC,UC cnt=1317 
         text 0x862f95c d=532,247 
        inline 0x862f924 d=532,247 
        br 0x862f9a0 r=0 a=4864,UC c=UC,UC cnt=1318 
        br 0x862f9a0 d=0,0 
       inline 0x8630f68 d=532,247 status=17153
       inline 0x8630fd0 r=0 a=5396,UC c=UC,UC pif=0x8630f68 cnt=1319 
        text 0x862f9cc r=0 a=5396,UC c=UC,UC cnt=1320 
        text 0x862f9cc d=0,0 
        inline 0x862fa10 r=0 a=5396,UC c=UC,UC cnt=1321 
         text 0x862fa48 r=0 a=5396,UC c=UC,UC cnt=1322 
         text 0x862fa48 d=532,247 
        inline 0x862fa10 d=532,247 
       inline 0x8630fd0 d=532,247 
      block 0x8628534 d=5396,988 
      block 0x862fabc r=0 a=5396,UC c=5396,UC cnt=1323 
       text 0x862fb0c r=0 a=5396,UC c=UC,UC cnt=1324 
       text 0x862fb0c d=0,0 
       inline 0x862fb50 r=0 a=5396,UC c=UC,UC cnt=1325 
        inline 0x862fb88 r=0 a=5396,UC c=UC,UC cnt=1326 
         text 0x862fbc0 r=0 a=5396,UC c=UC,UC cnt=1327 
         text 0x862fbc0 d=798,247 
        inline 0x862fb88 d=798,247 
       inline 0x862fb50 d=798,247 
      block 0x862fabc d=5396,247 
      block 0x862fc34 r=0 a=5396,UC c=5396,UC cnt=1328 
       text 0x862fc84 r=0 a=5396,UC c=UC,UC cnt=1329 
       text 0x862fc84 d=0,0 
       inline 0x862fcc8 r=0 a=5396,UC c=UC,UC cnt=1330 
        inline 0x862fd00 r=0 a=5396,UC c=UC,UC cnt=1331 
         text 0x862fd38 r=0 a=5396,UC c=UC,UC cnt=1332 
         text 0x862fd38 d=1596,247 
        inline 0x862fd00 d=1596,247 
        br 0x862fd7c r=0 a=3800,UC c=UC,UC cnt=1333 
        br 0x862fd7c d=0,0 
       inline 0x862fcc8 d=1596,247 status=17153
       inline 0x8631038 r=0 a=5396,UC c=UC,UC pif=0x862fcc8 cnt=1334 
        text 0x862fda8 r=0 a=5396,UC c=UC,UC cnt=1335 
        text 0x862fda8 d=0,0 
        inline 0x862fdec r=0 a=5396,UC c=UC,UC cnt=1336 
         text 0x862fe24 r=0 a=5396,UC c=UC,UC cnt=1337 
         text 0x862fe24 d=1330,247 
        inline 0x862fdec d=1330,247 
        br 0x862fe68 r=0 a=4066,UC c=UC,UC cnt=1338 
        br 0x862fe68 d=0,0 
       inline 0x8631038 d=1330,247 status=17153
       inline 0x86310a0 r=0 a=5396,UC c=UC,UC pif=0x8631038 cnt=1339 
        text 0x862fe94 r=0 a=5396,UC c=UC,UC cnt=1340 
        text 0x862fe94 d=0,0 
        inline 0x862fed8 r=0 a=5396,UC c=UC,UC cnt=1341 
         text 0x862ff10 r=0 a=5396,UC c=UC,UC cnt=1342 
         text 0x862ff10 d=1064,247 
        inline 0x862fed8 d=1064,247 
        br 0x862ff54 r=0 a=4332,UC c=UC,UC cnt=1343 
        br 0x862ff54 d=0,0 
       inline 0x86310a0 d=1064,247 status=17153
       inline 0x8631108 r=0 a=5396,UC c=UC,UC pif=0x86310a0 cnt=1344 
        text 0x862ff80 r=0 a=5396,UC c=UC,UC cnt=1345 
        text 0x862ff80 d=0,0 
        inline 0x862ffc4 r=0 a=5396,UC c=UC,UC cnt=1346 
         text 0x862fffc r=0 a=5396,UC c=UC,UC cnt=1347 
         text 0x862fffc d=1197,247 
        inline 0x862ffc4 d=1197,247 
        br 0x8630040 r=0 a=4199,UC c=UC,UC cnt=1348 
        br 0x8630040 d=0,0 
       inline 0x8631108 d=1197,247 status=17153
       inline 0x8631170 r=0 a=5396,UC c=UC,UC pif=0x8631108 cnt=1349 
        text 0x863006c r=0 a=5396,UC c=UC,UC cnt=1350 
        text 0x863006c d=0,0 
        inline 0x86300b0 r=0 a=5396,UC c=UC,UC cnt=1351 
         text 0x86300e8 r=0 a=5396,UC c=UC,UC cnt=1352 
         text 0x86300e8 d=1197,247 
        inline 0x86300b0 d=1197,247 
        br 0x863012c r=0 a=4199,UC c=UC,UC cnt=1353 
        br 0x863012c d=0,0 
       inline 0x8631170 d=1197,247 status=17153
       inline 0x86311d8 r=0 a=5396,UC c=UC,UC pif=0x8631170 cnt=1354 
        text 0x8630158 r=0 a=5396,UC c=UC,UC cnt=1355 
        text 0x8630158 d=0,0 
        inline 0x863019c r=0 a=5396,UC c=UC,UC cnt=1356 
         text 0x86301d4 r=0 a=5396,UC c=UC,UC cnt=1357 
         text 0x86301d4 d=1463,247 
        inline 0x863019c d=1463,247 
        br 0x8630218 r=0 a=3933,UC c=UC,UC cnt=1358 
        br 0x8630218 d=0,0 
       inline 0x86311d8 d=1463,247 status=17153
       inline 0x8631240 r=0 a=5396,UC c=UC,UC pif=0x86311d8 cnt=1359 
        text 0x8630244 r=0 a=5396,UC c=UC,UC cnt=1360 
        text 0x8630244 d=0,0 
        inline 0x8630288 r=0 a=5396,UC c=UC,UC cnt=1361 
         text 0x86302c0 r=0 a=5396,UC c=UC,UC cnt=1362 
         text 0x86302c0 d=532,247 
        inline 0x8630288 d=532,247 
        br 0x8630304 r=0 a=4864,UC c=UC,UC cnt=1363 
        br 0x8630304 d=0,0 
       inline 0x8631240 d=532,247 status=17153
       inline 0x86312a8 r=0 a=5396,UC c=UC,UC pif=0x8631240 cnt=1364 
        text 0x8630330 r=0 a=5396,UC c=UC,UC cnt=1365 
        text 0x8630330 d=0,0 
        inline 0x8630374 r=0 a=5396,UC c=UC,UC cnt=1366 
         text 0x86303ac r=0 a=5396,UC c=UC,UC cnt=1367 
         text 0x86303ac d=532,247 
        inline 0x8630374 d=532,247 
        br 0x86303f0 r=0 a=4864,UC c=UC,UC cnt=1368 
        br 0x86303f0 d=0,0 
       inline 0x86312a8 d=532,247 status=17153
       inline 0x8631310 r=0 a=5396,UC c=UC,UC pif=0x86312a8 cnt=1369 
        text 0x863041c r=0 a=5396,UC c=UC,UC cnt=1370 
        text 0x863041c d=0,0 
       inline 0x8631310 d=0,0 
      block 0x862fc34 d=5396,1976 
      block 0x8630490 r=0 a=5396,UC c=5396,UC cnt=1371 
       text 0x86304e0 r=0 a=5396,UC c=UC,UC cnt=1372 
       text 0x86304e0 d=0,0 
       inline 0x8630524 r=0 a=5396,UC c=UC,UC cnt=1373 
        inline 0x863055c r=0 a=5396,UC c=UC,UC cnt=1374 
         text 0x8630594 r=0 a=5396,UC c=UC,UC cnt=1375 
         text 0x8630594 d=798,247 
        inline 0x863055c d=798,247 
       inline 0x8630524 d=798,247 
      block 0x8630490 d=5396,247 
      block 0x863064c r=0 a=5396,UC c=5396,UC cnt=1376 
       text 0x8630608 r=0 a=5396,UC c=UC,UC cnt=1377 
       text 0x8630608 d=0,0 
       inline 0x863069c r=0 a=5396,UC c=UC,UC cnt=1378 
        inline 0x86306d4 r=0 a=5396,UC c=UC,UC cnt=1379 
         text 0x8630758 r=0 a=5396,UC c=UC,UC cnt=1380 
         text 0x8630758 d=1463,247 
        inline 0x86306d4 d=1463,247 
        br 0x863079c r=0 a=3933,UC c=UC,UC cnt=1381 
        br 0x863079c d=0,0 
       inline 0x863069c d=1463,247 status=17153
       inline 0x8631378 r=0 a=5396,UC c=UC,UC pif=0x863069c cnt=1382 
        text 0x86307c8 r=0 a=5396,UC c=UC,UC cnt=1383 
        text 0x86307c8 d=0,0 
        inline 0x863080c r=0 a=5396,UC c=UC,UC cnt=1384 
         text 0x8630844 r=0 a=5396,UC c=UC,UC cnt=1385 
         text 0x8630844 d=1197,247 
        inline 0x863080c d=1197,247 
        br 0x8630888 r=0 a=4199,UC c=UC,UC cnt=1386 
        br 0x8630888 d=0,0 
       inline 0x8631378 d=1197,247 status=17153
       inline 0x86313e0 r=0 a=5396,UC c=UC,UC pif=0x8631378 cnt=1387 
        text 0x86308b4 r=0 a=5396,UC c=UC,UC cnt=1388 
        text 0x86308b4 d=0,0 
        inline 0x86308f8 r=0 a=5396,UC c=UC,UC cnt=1389 
         text 0x8630930 r=0 a=5396,UC c=UC,UC cnt=1390 
         text 0x8630930 d=1862,247 
        inline 0x86308f8 d=1862,247 
        br 0x8630974 r=0 a=3534,UC c=UC,UC cnt=1391 
        br 0x8630974 d=0,0 
       inline 0x86313e0 d=1862,247 status=17153
       inline 0x8631448 r=0 a=5396,UC c=UC,UC pif=0x86313e0 cnt=1392 
        text 0x86309a0 r=0 a=5396,UC c=UC,UC cnt=1393 
        text 0x86309a0 d=0,0 
        inline 0x86309e4 r=0 a=5396,UC c=UC,UC cnt=1394 
         text 0x8630a1c r=0 a=5396,UC c=UC,UC cnt=1395 
         text 0x8630a1c d=532,247 
        inline 0x86309e4 d=532,247 
        br 0x8630a60 r=0 a=4864,UC c=UC,UC cnt=1396 
        br 0x8630a60 d=0,0 
       inline 0x8631448 d=532,247 status=17153
       inline 0x86314b0 r=0 a=5396,UC c=UC,UC pif=0x8631448 cnt=1397 
        text 0x8630a8c r=0 a=5396,UC c=UC,UC cnt=1398 
        text 0x8630a8c d=0,0 
       inline 0x86314b0 d=0,0 
      block 0x863064c d=5396,988 
     block 0x8627fd4 d=5396,6764 
    block 0x8627ba8 d=5396,6764 
   area 0x86279c0 d=5700,7220 
  canvas 0x85b9440 d=5700,7220 me=0 
  canvas 0x85b9440 r=2 a=5415,UC c=5415,2850 cnt=1399 
   area 0x86279c0 r=2 a=5415,UC c=5415,UC cnt=1400 
    text 0x85b9bec r=2 a=5415,UC c=UC,UC cnt=1401 
    text 0x85b9bec d=0,0 
    block 0x8627ba8 r=2 a=5415,UC c=5111,UC cnt=1402 
     text 0x8627df8 r=2 a=5111,UC c=UC,UC cnt=1403 
     text 0x8627df8 d=0,0 
     inline 0x8627ebc r=2 a=5111,UC c=UC,UC cnt=1404 
     inline 0x8627ebc d=0,247 
     block 0x8627fd4 r=2 a=5111,UC c=5111,UC cnt=1405 
      text 0x8628058 r=2 a=5111,UC c=UC,UC cnt=1406 
      text 0x8628058 d=0,0 
      inline 0x86280f0 r=2 a=5111,UC c=UC,UC cnt=1407 
       text 0x862815c r=2 a=5111,UC c=UC,UC cnt=1408 
       text 0x862815c d=2261,247 
      inline 0x86280f0 d=2261,247 
      block 0x8628280 r=2 a=5111,UC c=5111,UC cnt=1409 
       text 0x8628304 r=2 a=5111,UC c=UC,UC cnt=1410 
       text 0x8628304 d=0,0 
       inline 0x862839c r=2 a=5111,UC c=UC,UC cnt=1411 
        inline 0x8628454 r=2 a=5111,UC c=UC,UC cnt=1412 
         text 0x86284c0 r=2 a=5111,UC c=UC,UC cnt=1413 
         text 0x86284c0 d=798,247 
        inline 0x8628454 d=798,247 
       inline 0x862839c d=798,247 
      block 0x8628280 d=5111,247 
      block 0x8628534 r=2 a=5111,UC c=5111,UC cnt=1414 
       text 0x8628584 r=2 a=5111,UC c=UC,UC cnt=1415 
       text 0x8628584 d=0,0 
       inline 0x86285c8 r=2 a=5111,UC c=UC,UC nif=0x8630ee0 cnt=1416 
        inline 0x8628740 r=2 a=5111,UC c=UC,UC cnt=1417 
         text 0x86287ac r=2 a=5111,UC c=UC,UC cnt=1418 
         text 0x86287ac d=665,247 
        inline 0x8628740 d=665,247 
        br 0x862f794 r=2 a=4446,UC c=UC,UC cnt=1419 
        br 0x862f794 d=0,0 
       inline 0x86285c8 d=665,247 status=17153
       inline 0x8630ee0 r=2 a=5111,UC c=UC,UC pif=0x86285c8 nif=0x8630f68 cnt=1420 
        text 0x862f7f4 r=2 a=5111,UC c=UC,UC cnt=1421 
        text 0x862f7f4 d=0,0 
        inline 0x862f838 r=2 a=5111,UC c=UC,UC cnt=1422 
         text 0x862f870 r=2 a=5111,UC c=UC,UC cnt=1423 
         text 0x862f870 d=798,247 
        inline 0x862f838 d=798,247 
        br 0x862f8b4 r=2 a=4313,UC c=UC,UC cnt=1424 
        br 0x862f8b4 d=0,0 
       inline 0x8630ee0 d=798,247 status=17153
       inline 0x8630f68 r=2 a=5111,UC c=UC,UC pif=0x8630ee0 nif=0x8630fd0 cnt=1425 
        text 0x862f8e0 r=2 a=5111,UC c=UC,UC cnt=1426 
        text 0x862f8e0 d=0,0 
        inline 0x862f924 r=2 a=5111,UC c=UC,UC cnt=1427 
         text 0x862f95c r=2 a=5111,UC c=UC,UC cnt=1428 
         text 0x862f95c d=532,247 
        inline 0x862f924 d=532,247 
        br 0x862f9a0 r=2 a=4579,UC c=UC,UC cnt=1429 
        br 0x862f9a0 d=0,0 
       inline 0x8630f68 d=532,247 status=17153
       inline 0x8630fd0 r=2 a=5111,UC c=UC,UC pif=0x8630f68 cnt=1430 
        text 0x862f9cc r=2 a=5111,UC c=UC,UC cnt=1431 
        text 0x862f9cc d=0,0 
        inline 0x862fa10 r=2 a=5111,UC c=UC,UC cnt=1432 
         text 0x862fa48 r=2 a=5111,UC c=UC,UC cnt=1433 
         text 0x862fa48 d=532,247 
        inline 0x862fa10 d=532,247 
       inline 0x8630fd0 d=532,247 
      block 0x8628534 d=5111,988 
      block 0x862fabc r=2 a=5111,UC c=5111,UC cnt=1434 
       text 0x862fb0c r=2 a=5111,UC c=UC,UC cnt=1435 
       text 0x862fb0c d=0,0 
       inline 0x862fb50 r=2 a=5111,UC c=UC,UC cnt=1436 
        inline 0x862fb88 r=2 a=5111,UC c=UC,UC cnt=1437 
         text 0x862fbc0 r=2 a=5111,UC c=UC,UC cnt=1438 
         text 0x862fbc0 d=798,247 
        inline 0x862fb88 d=798,247 
       inline 0x862fb50 d=798,247 
      block 0x862fabc d=5111,247 
      block 0x862fc34 r=2 a=5111,UC c=5111,UC cnt=1439 
       text 0x862fc84 r=2 a=5111,UC c=UC,UC cnt=1440 
       text 0x862fc84 d=0,0 
       inline 0x862fcc8 r=2 a=5111,UC c=UC,UC nif=0x8631038 cnt=1441 
        inline 0x862fd00 r=2 a=5111,UC c=UC,UC cnt=1442 
         text 0x862fd38 r=2 a=5111,UC c=UC,UC cnt=1443 
         text 0x862fd38 d=1596,247 
        inline 0x862fd00 d=1596,247 
        br 0x862fd7c r=2 a=3515,UC c=UC,UC cnt=1444 
        br 0x862fd7c d=0,0 
       inline 0x862fcc8 d=1596,247 status=17153
       inline 0x8631038 r=2 a=5111,UC c=UC,UC pif=0x862fcc8 nif=0x86310a0 cnt=1445 
        text 0x862fda8 r=2 a=5111,UC c=UC,UC cnt=1446 
        text 0x862fda8 d=0,0 
        inline 0x862fdec r=2 a=5111,UC c=UC,UC cnt=1447 
         text 0x862fe24 r=2 a=5111,UC c=UC,UC cnt=1448 
         text 0x862fe24 d=1330,247 
        inline 0x862fdec d=1330,247 
        br 0x862fe68 r=2 a=3781,UC c=UC,UC cnt=1449 
        br 0x862fe68 d=0,0 
       inline 0x8631038 d=1330,247 status=17153
       inline 0x86310a0 r=2 a=5111,UC c=UC,UC pif=0x8631038 nif=0x8631108 cnt=1450 
        text 0x862fe94 r=2 a=5111,UC c=UC,UC cnt=1451 
        text 0x862fe94 d=0,0 
        inline 0x862fed8 r=2 a=5111,UC c=UC,UC cnt=1452 
         text 0x862ff10 r=2 a=5111,UC c=UC,UC cnt=1453 
         text 0x862ff10 d=1064,247 
        inline 0x862fed8 d=1064,247 
        br 0x862ff54 r=2 a=4047,UC c=UC,UC cnt=1454 
        br 0x862ff54 d=0,0 
       inline 0x86310a0 d=1064,247 status=17153
       inline 0x8631108 r=2 a=5111,UC c=UC,UC pif=0x86310a0 nif=0x8631170 cnt=1455 
        text 0x862ff80 r=2 a=5111,UC c=UC,UC cnt=1456 
        text 0x862ff80 d=0,0 
        inline 0x862ffc4 r=2 a=5111,UC c=UC,UC cnt=1457 
         text 0x862fffc r=2 a=5111,UC c=UC,UC cnt=1458 
         text 0x862fffc d=1197,247 
        inline 0x862ffc4 d=1197,247 
        br 0x8630040 r=2 a=3914,UC c=UC,UC cnt=1459 
        br 0x8630040 d=0,0 
       inline 0x8631108 d=1197,247 status=17153
       inline 0x8631170 r=2 a=5111,UC c=UC,UC pif=0x8631108 nif=0x86311d8 cnt=1460 
        text 0x863006c r=2 a=5111,UC c=UC,UC cnt=1461 
        text 0x863006c d=0,0 
        inline 0x86300b0 r=2 a=5111,UC c=UC,UC cnt=1462 
         text 0x86300e8 r=2 a=5111,UC c=UC,UC cnt=1463 
         text 0x86300e8 d=1197,247 
        inline 0x86300b0 d=1197,247 
        br 0x863012c r=2 a=3914,UC c=UC,UC cnt=1464 
        br 0x863012c d=0,0 
       inline 0x8631170 d=1197,247 status=17153
       inline 0x86311d8 r=2 a=5111,UC c=UC,UC pif=0x8631170 nif=0x8631240 cnt=1465 
        text 0x8630158 r=2 a=5111,UC c=UC,UC cnt=1466 
        text 0x8630158 d=0,0 
        inline 0x863019c r=2 a=5111,UC c=UC,UC cnt=1467 
         text 0x86301d4 r=2 a=5111,UC c=UC,UC cnt=1468 
         text 0x86301d4 d=1463,247 
        inline 0x863019c d=1463,247 
        br 0x8630218 r=2 a=3648,UC c=UC,UC cnt=1469 
        br 0x8630218 d=0,0 
       inline 0x86311d8 d=1463,247 status=17153
       inline 0x8631240 r=2 a=5111,UC c=UC,UC pif=0x86311d8 nif=0x86312a8 cnt=1470 
        text 0x8630244 r=2 a=5111,UC c=UC,UC cnt=1471 
        text 0x8630244 d=0,0 
        inline 0x8630288 r=2 a=5111,UC c=UC,UC cnt=1472 
         text 0x86302c0 r=2 a=5111,UC c=UC,UC cnt=1473 
         text 0x86302c0 d=532,247 
        inline 0x8630288 d=532,247 
        br 0x8630304 r=2 a=4579,UC c=UC,UC cnt=1474 
        br 0x8630304 d=0,0 
       inline 0x8631240 d=532,247 status=17153
       inline 0x86312a8 r=2 a=5111,UC c=UC,UC pif=0x8631240 nif=0x8631310 cnt=1475 
        text 0x8630330 r=2 a=5111,UC c=UC,UC cnt=1476 
        text 0x8630330 d=0,0 
        inline 0x8630374 r=2 a=5111,UC c=UC,UC cnt=1477 
         text 0x86303ac r=2 a=5111,UC c=UC,UC cnt=1478 
         text 0x86303ac d=532,247 
        inline 0x8630374 d=532,247 
        br 0x86303f0 r=2 a=4579,UC c=UC,UC cnt=1479 
        br 0x86303f0 d=0,0 
       inline 0x86312a8 d=532,247 status=17153
       inline 0x8631310 r=2 a=5111,UC c=UC,UC pif=0x86312a8 cnt=1480 
        text 0x863041c r=2 a=5111,UC c=UC,UC cnt=1481 
        text 0x863041c d=0,0 
       inline 0x8631310 d=0,0 
      block 0x862fc34 d=5111,1976 
      block 0x8630490 r=2 a=5111,UC c=5111,UC cnt=1482 
       text 0x86304e0 r=2 a=5111,UC c=UC,UC cnt=1483 
       text 0x86304e0 d=0,0 
       inline 0x8630524 r=2 a=5111,UC c=UC,UC cnt=1484 
        inline 0x863055c r=2 a=5111,UC c=UC,UC cnt=1485 
         text 0x8630594 r=2 a=5111,UC c=UC,UC cnt=1486 
         text 0x8630594 d=798,247 
        inline 0x863055c d=798,247 
       inline 0x8630524 d=798,247 
      block 0x8630490 d=5111,247 
      block 0x863064c r=2 a=5111,UC c=5111,UC cnt=1487 
       text 0x8630608 r=2 a=5111,UC c=UC,UC cnt=1488 
       text 0x8630608 d=0,0 
       inline 0x863069c r=2 a=5111,UC c=UC,UC nif=0x8631378 cnt=1489 
        inline 0x86306d4 r=2 a=5111,UC c=UC,UC cnt=1490 
         text 0x8630758 r=2 a=5111,UC c=UC,UC cnt=1491 
         text 0x8630758 d=1463,247 
        inline 0x86306d4 d=1463,247 
        br 0x863079c r=2 a=3648,UC c=UC,UC cnt=1492 
        br 0x863079c d=0,0 
       inline 0x863069c d=1463,247 status=17153
       inline 0x8631378 r=2 a=5111,UC c=UC,UC pif=0x863069c nif=0x86313e0 cnt=1493 
        text 0x86307c8 r=2 a=5111,UC c=UC,UC cnt=1494 
        text 0x86307c8 d=0,0 
        inline 0x863080c r=2 a=5111,UC c=UC,UC cnt=1495 
         text 0x8630844 r=2 a=5111,UC c=UC,UC cnt=1496 
         text 0x8630844 d=1197,247 
        inline 0x863080c d=1197,247 
        br 0x8630888 r=2 a=3914,UC c=UC,UC cnt=1497 
        br 0x8630888 d=0,0 
       inline 0x8631378 d=1197,247 status=17153
       inline 0x86313e0 r=2 a=5111,UC c=UC,UC pif=0x8631378 nif=0x8631448 cnt=1498 
        text 0x86308b4 r=2 a=5111,UC c=UC,UC cnt=1499 
        text 0x86308b4 d=0,0 
        inline 0x86308f8 r=2 a=5111,UC c=UC,UC cnt=1500 
         text 0x8630930 r=2 a=5111,UC c=UC,UC cnt=1501 
         text 0x8630930 d=1862,247 
        inline 0x86308f8 d=1862,247 
        br 0x8630974 r=2 a=3249,UC c=UC,UC cnt=1502 
        br 0x8630974 d=0,0 
       inline 0x86313e0 d=1862,247 status=17153
       inline 0x8631448 r=2 a=5111,UC c=UC,UC pif=0x86313e0 nif=0x86314b0 cnt=1503 
        text 0x86309a0 r=2 a=5111,UC c=UC,UC cnt=1504 
        text 0x86309a0 d=0,0 
        inline 0x86309e4 r=2 a=5111,UC c=UC,UC cnt=1505 
         text 0x8630a1c r=2 a=5111,UC c=UC,UC cnt=1506 
         text 0x8630a1c d=532,247 
        inline 0x86309e4 d=532,247 
        br 0x8630a60 r=2 a=4579,UC c=UC,UC cnt=1507 
        br 0x8630a60 d=0,0 
       inline 0x8631448 d=532,247 status=17153
       inline 0x86314b0 r=2 a=5111,UC c=UC,UC pif=0x8631448 cnt=1508 
        text 0x8630a8c r=2 a=5111,UC c=UC,UC cnt=1509 
        text 0x8630a8c d=0,0 
       inline 0x86314b0 d=0,0 
      block 0x863064c d=5111,988 
     block 0x8627fd4 d=5111,6764 
    block 0x8627ba8 d=5111,6764 
   area 0x86279c0 d=5415,7220 
  canvas 0x85b9440 d=5415,7220 me=0 
 scroll 0x85b9720 d=5700,2850 
 scroll 0x85b9720 d=5700,2850 
VP 0x85b9334 d=5700,2850 
VP 0x85b9334 r=2 a=5700,2850 c=5700,2850 cnt=1510 
 scroll 0x85b9720 r=2 a=5700,2850 c=5700,2850 cnt=1511 
 scroll 0x85b9720 r=2 a=5700,2850 c=5700,2850 cnt=1512 
 scroll 0x85b9720 d=5700,2850 
 scroll 0x85b9720 d=5700,2850 
VP 0x85b9334 d=5700,2850 
       frameO 0x85eb3e4 d=5700,2850 
      obj 0x85eb504 d=5700,2850 
      text 0x85eb428 r=0 a=0,UC c=UC,UC cnt=1513 
      text 0x85eb428 d=0,0 
     block 0x85eb2f0 d=3914,2964 
     text 0x85eb46c r=0 a=11476,UC c=UC,UC cnt=1514 
     text 0x85eb46c d=0,0 
    block 0x85eaf98 d=11476,2964 
   area 0x85eadb0 d=11780,3268 
  canvas 0x85284e0 d=11780,6004 me=0 
 scroll 0x8528794 d=11780,6004 
 scroll 0x8528794 d=11780,6004 
VP 0x85283d4 d=11780,6004 
VP 0x85b9334 r=1 a=5700,2850 c=5700,2850 cnt=1515 
 scroll 0x85b9720 r=1 a=5700,2850 c=5700,2850 cnt=1516 
 scroll 0x85b9720 r=1 a=5700,2850 c=5700,2850 cnt=1517 
  canvas 0x85b9440 r=1 a=5415,UC c=5415,2850 cnt=1518 
   area 0x86279c0 r=1 a=5415,UC c=5415,UC cnt=1519 
    block 0x8627ba8 r=1 a=5415,UC c=5111,UC cnt=1520 
    block 0x8627ba8 d=5111,6764 
   area 0x86279c0 d=5415,7220 
  canvas 0x85b9440 d=5415,7220 me=0 
 scroll 0x85b9720 d=5700,2850 
 scroll 0x85b9720 d=5700,2850 
VP 0x85b9334 d=5700,2850  
(Assignee)

Comment 11

17 years ago
Posted file testfile
(Assignee)

Comment 12

17 years ago
(Assignee)

Comment 13

17 years ago
1.) step we really need a reduced testcase
 a reduced testcase has less lines in the reflow, if it is still a problem one
should mark in the reflow rules file only the interesting frames as on.
2.) if the testcase should not have percentages, if possible
3.) if something paints over the border of a table cell and this does not vanish
druing reload there should be something with MaxElementWidth (a size below the
frame cant be reduced)

so here comes the log, 
during the first reflow the MEW should be computed. The computed mew is shown as
me=xxxx.

VP 02750544 r=1 a=9180,4470 c=9180,4470 cnt=851 
 scroll 027508F8 r=1 a=9180,4470 c=9180,4470 cnt=852 
 scroll 027508F8 r=1 a=9180,4470 c=9180,4470 cnt=853 
  canvas 02750650 r=1 a=9180,UC c=9180,4470 cnt=854 
   area 0275462C r=1 a=9180,UC c=9180,UC cnt=855 
    block 02754814 r=1 a=9180,UC c=8940,UC cnt=856 
     text 02754A04 r=0 a=8940,UC c=UC,UC cnt=857 
     text 02754A04 d=0,0 
     tblO 02754C04 r=0 a=8940,UC c=0,0 cnt=858 
      tbl 02754D7C r=0 a=8940,UC c=2910,UC cnt=859 
       rowG 02754F2C r=0 a=UC,UC c=UC,UC cnt=860 
        row 027550DC r=0 a=UC,UC c=UC,UC cnt=861 
         cell 02755298 r=0 a=UC,UC c=UC,UC cnt=862 
          block 0275533C r=0 a=UC,UC c=UC,UC cnt=863 
           text 027554A8 r=0 a=UC,UC c=UC,UC cnt=864 
           text 027554A8 d=0,0 me=0 
           obj 02755770 r=0 a=UC,UC c=UC,UC cnt=865 
            frameO 0275555C r=0 a=UC,UC c=UC,UC cnt=866 
            frameO 0275555C d=4500,2250 
           obj 02755770 d=4500,2250 me=0 
           text 027555A0 r=0 a=UC,UC c=UC,UC cnt=867 
           text 027555A0 d=60,285 me=0 
          block 0275533C d=4500,2250 me=0 

so frameO does not return a MEW ???? but it should.

Comment 14

17 years ago
I think this issue is happened for almost every object. Look at bug 189207 for
same behaviour. 

B.T.W. each version of mozilla, wich I have (started with 1.0.0) produce same
result here.
(Assignee)

Comment 15

17 years ago
http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsObjectFrame.cpp#1346
is evil!

instead of nsHTMLReflowMetrics kidDesiredSize(nsnull); we need
nsHTMLReflowMetrics kidDesiredSize(aMetrics.mComputeMEW);

I need to pull to attach a patch.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Table containing data="foo.html" OBJECTs renders incorrectly. → object frames should ask children for MEW
(Assignee)

Comment 16

17 years ago
Posted patch patchSplinter Review
Ruslan, you can go hunt the dupes with that patch, I need to run the layout
regression tests and will then ask for a review.
(Assignee)

Comment 17

17 years ago
Mike Hoye, this patch will change the redering in the following way, bot table
cells will be large enough to hold the objects with theire default size, there
will be a scrollbar to access the objects content. If you would like to stretch
the object you need to specify the objects width and height. If you have a doubt
look on your testcase in IE where the size defaults to 0, which is also a
correct behaviour (IMHO).
(Assignee)

Comment 18

17 years ago
mine
Assignee: table → bernd_mozilla

Comment 19

17 years ago
Look, seems that bug 185412 fixed by this patch.
Comment on attachment 111719 [details] [diff] [review]
patch

sr=dbaron, but how about propagating the ascent/descent correctly too? :-)
Attachment #111719 - Flags: superreview+
(Assignee)

Comment 21

17 years ago
Posted patch patch with davids comments (obsolete) — Splinter Review
(Assignee)

Updated

17 years ago
Attachment #111935 - Flags: review?(peterl)
(Assignee)

Updated

17 years ago
Attachment #111935 - Attachment is obsolete: true
(Assignee)

Comment 22

17 years ago
(Assignee)

Updated

17 years ago
Attachment #111936 - Flags: review?(peterl)

Comment 23

17 years ago
Comment on attachment 111936 [details] [diff] [review]
patch without cruft

r=peterl
Attachment #111936 - Flags: review?(peterl) → review+
(Assignee)

Comment 24

16 years ago
Comment on attachment 111936 [details] [diff] [review]
patch without cruft

I tested the patch against the layout regression tests and other testcases with
unspecified width objects. I believe the patch has little risk as object frames
do then what they are supposed to do.
Attachment #111936 - Flags: approval1.3?
Comment on attachment 111936 [details] [diff] [review]
patch without cruft

>+  aMetrics.descent = kidDesiredSize.height - kidDesiredSize.ascent;

How about just

aMetrics.descent = kidDesiredSize.descent;

sr=dbaron and a=dbaron for 1.3final.
Attachment #111936 - Flags: superreview+
Attachment #111936 - Flags: approval1.3?
Attachment #111936 - Flags: approval1.3+
(Assignee)

Comment 26

16 years ago
fix checked in
Status: NEW → RESOLVED
Last Resolved: 17 years ago16 years ago
Resolution: --- → FIXED
(Assignee)

Updated

16 years ago
Attachment #111935 - Flags: review?(peterl)
You need to log in before you can comment on or make changes to this bug.