4693 Commits

Author SHA1 Message Date
mats.palmgren%bredband.net
4e84cc815d Fix abs.pos. shrink-to-fit regressions. b=201897 (rubber-stamp) r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@166287 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 00:27:21 +00:00
bsmedberg%covad.net
519b71db1f Centralize layout/ and content/ locale files. See bug 271324.
git-svn-id: svn://10.0.0.236/trunk@166250 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 20:10:51 +00:00
dbaron%dbaron.org
34bfbb3f77 Convert callers of old GetStyleData API that have snuck back in. b=197205 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@166237 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 06:31:02 +00:00
dbaron%dbaron.org
4bbdb86a7a Back out 252703 due to Txul / Ts regression.
git-svn-id: svn://10.0.0.236/trunk@166118 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
4152e1ae96 Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166102 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:39:17 +00:00
bzbarsky%mit.edu
9d9fbba5d2 Fixing build bustage. Bug 263581.
git-svn-id: svn://10.0.0.236/trunk@165909 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 22:29:06 +00:00
bzbarsky%mit.edu
18b7766c94 Final fix for bug 263581 -- pre-dirty wrapped lines with dirty continuations,
if needed, before entering the loop over lines.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@165906 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 22:02:11 +00:00
smontagu%smontagu.org
9edf6384c3 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165899 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 20:28:46 +00:00
ginn.chen%sun.com
5cefdafe85 Bug 256835 [crash]ctrl+left cause crash in bugzilla
[@ nsTextFrame::PeekOffset ] [@ ntdll.dll - nsFrame::GetFrameFromDirection ]
r=aaronleventhal sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165872 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 02:13:17 +00:00
mats.palmgren%bredband.net
7e7b69f2ba Fix margin-right for ::first-letter. b=60289 r=rbs sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165843 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-28 02:17:42 +00:00
mats.palmgren%bredband.net
999f9c93d7 Implement CSS2.1 10.3.7, shrink-to-fit for abs.pos. elements. b=201897 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165820 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 23:28:09 +00:00
ginn.chen%sun.com
520db24a83 Bug 256833 Right arrow skips some text after <HR>
r=aaronleventhal sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165797 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 05:51:36 +00:00
dbaron%dbaron.org
c3a4ca29a1 Comment why resize reflow optimization is broken.
git-svn-id: svn://10.0.0.236/trunk@165796 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 02:31:58 +00:00
roc+%cs.cmu.edu
474bdee350 Bug 270804. Lines that we skipped reflowing during shrink-wrap-width block reflow may need to be reflowed if the shrink-wrap-width changes. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165795 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 02:03:24 +00:00
roc+%cs.cmu.edu
cebdd644df Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@165783 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 16:52:46 +00:00
roc+%cs.cmu.edu
d4a6c32e7b Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165781 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 14:51:00 +00:00
bzbarsky%mit.edu
563abfec2c First cut at not having a O(N^2) algorithm for WrappedLinesAreDirty(). Bug
263581, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165767 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 02:54:58 +00:00
bzbarsky%mit.edu
4c07e20fbe Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165766 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 02:43:28 +00:00
roc+%cs.cmu.edu
cc8218faa2 Bug 264839. Don't let columns try a line-by-line search for the optimal height if we appear to be crawling through a frame that's continuously breakable. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165762 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 00:11:35 +00:00
roc+%cs.cmu.edu
0ce7145190 Bug 269905. Remember emptiness state on line boxes, but be selective about to to minimize the invalidation burden. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165713 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 13:22:10 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
4da6d417c5 Fixing build bustage. I have no idea how gcc 3.2 managed to build this... Bug
269697


git-svn-id: svn://10.0.0.236/trunk@165650 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 18:23:12 +00:00
bzbarsky%mit.edu
91c825c2cc Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@165646 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu
067c70d127 Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@165642 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:26:19 +00:00
tor%cs.brown.edu
d0fcc0b497 Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165632 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 13:51:57 +00:00
bzbarsky%mit.edu
a37e7c24da Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@165565 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 02:59:19 +00:00
jshin%mailaps.org
44363fac1b get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry)
git-svn-id: svn://10.0.0.236/trunk@165496 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:32:28 +00:00
jshin%mailaps.org
e9432dbeae bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc)
git-svn-id: svn://10.0.0.236/trunk@165494 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:21:12 +00:00
rbs%maths.uq.edu.au
64635379a7 Beautify ::first-letter by using MathML's GetBoundingMetrics, b=21616, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165418 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-17 04:12:02 +00:00
rbs%maths.uq.edu.au
f2ee68ca0b Crash due to buffer overrun on malformed URL with soft-hyphen characters, b=267669, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@165411 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 22:43:06 +00:00
timeless%mozdev.org
4ea97b3413 Bug 269922 /Users/timeless/mozilla/layout/html/base/src/nsObjectFrame.cpp:3931: warning: `void ConvertTwipsToPixels(nsPresContext&, nsRect&, nsRect&)' defined but not used
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@165367 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 18:12:35 +00:00
roc+%cs.cmu.edu
05b0dbe26a Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in.
git-svn-id: svn://10.0.0.236/trunk@165364 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
7f490d3aac Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp)
git-svn-id: svn://10.0.0.236/trunk@165349 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-14 20:22:58 +00:00
aaronleventhal%moonset.net
9faffb9ffc Bug 258514. Clicked anchor with location hash set to element id gives first child anchor focus rectangle & selection not always updated correctly. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@165323 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 21:58:12 +00:00
smontagu%smontagu.org
d4954c0fc8 Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165260 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 17:48:09 +00:00
tor%cs.brown.edu
d0993e942b Bug 240408 - allow SVG builds to handle SVG content in <html:embed> natively.
r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@165214 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 19:02:52 +00:00
timeless%mozdev.org
d046585f1b Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan


git-svn-id: svn://10.0.0.236/trunk@165193 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 07:27:11 +00:00
darin%meer.net
3d52b0860b fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
f53f98f7f3 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bmlk%gmx.de
f7f774656e improve MEW computation for scrollframes during incr. reflow bug=234593 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@164606 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:36:58 +00:00
aaronleventhal%moonset.net
928aa93531 Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164599 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 13:40:25 +00:00
bugzilla%arlen.demon.co.uk
fecf3858a6 Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@164598 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 12:28:19 +00:00
aaronleventhal%moonset.net
53a4f4090a Bug 251498. Implement outline-offset. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164430 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 12:57:15 +00:00
dbaron%dbaron.org
86b7be5383 Fix effect of horizontal padding/border on text-decorations on broken inlines. b=258126 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164400 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 23:48:29 +00:00
bzbarsky%mit.edu
c349fca2eb "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@164294 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 18:34:50 +00:00
bzbarsky%mit.edu
0ff1d2bd76 Mask out temporary bits from the frame state to reduce regression test noise.
Bug 265552, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164277 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:23:40 +00:00
dbaron%dbaron.org
26180ba4fd Revert part of the changes from bug 140611. Patch partly from Sander <svl_bmo@juima.org>. b=259683 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@164259 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-23 23:24:20 +00:00
dbaron%dbaron.org
c28c38ca0e Remove from primary frame map at the end of frame destruction, in case it got re-added. b=265404 r=bzbarsky sr=brendan a=asa
git-svn-id: svn://10.0.0.236/trunk@164230 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-23 02:50:26 +00:00