Open
Bug 201080
Opened 23 years ago
Updated 4 years ago
textframe has different width and height on subsequent runs
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
NEW
Future
People
(Reporter: john, Unassigned)
References
()
Details
I have gotten a bounding box false positive show up on the layout regression
tests several times on layout/html/tests/table/bugs/bug29157.html . It's off by
45 pixels sometimes. I'm not sure why this is; it could be the document.write
in there; it's possible but unlikely that it is the table itself that is causing
the problem.
frame bbox mismatch: 0,1237,4035,285 vs. 0,1237,3915,285
Node 1:
Text(4) 0x70000024 0,1237,4035,285, |null attr|-16777216|left: Null top: Null
right: Null bottom: Null left: Null top: Null right: Null bottom: Null left:
1[0x1]enum top: 1[0x1]enum right: 1[0x1]enum bottom: 1[0x1]enum left: Null top:
Null right: Null bottom: Null left: Null top: Null right: Null bottom: Null
1[0x1]enum 0|100 100 |left: Auto top: Auto right: Auto bottom: Auto Auto
0[0x0]tw Null Auto 0[0x0]tw Null 0 Auto |0 0 0 Normal Normal 0[0x0]tw
Normal |0 2 0 0 0 0 0 0 0 0 0 0 |0 0 0 -1 1 |0 0 0 Null
Node 2:
Text(4) 0x70000024 0,1237,3915,285, |null attr|-16777216|left: Null top: Null
right: Null bottom: Null left: Null top: Null right: Null bottom: Null left:
1[0x1]enum top: 1[0x1]enum right: 1[0x1]enum bottom: 1[0x1]enum left: Null top:
Null right: Null bottom: Null left: Null top: Null right: Null bottom: Null
1[0x1]enum 0|100 100 |left: Auto top: Auto right: Auto bottom: Auto Auto
0[0x0]tw Null Auto 0[0x0]tw Null 0 Auto |0 0 0 Normal Normal 0[0x0]tw
Normal |0 2 0 0 0 0 0 0 0 0 0 0 |0 0 0 -1 1 |0 0 0 Null
Fixing this (either in the test or the text node) will get us one step closer to
useful automated regression tests.
ahhhh we shouldnt fix 29157 ;-), thats the only proof that our testharness works
at all. Its very easy the doc.write return in debug builds also the address of
the object. As this text is in default font, times in my case, the text width
depends on the address and this changes on every run.
Updated•23 years ago
|
Priority: -- → P2
Target Milestone: --- → Future
Updated•17 years ago
|
Assignee: layout.fonts-and-text → nobody
QA Contact: ian → layout.fonts-and-text
Comment 2•8 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•