Commit Graph

2177 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
cc4171d53e Backing out bug 375304 to fix reftest failures. 2007-12-01 03:49:13 -08:00
roc+@cs.cmu.edu
54e87ad4ef Bug 400244. Remove UndoSplitPlaceholders which is not only unnecessary but actually harmful/crashy. r=fantasai,sr=dbaron 2007-12-01 02:51:56 -08:00
mats.palmgren@bredband.net
f1fcdfee8f Propagate |aRemoveOnlyFluidContinuations| when removing continuations in other blocks. b=405178 r+sr=roc a=mtschrep 2007-12-01 02:47:58 -08:00
roc+@cs.cmu.edu
ff06dbce58 Bug 375304. Fix absolute positioning where the abs-pos container is scrollable and has a height constrained by min-height etc. Patch by Eli Friedman, r+sr=roc 2007-12-01 02:38:09 -08:00
roc+@cs.cmu.edu
1a6bd11ee8 Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron 2007-12-01 01:24:24 -08:00
roc+@cs.cmu.edu
fa3ff59fd9 Bug 406137. Fix crashes on redhat.com etc by avoiding RecoverFloats traversing stale float caches. r+sr=dbaron 2007-12-01 00:29:02 -08:00
reed@reedloden.com
98141f6d9e Bug 395628 - ""ASSERTION: post-reflow queues not empty" with feed in <frame>" [p=mats.palmgren@bredband.net (Mats Palmgren) r=smaug r+sr=dbaron a=blocking1.9+] 2007-11-30 23:22:44 -08:00
roc+@cs.cmu.edu
41d0d00457 Backing out bug 403426 2007-11-30 12:52:24 -08:00
roc+@cs.cmu.edu
a2464227d0 Bug 403426. Clear break-after-whitespace flags when we reset the linebreaker. Also rescue a trailing break opportunity when we reset the line breaker and notify the line layout that the opportunity exists. r=smontagu 2007-11-30 12:03:33 -08:00
roc+@cs.cmu.edu
6d826063d8 Bug 404624. Silence assertion failures by allowing PropertyProvider's content length to be PR_INT32_MAX. r=smontagu 2007-11-30 11:59:03 -08:00
roc+@cs.cmu.edu
1b7dd2d6f3 Bug 320378. Skip reflowing lines in ReflowDirtyLines if we know that we're going to come back here because clearance was detected. r+sr=dbaron 2007-11-29 17:49:01 -08:00
uriber@gmail.com
f2309956d8 test for bug 288789. r=smontagu 2007-11-26 12:05:25 -08:00
smontagu@smontagu.org
5e7ee1a7dc Prevent duplicate entries in the line-break array. Bug 404204, b+r+sr=roc 2007-11-26 00:27:06 -08:00
bzbarsky@mit.edu
886b623f02 Fix bug 403134. r+sr=roc 2007-11-25 16:15:20 -08:00
bzbarsky@mit.edu
1cec19400e Backing out bug 392040 to fix bug 404872. a="it's a blocker regression, and it's keeping me and Gavin from using Bugzilla" 2007-11-25 15:17:23 -08:00
bzbarsky@mit.edu
4a5824179b Don't resize widgets to negative sizes. Bug 397871, r+sr=roc, a=beltzner. 2007-11-23 15:18:08 -08:00
Olli.Pettay@helsinki.fi
2976ce8f18 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
bzbarsky@mit.edu
d973cf8f82 Make to reinitialize windowless plug-ins correctly when restoring from bfcache. Bug 385649, r+sr=roc. Many thanks to Matthew Gregan for spotting the problem! 2007-11-21 20:58:33 -08:00
reed@reedloden.com
9f430aad1b Bug 404636 - "Building without SVG fails" [p=romaxa@gmail.com (romaxa) r+sr=roc a1.9=schrep] 2007-11-21 13:09:12 -08:00
smontagu@smontagu.org
6c1f138d0d Use Unicode escapes instead of octal escapes to print non-ASCII text in frame tree dumps. Bug 403871, r+sr=roc, a=dsicore 2007-11-21 03:00:16 -08:00
smontagu@smontagu.org
eb7e623bfe Use Unicode escapes instead of octal escapes to print non-ASCII text in frame tree dumps. Bug 403871, r+sr=roc, a=dsicore 2007-11-21 02:37:40 -08:00
smontagu@smontagu.org
5b828a286e Testcase for bug 402380 2007-11-21 02:21:00 -08:00
reed@reedloden.com
56411c05f1 Bug 404519 - "some margin and edges twips/app units confusion" [p=reg@freebsd.org (Jeremy Lea) / chpe@gnome.org (Christian Persch) r+sr=roc a1.9=schrep] 2007-11-20 21:09:58 -08:00
jwatt@jwatt.org
b9c98ad20d Fixing build bustage for those building without SVG turned on 2007-11-20 05:28:56 -08:00
hwaara@gmail.com
9eae694ac6 bug 392040, SELECT menu requires multiple clicks to show up on some pages. This also happened when using full page zoom. r+sr=roc, a=blocking1.9+ 2007-11-19 11:20:35 -08:00
roc+@cs.cmu.edu
548f806233 Bug 364801. nsHTMLScrollFrame::RemoveFrame needs to destroy the frame it removes. r+sr=mats 2007-11-18 14:24:21 -08:00
roc+@cs.cmu.edu
cfd185cf42 Bug 331809. Make nsSubdocumentFrame explicitly clip its contents; content can bleed out otherwise, for example if there is no scrollframe associated with the subdocument's viewport. r+sr=mats 2007-11-18 14:20:16 -08:00
roc+@cs.cmu.edu
6a0c55fe89 Bug 402950. Allow spans to always be placed on a line, because part of the span may fit even if the whole span doesn't. Also request backup earlier so we always backup if we decline to place a frame. r+sr=dbaron 2007-11-18 13:36:18 -08:00
bzbarsky@mit.edu
71abc8fcc3 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
jwatt@jwatt.org
f13939fbdc Back out failed attempt to fix build bustage 2007-11-18 05:43:06 -08:00
jwatt@jwatt.org
0d1df11022 Fix build bustage due to checkin for bug 294086. I'll get this reviewed post checkin. 2007-11-18 04:46:50 -08:00
jwatt@jwatt.org
4d976af81a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org 2007-11-18 04:09:03 -08:00
enndeakin@sympatico.ca
f3dee7a7ae Bug 394600, address bz's additional popup reworking comments, add tests for removing popups, r+sr=bz,a=beltzner 2007-11-17 07:47:38 -08:00
roc+@cs.cmu.edu
5a449a18d5 Bug 394752. Skip over preformatted newlines when moving caret; the caret will appear at the end of a line when it is positioned at the start of the next line with a HINTLEFT. r=smontagu 2007-11-15 18:25:59 -08:00
roc+@cs.cmu.edu
4dcead5d4b Bug 403455. Allow prewrap text to record 'last break opportunity'. r=smontagu 2007-11-15 17:48:26 -08:00
roc+@cs.cmu.edu
2675d646bc Bug 403589. Fuse memory allocations in gfxTextRun. r=pavlov 2007-11-15 17:43:47 -08:00
dholbert@cs.stanford.edu
83e03526b3 Bug 403129: Count zero-width clip rectangles at edge of a BandRect as overlapping it. r+sr=roc, a=blocking1.9 2007-11-15 15:56:23 -08:00
fantasai.cvs@inkedblade.net
fb7fdc7e86 nsOverflowContinuationTracker::Insert wasn't expecting to pull from overflowContainers list into same parent's excessOverflowContainers list, b=399843 r+sr=roc 2007-11-15 11:23:07 -08:00
dholbert@cs.stanford.edu
e042a678b0 Bug 393655: Fix undetected cases of lines going empty --> nonempty, due to margins. r+sr=roc, a=blocking1.9+ 2007-11-15 11:07:04 -08:00
dbaron@dbaron.org
579235bed6 Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+ 2007-11-15 10:10:31 -08:00
bzbarsky@mit.edu
ac8234d604 Don't compare lines from different blockframes' lists to each other. Also fix handling of text-decorations in in-flows of blocks with text-indent. Bug 393330, r+sr=roc, a=schrep 2007-11-14 22:12:17 -08:00
reed@reedloden.com
3f2752be52 Bug 396278 - "should take edge values from print settings instead of prefs" [p=chpe r+sr=roc r=gavin a1.9=schrep] 2007-11-13 11:14:07 -08:00
rflint@ryanflint.com
7872a37fed Backout bug 396278 due to failing reftests 2007-11-13 06:18:36 -08:00
reed@reedloden.com
3d0523f876 Bug 396278 - "should take edge values from print settings instead of prefs" [p=chpe r+sr=roc r=gavin a1.9=schrep] 2007-11-13 02:30:39 -08:00
dbaron@dbaron.org
9ce1bd86be Make inline-block and table-caption elements not ignore text-decoration. b=371249 r+sr=roc a=dsicore 2007-11-12 11:12:24 -08:00
fantasai.cvs@inkedblade.net
d2127d252d ignore overflow containers when balancing, b=399407, r+sr=roc a=beltzner 2007-11-12 11:00:59 -08:00
roc+@cs.cmu.edu
e0ac0a1bc3 Backing out bug 375304 because of reftest failure 2007-11-11 19:40:27 -08:00
roc+@cs.cmu.edu
4da3232491 Bug 375304. Fix absolute positioning for scrolled abs-pos containers with weird height constraints. patch by Eli Friedman, r+sr=roc 2007-11-11 18:19:35 -08:00
roc+@cs.cmu.edu
27f5bebbe9 Bug 389707. Rework text-transform:capitalize by putting logic to decide what to capitalize into nsLineBreaker. r=smontagu 2007-11-11 17:51:31 -08:00
smontagu@smontagu.org
236b92ed37 Clear first-letter state when leaving the first-letter frame inserted by the frame constructor. Bug 402380, r+sr+blocking1.9=roc 2007-11-11 11:44:33 -08:00
mats.palmgren@bredband.net
6ff9f4a686 Use async version of Invalidate() to avoid flushing pending notifications. Also, document this aspect of the Invalidate() API. b=402198 r+sr=roc a=mtschrep 2007-11-09 16:51:02 -08:00
jruderman@hmc.edu
8cc395f83d Fix bug 401393, leak and assertion with Flash if Greasemonkey is installed. r=sicking, sr=jst, a=blocking1.9. 2007-11-09 14:26:04 -08:00
dholbert@cs.stanford.edu
3c53007c53 Bug 398181: Use NSCoordSaturatingAdd/Subtract in 3 places where we might have unconstrained heights. r+sr+a=roc 2007-11-09 09:16:36 -08:00
roc+@cs.cmu.edu
82e4c439f9 Tests for bug 391584 and other general tests for word movement with layout.word_select.eat_space_to_next_word set to true 2007-11-09 00:54:47 -08:00
reed@reedloden.com
948ef26c2b Bug 400081 - "Leak gfxFont and gfxTextRun with font-size: 0" [p=cpearce r+sr=roc a1.9=stuart] 2007-11-09 00:04:19 -08:00
reed@reedloden.com
d0eb65c981 Bug 400369 - "List markers (bullets) positioned incorrectly for left- and center-aligned list items in RTL lists" [p=uriber@gmail.com (Uri Bernstein) r=smontagu sr+a1.9=roc] 2007-11-08 23:49:56 -08:00
reed@reedloden.com
f968a1c4dc Fixing bustage from landing of bug 397510. 2007-11-08 23:37:31 -08:00
reed@reedloden.com
27a0532bd8 Bug 397510 - Limit the number of lines we build textruns in BuildTextRuns (speeds up painting of huge pages) [p=roc r=smontagu a=blocking1.9+] 2007-11-08 23:27:18 -08:00
reed@reedloden.com
1d2c085173 Bug 398101 - Be more diligent about invalidating textruns for lines [p=roc r+sr=dbaron a=blocking1.9+] 2007-11-08 22:55:32 -08:00
reed@reedloden.com
496329b8c8 Bug 402338 - "outline property on inline-block painted too far outside" [p=roc r+sr=dbaron a=blocking1.9+] 2007-11-08 22:49:38 -08:00
reed@reedloden.com
ec9b5160d0 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-08 22:27:23 -08:00
bzbarsky@mit.edu
f531bf7329 Fixing build bustage. 2007-11-08 22:08:16 -08:00
bzbarsky@mit.edu
4c46c12f56 Handle GetPositionAndSize flushing reflow. Bug 399410, r+sr=roc, a=beltzner 2007-11-08 21:58:47 -08:00
roc+@cs.cmu.edu
a1e0ed3605 Bug 403004. Let the text-transform style setting loop cross non-fluid continuation boundaries. r+sr=bz 2007-11-08 15:37:34 -08:00
reed@reedloden.com
50d128a352 Backout roc's patch for bug 385417, as it most likely caused bug 402990 and the numerous test failures. 2007-11-07 23:41:06 -08:00
reed@reedloden.com
c138e9a426 Bug 307242 - Use ClearFloats instead of inspecting the space manager to determine the final height of a block formatting context [p=roc r=elif sr=roc a=blocking1.9+] 2007-11-07 20:42:26 -08:00
reed@reedloden.com
00ceaa5363 Bug 391584 - Pass around a context string so we can detect word breaks at the beginning or end of frames [p=roc r=smontagu a=blocking1.9+] 2007-11-07 20:33:28 -08:00
reed@reedloden.com
2fc6943fb7 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-07 20:31:33 -08:00
reed@reedloden.com
5dbce5ddb5 Bug 336408 - Allow the caret to be positioned at the end of trimmed whitespace, as if the whitespace wasn't trimmed [p=roc r=smontagu sr=mrbkap a=blocking1.9+] 2007-11-07 20:07:00 -08:00
reed@reedloden.com
bb564a7d0b Bug 398144 - Make blocks that are margin-roots never consider themselves empty. [p=roc r+sr=dbaron a=blocking1.9+] 2007-11-07 19:55:12 -08:00
reed@reedloden.com
c6d0b4440c Bug 400826 - We shouldn't build the styles array for transformed textruns assuming every frame in a flow has the same style; instead we should build it frame by frame. [p=roc r=smontagu a=blocking1.9+] 2007-11-07 19:52:33 -08:00
dholbert@cs.stanford.edu
320468981b Bug 400171: check line mCombinedArea (along with mBounds) to find float damage. r+sr=roc, a=blocking1.9+ 2007-11-07 12:07:54 -08:00
dholbert@cs.stanford.edu
b5a99492d9 Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+ 2007-11-07 12:00:51 -08:00
dholbert@cs.stanford.edu
1dd69820d0 Bug 398453 - Add unconstrained size check for pagebreakframe reflow. r+sr=roc, a=blocking1.9+ 2007-11-07 11:49:44 -08:00
dholbert@cs.stanford.edu
c357c9fcad Bug 398215 - Add RTL case for handling overflow width in BoxReflow. r+sr=roc, a=blocking1.9+ 2007-11-07 03:18:30 -08:00
dholbert@cs.stanford.edu
feef919693 Bug 381152 - prevent bandRects from having height > nscoord_MAX. r+sr=roc, a=blocking1.9 2007-11-07 03:03:10 -08:00
dholbert@cs.stanford.edu
bfeb48e02e Bug 385823 - Let us call NotifyPercentHeight even when computed height is already set, because it'll be set on imageFrames. r+sr=dbaron, a=beltzner 2007-11-06 14:47:29 -08:00
jst@mozilla.org
8ed8c5149f Fixing bug 401053. Make sure to initialize LiveConnect any time a Java applet is loaded, no matter what markup was used to load the applet. r+sr=dveditz@cruzio.com, a=dsicore@mozilla.com 2007-10-31 15:52:11 -07:00
roc+@cs.cmu.edu
23a4a840a3 Bug 389666. The mTransformedTextOffset field of MappedFlow wasn't always being set up correctly, so let's just stop using it altogether. r=smontagu,a=vlad 2007-10-23 17:07:26 -07:00
masayuki@d-toybox.com
aad8b02ec5 Bug 399159 left edge is not aligned when text-align: justify; in Japanese paragraph (relanding) r+sr+a=roc 2007-10-21 01:10:34 -07:00
roc+@cs.cmu.edu
7a31877544 Bug 393096. Allow an element containing breakable whitespace to introduce a break opportunity no matter what the context. Also cleans up some trimming stuff and adds comprehensive whitespace breaking and trimming reftests. r+sr=dbaron 2007-10-20 00:30:26 -07:00
dholbert@cs.stanford.edu
dd259dd796 Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's. r=bzbarsky, r+a=roc 2007-10-19 10:41:29 -07:00
fantasai.cvs@inkedblade.net
344d6b32b9 Fix StealFrame failure + crash, b=400223 r+sr=roc a=roc 2007-10-19 07:54:07 -07:00
roc+@cs.cmu.edu
7210b8c4a3 Backing out bug 397510 again because again it looks like it might have caused a regression, and we don't need it for M9 2007-10-18 21:56:05 -07:00
bzbarsky@mit.edu
02105448ce Make vertical resizing of framesets work in standards mode. Bug 376981, r+sr=dbaron 2007-10-18 20:45:30 -07:00
bzbarsky@mit.edu
f4a14b2ffc Don't show the plug-in view when it should actually be hidden. Bug 398213, r+sr=roc 2007-10-18 20:41:07 -07:00
dietrich@mozilla.com
ba0e963628 re-landing Bug 393758 2007-10-18 19:01:05 -07:00
reed@reedloden.com
e6ba209193 Fixing bustage from landing of bug 397510. 2007-10-18 18:33:52 -07:00
dietrich@mozilla.com
cd47b16d5a Bug 397510 Scrolling in large file is very slow due to textrun reconstruction (re-landing for roc) 2007-10-18 18:19:11 -07:00
roc+@cs.cmu.edu
523af98b9b Backing out bustage fix 2007-10-17 23:48:44 -07:00
gavin@gavinsharp.com
3d5815da5b Back out the patch for bug 399159 because it's suspected of having caused the Tp regression 2007-10-17 10:03:09 -07:00
roc+@cs.cmu.edu
3d8ce0f47f Backing out 393758 just in case it caused perf regression 2007-10-16 16:56:27 -07:00
roc+@cs.cmu.edu
62761abd1f Backing out fix for bug 397510 to see if it fixes the Tp regression 2007-10-16 01:20:22 -07:00
roc+@cs.cmu.edu
c9fff8055b Fixing bustage 2007-10-15 14:20:36 -07:00
roc+@cs.cmu.edu
85116646be Bug 393758. Detect when we're about to create two flows with the same element in the same textrun (which violates our invariants), and prevent it by starting a new textrun for the second flow. r=smontagu 2007-10-15 14:15:35 -07:00
roc+@cs.cmu.edu
4ad51c6b43 Bug 397510. Limit the number of lines below the initial line for which we reconstruct textruns. Speeds up line painting near the top of huge documents. r=smontagu 2007-10-15 14:11:37 -07:00
masayuki@d-toybox.com
96a98b686f Bug 399159 left edge is not aligned when text-align: justify; in Japanese paragraph r+sr+a=roc 2007-10-15 05:37:15 -07:00
jst@mozilla.org
348b4bf532 Fixing build bustage. 2007-10-13 10:10:30 -07:00
jst@mozilla.org
73d06385cd Fixing bug 399406. Make sure to initialize LiveConnect (if needed) when loading applets. r+sr+a=jonas@sicking.cc 2007-10-13 09:42:44 -07:00
roc+@cs.cmu.edu
32b36ae07b Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
smontagu@smontagu.org
d5126a3713 Change the usage of NEEDS_BIDI_RESOLUTION so that it is either set on every block in a continuation chain or none of them. Bug 394805, r+sr+b=roc 2007-10-11 04:41:04 -07:00
bzbarsky@mit.edu
8c78ae026d Don't allow first-letter on the block inside a mathml table cell. Bug 398510, r+sr+a=roc 2007-10-10 21:36:48 -07:00
roc+@cs.cmu.edu
88b7d0011d Fixing test bustage... Disable tests on Linux and Windows until I figure out how to get them to do word movement via synthesized events. 2007-10-10 16:19:11 -07:00
roc+@cs.cmu.edu
cc8a388fa5 Bug 391584. Don't miss word-break opportunities at points where whitespace has collapsed away. Also, note that a word-break opportunity exists at the start of a frame when it starts with a space. 2007-10-10 15:32:51 -07:00
fantasai.cvs@inkedblade.net
669ff25ede crash due to improper overflow container frame deletion, b=393956, r+sr=roc 2007-10-10 15:09:53 -07:00
roc+@cs.cmu.edu
416b58ab83 Backing out bug 391584 because of test failures on non-Mac 2007-10-09 21:25:42 -07:00
roc+@cs.cmu.edu
f21c86924d Fixing bustage 2007-10-09 19:30:48 -07:00
roc+@cs.cmu.edu
fca6dd9463 Bug 387414. Detect situations where the textrun doesn't map enough text to fully reflow the frame (which can happen during style changes to preformatted whitespace, for example) and rebuild textruns in that case. r=smontagu 2007-10-09 19:25:57 -07:00
roc+@cs.cmu.edu
0ced6f7aa5 Bug 391584. Don't miss word-break opportunities at points where whitespace has collapsed away. Also, note that a word-break opportunity exists at the start of a frame when it starts with a space. 2007-10-09 19:21:33 -07:00
roc+@cs.cmu.edu
9cbcfce8a9 Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron 2007-10-09 19:18:40 -07:00
tglek@mozilla.com
fdf793303e Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
fantasai.cvs@inkedblade.net
d217f92687 nsOverflowContinuationTracker shouldn't assume frame won't get reflowed again before its continuation gets reflowed, b=398322, b=393956, r=dholbert sr=roc 2007-10-09 12:46:21 -07:00
reed@reedloden.com
c5d291f708 Bug 273459 - "most gopher-*.gif images are unused" [p=dao r+sr+a1.9=dbaron] 2007-10-08 14:27:30 -07:00
Olli.Pettay@helsinki.fi
0ca7e4f915 Bug 397641, AsyncScrollPortEvent posted even if overflow/underflow event won't be dispatched r=mats+roc, sr=mats, a=roc 2007-10-08 01:42:43 -07:00
mats.palmgren@bredband.net
b26b967070 Take into account that |line| can be an overflow line when accessing the previous line. Patch by roc and me. b=397007 r+sr=me/roc blocking1.9=roc 2007-10-07 10:32:07 -07:00
bzbarsky@mit.edu
e17b12fc0d Remove trunk instances of MOZILLA_1_8_BRANCH interfaces. Bug 347910, r+sr+a=jst 2007-10-05 16:37:25 -07:00
reed@reedloden.com
15b334ce41 Backed out elif's patch from bug 307242 due to it causing a reftest failure for the test for bug 218473. 2007-10-03 21:33:43 -07:00
reed@reedloden.com
9d691995f3 Bug 307242 - "ASSERTION: bad argument: '(aRight > mLeft) && (aRight < mRight)', @ nsSpaceManager::BandRect::SplitHorizontally" [p=elif (sharparrow1) r+sr+a1.9=roc] 2007-10-03 20:18:31 -07:00
dholbert@cs.stanford.edu
603542e4aa Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc 2007-10-02 20:44:18 -07:00
roc+@cs.cmu.edu
f8fe365101 Bug 385635. Make text min-width calculation clear out old value of trimmable whitespace when the text contains non-collapsible whitespace. Also, set skipWhitespace to skip subsequent whitespace only if the trailing whitespace in the text is not preformatted. r=smontagu 2007-10-02 01:52:09 -07:00
fantasai.cvs@inkedblade.net
678b52fb1e fix use of DEBUG-only data member, bug=154892 r+sr+a=roc 2007-10-02 01:29:23 -07:00
reed@reedloden.com
e6e7010ba6 Fixing bustage from fantasai's patch. [p=bz] 2007-10-01 23:24:26 -07:00
fantasai.cvs@inkedblade.net
2456fd7a33 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
roc+@cs.cmu.edu
ccb6bf3bdb Bug 392829. Clean up nsLineLayout code that's not used (or at least used differently). r+sr+a=dbaron 2007-10-01 19:36:26 -07:00
roc+@cs.cmu.edu
1fb7f38610 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 18:47:40 -07:00
joshmoz@gmail.com
7c16a06018 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc 2007-10-01 16:20:37 -07:00
roc+@cs.cmu.edu
aa2f1bb4bf Backing out 2007-10-01 15:11:23 -07:00
roc+@cs.cmu.edu
07952e214b Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 14:29:19 -07:00
dholbert@cs.stanford.edu
5d63a7fdb3 Bug 397852: ASSERTION: Doing nscoord addition with values > nscoord_MAX r=roc sr=roc a=roc 2007-10-01 09:43:02 -07:00
roc+@cs.cmu.edu
7e025b85ef Bug 393906. Make AdjustOffsetsForBidi maintain textframe invariants across the entire continuation chain, not just the fluid chain. r=smontagu 2007-09-27 16:37:46 -07:00
reed@reedloden.com
2a9199a713 Bug 393979 - "Remove orphaned comment in nsFrame::BoxReflow" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr+a1.9=roc] 2007-09-27 09:44:24 -07:00
vladimir@pobox.com
4dd2e87496 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -07:00
gavin@gavinsharp.com
673e7ccc5d Back out the patch for bug 393845 because it appears the regressions it caused are worse than the bug it fixed (a=biesi) 2007-09-25 13:41:07 -07:00
roc+@cs.cmu.edu
f66451340e Bug 368445. Make ApplyOverflowClipping compute the right padding-rect when native themes override the border. r+sr+a=dbaron 2007-09-24 17:47:05 -07:00
dholbert@cs.stanford.edu
3dc3e796ba Bug 391894, comment amendment for just-checked-in patch. (s/normal-child/regular-children/) 2007-09-24 13:25:38 -07:00
dholbert@cs.stanford.edu
8550b70aae Bug 391894: Make recursive call to CollectFloats on children in overflowList. r=roc sr=roc approval1.9=roc 2007-09-24 13:21:41 -07:00
dholbert@cs.stanford.edu
cacdf4f467 Bug 387876 - Columns in absolutely positioned div break when changed, r=roc sr=roc blocking1.9=dbaron 2007-09-24 12:52:09 -07:00
dholbert@cs.stanford.edu
ecb8184e90 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
roc+@cs.cmu.edu
bfd939088e Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
bzbarsky@mit.edu
8da8c9ce92 Fix content leak due to double-init of oveflow placeholders. Bug 397011, r+sr+a=roc 2007-09-21 18:24:40 -07:00
bzbarsky@mit.edu
d042521385 Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc 2007-09-20 16:28:26 -07:00
bzbarsky@mit.edu
47f2b7dfa5 Backing out bug 396587 to hopefully fix orange. 2007-09-19 20:41:29 -07:00
bzbarsky@mit.edu
b2fb733cfc Resize the subdocument off a post-reflow callback so that we don't run script during reflow, and a few related checks to make sure we can deal with script in reflow callbacks better. Bug 396587, r+sr+a=roc. 2007-09-19 19:46:28 -07:00
mozilla@weilbacher.org
6fb8876814 [OS/2] Bug 396661: fix OS/2 build break in nsTextFrameThebes by removing the unnecessary cast, r/sr/a=roc 2007-09-19 16:01:44 -07:00
roc+@cs.cmu.edu
03a7855701 Bug 393796. Be more careful about verifying that an existing textrun is okay to be reused again after a change to the frame tree. r=smontagu 2007-09-17 21:23:14 -07:00
roc+@cs.cmu.edu
5d758d9550 Bug 385607. Ensure that whitespace is collapsed across text-run boundaries across incremental updates like adding/removing frames in the middle of the textrun. r+sr+a=dbaron 2007-09-17 20:00:16 -07:00
roc+@cs.cmu.edu
f0ac729ebf Bug 139843. Back out width adjustment patch that breaks other things and may no longer be needed. r+sr+a=dbaron 2007-09-17 19:54:48 -07:00
roc+@cs.cmu.edu
6dca4e8957 Bug 394832. Remove overeager rounding that causes underlines to appear too close to the text. r=smontagu,a=dbaron 2007-09-17 19:48:19 -07:00
Olli.Pettay@helsinki.fi
d3285a6bc7 Bug 395725, Crash [@ nsIFrame::GetFrameSelection], r+sr+a=roc 2007-09-15 12:48:20 -07:00
enndeakin@sympatico.ca
f892a8567d Bug 387486, editor in grid overflows, r+sr+a=roc 2007-09-15 08:14:27 -07:00
sayrer@gmail.com
3c534c5634 Bug 394542. we leak the blink timer and its timer in a cycle. Patch by David Baron. r/sr=roc, a=dsicore/mconnor 2007-09-11 13:06:44 -07:00
smontagu@smontagu.org
bd45aba7f9 Unit tests for bug 394239 (based on Martijn Wargers' testcase) and bug 392923 2007-09-07 00:17:23 -07:00
roc+@cs.cmu.edu
4f3ef06d64 Bug 386807. Remove duplicate elements from the linebreak array textrun construction parameter. r=smontagu,a-M8=damon 2007-09-06 14:54:33 -07:00
roc+@cs.cmu.edu
17a86da0cd Bug 392435. Make ClearTextRun work no matter which frame of a continuation chain we call it on. r=smontagu,a=dbaron 2007-09-05 16:06:05 -07:00
roc+@cs.cmu.edu
fa88299620 Bug 393923. Fix text-offset calculation for first-letter. r=smontagu,a=dbaron 2007-09-05 16:03:31 -07:00
roc+@cs.cmu.edu
d832331217 Bug 394510. Don't leak the hyphen textrun when we display a soft hyphen. r=smontagu 2007-09-05 15:59:44 -07:00
cbiesinger@gmx.at
3f5cf3a38d 393845 Stop plugins from content instead of from layout. Also, reget the frame after stopping the plugin, as that may process events. Finally, make the object frame not touch member variables after stopping the plugin. r+sr=bz a=jst 2007-09-05 13:33:18 -07:00
jwalden@mit.edu
f57320c98b Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
smontagu@smontagu.org
fe84c9f060 Unit test for bug 394173 based on Martijn Wargers' testcase 2007-09-04 12:48:24 -07:00
martijn.martijn@gmail.com
242c20f5b9 Bug 257938 - Should css scrollable areas without scrollbars be tabbable?, patch by Aaron Leventhal, r+sr+a=roc 2007-09-04 05:14:52 -07:00
roc+@cs.cmu.edu
d00b4dc27a Bug 389583. Floats fit if their bottom edge is equal to the available space bottom edge. r=eli,sr=mats,a=dbaron 2007-09-03 21:04:12 -07:00
roc+@cs.cmu.edu
5901370c90 Bug 391621. Remove unnecessary trimmed-space counting. r=smontagu,a=dbaron 2007-09-03 21:02:22 -07:00
smontagu@smontagu.org
01e0fcea12 Unit test for bug 389630 based on Jesse Ruderman's testcase 2007-09-03 09:59:44 -07:00
smontagu@smontagu.org
4399fb4211 Unit test for bug 385751 based on Martijn Wargers' testcase 2007-09-03 09:12:27 -07:00
masayuki@d-toybox.com
5a84442569 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
smontagu@smontagu.org
dc00d4bbac Unit test for bug 384527 based on Martijn Wargers' testcase 2007-09-03 08:22:42 -07:00
masayuki@d-toybox.com
bfe2436be6 Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
masayuki@d-toybox.com
8541f8f7f0 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
jruderman@hmc.edu
b57bde0ea9 Add period at end of sentence. Comment-only change. 2007-09-03 02:51:52 -07:00
smontagu@smontagu.org
fbd7d46cd2 Previous checkin was for bug 382422 2007-09-03 00:00:10 -07:00
smontagu@smontagu.org
6650b96bdc Bug 394222: Optimize calls to Bidi resolution. r=dbaron, sr+a=roc 2007-09-02 23:51:11 -07:00
martijn.martijn@gmail.com
dd8687a04c Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray, patch by Alfred Kayser, r+sr=roc, a=dbaron 2007-08-30 08:29:06 -07:00
roc+@cs.cmu.edu
f467e1f991 Bug 389421. Rework word selection, in particular so that layout.word_select.stop_at_punctuation is applied to boundaries between punctuation and non-punctuation, and all Unicode punctuation is treated as punctuation. 2007-08-29 20:10:19 -07:00
smontagu@smontagu.org
65cff8b443 Remove cruft from nsBidiPresUtils. Bug 393962, r+sr+a=roc 2007-08-29 02:19:16 -07:00
roc+@cs.cmu.edu
03e055e67f Bug 385426. Be careful about looking for a previous soft-hyphen when checking for hyphen breaks. r=smontagu 2007-08-29 02:11:39 -07:00
smontagu@smontagu.org
567078a36a Null check after CheckLineOrder. Bug 388175, patch by Uri Bernstein <uriber@gmail.com>, r=me, sr+a=roc 2007-08-29 00:22:42 -07:00
gijskruitbosch@gmail.com
b0138c1358 Backing out fix for bug 92543 due to build bustage 2007-08-28 02:10:22 -07:00
gijskruitbosch@gmail.com
b095022a82 Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr=roc@ocallahan.org (Robert O'Callahan) a=dbaron@mozilla.com (David Baron) 2007-08-28 01:53:33 -07:00
sharparrow1@yahoo.com
2c1936f084 Bug 389224: Clipped objects are sometimes not fully redrawn after clipping. r+sr=roc, a=dbaron 2007-08-27 18:35:59 -07:00
smontagu@smontagu.org
e1a3ea87ca Blow away text runs after Bidi resolution. Bug 382429, r+sr+a=roc 2007-08-26 10:20:28 -07:00
bzbarsky@mit.edu
82d377683c Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron 2007-08-24 15:20:24 -07:00
surkov.alexander@gmail.com
478d0ec01a Bug 371680 - expose nsIAccessibleText::scrollSubstringTo, r=aaronlev, roc, sr=roc, a=roc 2007-08-23 21:54:45 -07:00
mozilla@weilbacher.org
478380cab3 Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron 2007-08-23 17:13:43 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
roc+@cs.cmu.edu
592a593857 Bug 390050. Scan all blocks in a flow-chain, and their overflow lines, when iterating through lines to build text runs. r=smontagu,mats,sr=mats,a=bz 2007-08-22 02:08:13 -07:00
bzbarsky@mit.edu
582d5561ed Make sure layout is up to date before moving the caret. Bug 375436 followup to fix orange, pending reviews from roc. 2007-08-21 22:13:24 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
sharparrow1@yahoo.com
9fc46b7806 Bug 391412: Regression in float layout causing clear to be ignored. r+sr=roc, a=dbaron 2007-08-20 14:05:47 -07:00
sharparrow1@yahoo.com
6595535c69 Bug 383883: {inc} issues with block moving through non-moving float. r+sr+a=dbaron 2007-08-20 13:07:50 -07:00
cbiesinger@gmx.at
584c30a229 391261 call SetWindow a second time after instantiating the plugin, like we used to do (fixes WMP 10) r+sr=bz 2007-08-20 10:40:08 -07:00
sharparrow1@yahoo.com
f88c1bca98 Bug 390762: Crash [@ nsFrameManager::UnregisterPlaceholderFrame] with -moz-column and float. r=fantasai, sr+a=roc. 2007-08-17 17:06:46 -07:00
jwalden@mit.edu
75b11a995d Bug 294800 - Beautify FTP/File/Jar/Gopher dir listings (CSS, icons, sortable columns) so that they don't look like they're from 1995. (Ooh, shiny!) Patch by Dao Gottwald <dao@design-noir.de>, r+sr=bz, r=mano, a=dsicore 2007-08-17 15:57:36 -07:00
philringnalda@gmail.com
48c8d7714f Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron 2007-08-16 20:43:00 -07:00
masayuki@d-toybox.com
06c667051a Bug 367614 [Win Only] The composition string for IME should have dashed underline r+sr+a=roc 2007-08-16 13:35:18 -07:00
mats.palmgren@bredband.net
45153ad611 Mochitest for bug 391747. r=martijn 2007-08-16 08:26:20 -07:00
mats.palmgren@bredband.net
68f3ec9696 Make GetFirstCellNodeInRange() deal with document node in the range. b=391747 r=Olli.Pettay sr+a=roc 2007-08-16 05:42:25 -07:00
roc+@cs.cmu.edu
d2b3404ed9 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 11:39:38 -07:00
roc+@cs.cmu.edu
c3ae784bf0 Backing out 2007-08-15 09:20:46 -07:00
roc+@cs.cmu.edu
c22b576607 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 09:04:17 -07:00
martijn.martijn@gmail.com
856030c2e2 Bug 322689 - ASSERTION: Wrapping frame should be block-level: aLastRS->frame->GetStyl, r+sr=bzbarsky, a=dbaron 2007-08-14 13:52:21 -07:00
masayuki@d-toybox.com
5dcd053a56 Bug 365414 overflowed decoration lines are not erased/painted r+sr=roc 2007-08-14 09:39:54 -07:00
sharparrow1@yahoo.com
c826ffa601 Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc 2007-08-13 13:47:04 -07:00
bzbarsky@mit.edu
d807a3f46e Don't add a dirty bit that shouldn't be needed. Bug 387209, r+sr=roc, a=dbaron 2007-08-10 13:08:10 -07:00
roc+@cs.cmu.edu
2c483f5105 Backing out fix for bug 385607 due to bustage and Tp regressions 2007-08-09 21:41:00 -07:00
roc+@cs.cmu.edu
6aa69c7773 Bug 385607. Force re-evaluation of textruns when block descendants are deleted or added. 2007-08-09 19:49:28 -07:00
roc+@cs.cmu.edu
1248a7477e Oops, undoing unrelated change 2007-08-09 19:34:30 -07:00
roc+@cs.cmu.edu
a1dccea9b0 Bug 388049. Update mCurrentFramesAllSameTextRun along the same-content path as well as the normal path. r=smontagu,a=dbaron 2007-08-09 19:32:49 -07:00
roc+@cs.cmu.edu
53f30b1d4d Fix bustage 2007-08-09 19:00:15 -07:00
sharparrow1@yahoo.com
1eb555233b Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 12:07:43 -07:00
fantasai.cvs@inkedblade.net
adbcc0b57c Bug 389767 - Regression: Fixed-position items are missing on 2nd page of print-preview, fixed on behalf of HP, r+sr=bzbarsky 2007-08-07 09:06:56 -07:00
mats.palmgren@bredband.net
07a2d5f8f3 Use NS_IMPL_ISUPPPORTS macros where possible. b=387211 r=neil sr=dbaron a19=pavlov 2007-08-07 08:18:36 -07:00
cbiesinger@gmx.at
6b6b771bea Bug 390385 make sure that plugins don't get instantiated before the first Reflow of the objectframe, so that the first NPP_SetWindow call contains the right dimensions r+sr=bz 2007-08-06 17:32:14 -07:00
masayuki@d-toybox.com
6c98d90d68 Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
jwalden@mit.edu
fcf77ab9fb Fix indentation, followup to bug 386801 noticed in a conflict in another pulled tree. 2007-08-05 15:37:52 -07:00
bmlk@gmx.de
b1d9496400 only break if the height is really constrained, bug 380550 r/sr=dbaron a=1.9+ 2007-08-04 02:40:00 -07:00
aaronleventhal@moonset.net
2561c55575 bug 348901. Remove extra whitespace from source when exposing accessible text. r+sr=roc, r=surkov. a=dbaron 2007-08-03 18:12:24 -07:00
jwalden@mit.edu
96470d6e9b Bug 386801 - nsAbsoluteContainingBlock doesn't need to store a child list name; this shaves four bytes off nsViewportFrame, nsBlockFrame, and nsPositionedInlineFrame. r+sr+a=dbaron 2007-08-02 15:44:36 -07:00
jwalden@mit.edu
9110d0e552 Bug 390671 - Finish adding same-linelist iterator comparison assertions, and remove the useless NS_LINELIST_DEBUG_PASS_END #define that's defined only #ifdef DEBUG. rs+a=dbaron 2007-08-02 15:43:14 -07:00
bzbarsky@mit.edu
36546d2784 Give bullet frames the right style context parent. Bug 387219, r+sr+a=dbaron 2007-08-02 15:07:52 -07:00
cbiesinger@gmx.at
9b77299b29 382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly r+sr=bz 2007-08-02 14:15:05 -07:00
smichaud@pobox.com
39a11988c6 Stop printing plugin on OS X from causing crash. Bug 388082. r=vladimir, sr=pavlov 2007-08-02 13:54:45 -07:00
bzbarsky@mit.edu
21e0d65a42 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
bzbarsky@mit.edu
40f1f36bf8 Flush layout before starting to pump data into plug-ins if we started the data
load ourselves.  Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write.  Bug
381512, r=biesi, sr=jst
2007-08-02 10:54:36 -07:00
roc+@cs.cmu.edu
9009ef6bb7 Backing out patches for bug 385270 (mostly --- due to other checkins in the meantime, the GetContent*() helper functions need to stay) to fix regressions. a=schrep 2007-07-30 16:56:14 -07:00
sharparrow1@yahoo.com
c9ef378b28 Backout bug 320378 due to regression bug 389398 2007-07-26 15:03:57 -07:00
roc+@cs.cmu.edu
917c4632c9 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
roc+@cs.cmu.edu
61373b8418 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
sharparrow1@yahoo.com
875cdf1a06 Bug 387201: ASSERTION: If we asked for force-fit, it should have been placed with float, padding. r+sr=roc 2007-07-25 14:52:20 -07:00
roc+@cs.cmu.edu
cd136606fe Bug 385270. Remove unnecessary (hopefully) bidi offset adjustment; the offsets will get fixed by a later reflow. r+sr=dbaron 2007-07-23 20:48:10 -07:00
bzbarsky@mit.edu
fc099802ed Add assertion. Bug 382199, r+sr=dbaron 2007-07-23 18:42:23 -07:00
bzbarsky@mit.edu
21505422b0 Address nits in patch for bug 257868. r+sr=roc 2007-07-23 18:19:43 -07:00
sharparrow1@yahoo.com
8ae10bc4a7 Bug 320378: Fix rendering preformance for heavily nested pages with clearance. 2007-07-23 17:40:42 -07:00
asqueella@gmail.com
cb307ac952 fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc
2007-07-23 16:31:11 -07:00
sharparrow1@yahoo.com
2db409b949 Bug 386147: Don't cut off floats at the bottom of the page, part 2: make sure continuations have the right preferred width. r+sr=dbaron. 2007-07-23 14:40:10 -07:00
mats.palmgren@bredband.net
0547b616b0 Remove nsDirectionalFrame::QueryInterface(), add GetFrameName(), and some other minor cleanup. b=385921 r+sr=dbaron 2007-07-22 07:43:23 -07:00
mats.palmgren@bredband.net
151fc8f9ab [DEBUG-only] Print a warning if we find a null float in the float cache. b=387651 r+sr=roc 2007-07-22 06:37:36 -07:00
jwalden@mit.edu
3dd0a48e8f Rename one of the bits on frames with a meaningful name, rs/r+sr=dbaron 2007-07-20 17:34:36 -07:00
sharparrow1@yahoo.com
9b40cbecb4 Bug 379922: Canvas frame's invalidation no longer correct. r+sr=dbaron 2007-07-20 13:14:43 -07:00
sharparrow1@yahoo.com
4480ed2810 Bug 384762: Negative margin + clear broken. r+sr=dbaron 2007-07-20 13:05:02 -07:00
jwalden@mit.edu
072a5d24ae Bug 386142 - fix up some comments on nsIFrame::Init. Patchby fantasai <fantasai.bugs@inkedblade.net>, r+sr=roc 2007-07-20 12:00:36 -07:00
sharparrow1@yahoo.com
c3cd7e1d31 Bug 384876: Padding gets added at both sides when overflow is used. 2007-07-20 11:35:20 -07:00
roc+@cs.cmu.edu
86d69d1566 Bug 364680. Intrinsic widths for columns. r+sr=dbaron 2007-07-19 19:21:43 -07:00
roc+@cs.cmu.edu
4d86f10253 Bug 346405. Handle reparenting of empty float lists. r+sr=dbaron 2007-07-18 21:32:08 -07:00
roc+@cs.cmu.edu
ed23b4f50f Bug 381703. First-letter frames that are wrapping non-first-letter-content should behave like spans and not compute their size. r+sr=dbaron 2007-07-18 21:29:59 -07:00
roc+@cs.cmu.edu
ed167bb522 Bug 328296. Make outlines appeare below positioned elements instead of above them. r+sr=Mats Palmgren 2007-07-18 20:50:24 -07:00
vladimir@pobox.com
d297746481 b=386799, crash with zero-width canvas, r=stuart,sr=roc 2007-07-18 07:40:19 -07:00
bzbarsky@mit.edu
4e086847d4 Fix build bustage 2007-07-17 19:43:12 -07:00
bzbarsky@mit.edu
a91a443a42 When reparenting placeholders to live under a first-line, don't change their
style context parent.  Bug 380012, r+sr=dbaron
2007-07-17 19:01:32 -07:00
asqueella@gmail.com
eaa1dd5061 back out 92543 due to DEBUG builds bustage 2007-07-17 14:52:27 -07:00
asqueella@gmail.com
4143d9b15e Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r+sr=roc
2007-07-17 14:00:27 -07:00
mrbkap@gmail.com
4287a9b897 Fix printf format-specifier and args mismatch to prevent potential DEBUG-only crashes. bug 388358, r+sr=roc 2007-07-16 15:26:53 -07:00
sharparrow1@yahoo.com
a0e18c7979 Bug 386391: Old padding remains when updating bottom-positioned div. r+sr=roc 2007-07-16 11:55:24 -07:00
neil@parkwaycc.co.uk
ef8ecf15f4 nsTextFrameThebes ClusterIterator misuses memset plus cleanup b=387964 r+sr=roc 2007-07-13 01:22:00 -07:00
roc+@cs.cmu.edu
98e06e2acf Bug 387867. Rename DISABLE_LIGATURES to DISABLE_OPTIONAL_LIGATURES and make the ATSUI code only disable optional ligatures. r=pavlov 2007-07-13 01:09:25 -07:00
roc+@cs.cmu.edu
b3d6a2dc31 Bug 387358. Don't go into an infinite loop searching for end-of-first-letter-cluster; also translate from DOM to textrun offsets. r=smontagu 2007-07-12 16:00:20 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
peterv@propagandism.org
2fb0fc711a Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
jwalden@mit.edu
c86b388db3 Add assertions that line iterators being compared are iterators over the same line list. rs=dbaron 2007-07-10 17:55:15 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
jruderman@hmc.edu
777ecef0f6 Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky. 2007-07-07 16:52:59 -07:00
sharparrow1@yahoo.com
7be43fe930 Bug 386900: Topic images rendered in wrong place on slashdot. r+sr=roc 2007-07-06 11:22:56 -07:00
sharparrow1@yahoo.com
60bc3c2574 Fix warning from Bug 285608. r+sr=roc. 2007-07-04 16:38:39 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
roc+@cs.cmu.edu
33428c5bf6 Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu 2007-07-03 20:39:01 -07:00
mats.palmgren@bredband.net
db689821bf Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
sharparrow1@yahoo.com
c42eac0192 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc 2007-07-03 15:49:00 -07:00
sharparrow1@yahoo.com
8801788a06 Bug 386141: Switch NS_FRAME_IS_BOX to use IsFrameOfType. Patch by fantasai, r+sr=roc. 2007-07-03 15:11:28 -07:00
roc+@cs.cmu.edu
b8625507f4 Bug 384988. Provide toplevel window to plugins for WM_TRANSIENT_FOR of dialog boxes. patch by Karl Tomlinson,r+sr=roc,jst 2007-07-02 20:41:34 -07:00
roc+@cs.cmu.edu
58ab8b25e3 Bug 384975. Dispatch input events to windowless X plugins. patch by Karl Tomlinson, r+sr=roc,jst 2007-07-02 20:39:44 -07:00
roc+@cs.cmu.edu
7beba0dc34 Bug 384845. Drawing support for windowless plugins in X. Patch by Karl Tomlinson, r+sr=roc,jst 2007-07-02 20:33:13 -07:00
roc+@cs.cmu.edu
71fc801e9d Bug 384845. Make the NPSetWindowCallbackStruct memory associated with
window->ws_info available before SetWindow is called, and disable the plugin
window GtkSocket or xtbin creation for windowless plugins.
patch by Karl Tomlinson, r+sr=jst
2007-07-02 20:29:47 -07:00
flamingice@sourmilk.net
719eaa0717 Bug 386012, Crash [@ nsTextFrameUtils::TransformText] loading png as HTML, Patch by Karl Tomlinson, r+sr=roc 2007-07-02 17:46:05 -07:00
roc+@cs.cmu.edu
2da35d9a47 Bug 386548. Removing no-longer-used nsTextTransformer files 2007-07-02 17:29:01 -07:00
roc+@cs.cmu.edu
f89a82a7f6 Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 16:36:59 -07:00
sharparrow1@yahoo.com
c44588dfad Bug 377204: Clearing multi-page floated elements works on screen but not when printing (fix for fixed-height case). r+sr=rpc. 2007-07-02 14:00:31 -07:00
sharparrow1@yahoo.com
d6746f9dd6 Bug 386387: ifilm videos don't play, only audio plays. r+sr=roc 2007-07-01 23:12:02 -07:00
sharparrow1@yahoo.com
64411c9fa4 Bug 386147: Don't cut off floats at the bottom of the page (part 1). r+sr=roc 2007-07-01 22:26:52 -07:00
sharparrow1@yahoo.com
629a8533ea Bug 343595: {inc} overflow:hidden float in overflow:hidden div doesn't get repositioned correctly. r+sr=roc 2007-07-01 22:19:57 -07:00
roc+@cs.cmu.edu
2bcba24d21 Removing nsTextFrame.cpp and associated makefile rules. r/sr=pavlov for the removal. 2007-07-01 20:31:57 -07:00
roc+@cs.cmu.edu
edb8c4e744 Bug 386122. Allow text runs to end at preformatted newlines. Speeds up loading of plain-text files a lot because we don't have to have a textrun for the entire file. r=smontagu 2007-07-01 18:20:43 -07:00
roc+@cs.cmu.edu
cb9f8e0c54 Bug 9101. Fix various soft-hyphen bugs, primarily related to detecting when hyphenation is needed during a second-pass break-forcing line reflow. r=smontagu 2007-07-01 18:14:27 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
mconnor@steelgryphon.com
2a009ab4f8 backing out bug 347743 due to major crasher in 386332 2007-06-29 10:21:55 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
jst@mozilla.org
82955233cf Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org 2007-06-27 17:15:11 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
sharparrow1@yahoo.com
2dfa401cab Bug 385862: View usage cleanups. r+sr=roc 2007-06-27 09:37:50 -07:00
sharparrow1@yahoo.com
797d33c39e Bug 285608: hangs when page with float printed. r+sr=roc. 2007-06-27 09:35:31 -07:00
roc+@cs.cmu.edu
ee678ee439 Bug 384836. Relanding fix to pass around gfxContexts a bit more instead of hanging on to one in nsTransformedTextRun. r=smontagu,pavlov 2007-06-26 21:22:21 -07:00
roc+@cs.cmu.edu
26f439cf9b Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
roc+@cs.cmu.edu
ad7d6b1173 Bug 385293. Silence warnings about textrun recreation that aren't really problems, just informational. r=smontagu 2007-06-26 19:21:34 -07:00
dbaron@dbaron.org
d0ed87d4da Back out bug 384836 to diagnose Tp/Tp2 regression bug 385957. 2007-06-26 15:16:34 -07:00
roc+@cs.cmu.edu
4e19947cc9 Bug 384836. Avoid using a stale gfxContext, by not holding onto one in nsTransformedTextRun, passing in a gfxContext when required instead. r=pavlov,smontagu 2007-06-25 21:25:00 -07:00
mrbkap@gmail.com
2568d5a057 Don't depend on undefined behavior (sign extension on right shift). bug 385259, r=mats.palmgren sr=jst 2007-06-25 14:53:21 -07:00
roc+@cs.cmu.edu
1a0e38773f Bug 385344. Always reconstruct textruns for next-in-flows of firstline/firstletter frames. Also, be more careful looping over text in AddInlinePrefWidthForFlow. r=smontagu 2007-06-24 20:41:07 -07:00
roc+@cs.cmu.edu
2f6a9ffa9f Bug 385234. Iterate through textframe continuations properly in AddInlinePref/MinWidth. r=smontagu 2007-06-21 17:14:34 -07:00
roc+@cs.cmu.edu
63340d2891 Bug 382105. Clean up PeekOffsetWord to exit early without setting *aOffset if there is nowhere to go in the requested direction. Also, ignore *aSawBeforeType when we're checking for punctuation. r=smontagu 2007-06-21 17:13:05 -07:00
dbaron@dbaron.org
ad3d506605 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc 2007-06-21 15:32:47 -07:00
roc+@cs.cmu.edu
8dbe06191f Bug 367177. (Re)enabling new-textframe. 2007-06-20 12:49:46 -07:00
jwalden@mit.edu
48ddf6ad09 C++ and/or gcc sucks for not allowing commas at the end of enums; this compiled in Visual Studio. 2007-06-19 22:24:09 -07:00
jwalden@mit.edu
8d353cbe72 Move frame bit #defines into an anonymous enum, to aid debuggers in determining their values, since the two I've used can't do so, at least not with the default build options. rs=roc 2007-06-19 22:12:35 -07:00
dbaron@dbaron.org
3b94faebcf Back out patch to make mousethrough attribute apply to all elements. b=380094 a=roc 2007-06-18 16:22:46 -07:00
dbaron@dbaron.org
3ee9b0de0f Handle the vertical resizing in the first pass reflow correctly when we've previously done a special height reflow. b=381507 r=dholbert sr=roc 2007-06-18 16:19:39 -07:00
m_kato@ga2.so-net.ne.jp
c978630279 bug 328547 support mozilla/layout on WinXP x64 build. r=cbiesinger/sr=dbaron 2007-06-17 07:00:30 -07:00
sharparrow1@yahoo.com
78559aa94e Bug 381385: get rid of unneeded members of nsFloatCache (saves about 50 bytes footprint per float). r+sr=roc. 2007-06-16 13:27:46 -07:00
roc+@cs.cmu.edu
250e787eff Bug 382105. Yet another word caret movement fix to ensure we stop at punctuation. 2007-06-14 22:37:08 -07:00
roc+@cs.cmu.edu
5ecac60819 Backing out new textframe landing because of Windows bustage. 2007-06-13 15:31:31 -07:00
roc+@cs.cmu.edu
aabe78b6ca Bug 367177. Turn on new textframe. Lord, have mercy upon us. 2007-06-13 13:20:19 -07:00
roc+@cs.cmu.edu
fba8d645e8 Not part of the build (barely). Don't skip updating per-char arrays for characters that are cluster continuations (in small-caps code). 2007-06-13 11:28:38 -07:00
roc+@cs.cmu.edu
5c7dda1060 Not part of the build (barely). Don't allow PeekOffsetWord to break before the first cluster. Avoids a fencepost error in ClusterIterator where going backwards we might try to look at one past the end of mWordBreaks. 2007-06-13 11:25:14 -07:00
roc+@cs.cmu.edu
ee1924e0c6 Not part of the build (barely). Fix intrinsic-min-widths properly for preformatted white-space... the previous checkin messed up the check for newline characters. 2007-06-13 03:58:44 -07:00
roc+@cs.cmu.edu
e799be426c Not Part Of The Build (barely). Clean up function names and comments. Also fix an unreported regression where we failed to take preformatted newlines into account when computing text intrinsic-min-width. 2007-06-13 02:06:28 -07:00
roc+@cs.cmu.edu
2f18074ec6 Landing textframe updates: Use word-based textrun cache; rewritten PeekOffsetWord; adjust textframe content-offsets and content-lengths when CharacterDataChanged fires; search backwards for textrun scanning/creation start point, instead of all the way back to the start of the block; ensure that we pass the correct start iterator to PropertyProvider in TrimTrailingWhiteSpace. 2007-06-12 14:01:12 -07:00
dbaron@dbaron.org
9e2fef4c30 Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky 2007-06-12 11:27:09 -07:00
smontagu@smontagu.org
2926465a3b Clear textruns during bidi resolution. Not Part of the Build. Bug 382429, r+sr=roc 2007-06-02 23:53:10 -07:00
joshmoz@gmail.com
c4219bdb45 need to set plugin window x and y coords in CG mode. b=382765 r=sfraser sr=roc 2007-06-02 15:02:57 -07:00
roc+@cs.cmu.edu
fa9335bd42 Bug 382279. Disable ligatures when letter-spacing is in effect. Also, avoid adding space inside ligatures if the gfx backend doesn't respect our disabling of ligatures. r=pavlov 2007-05-30 22:01:56 -07:00
roc+@cs.cmu.edu
18223fc22d Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount. 2007-05-30 15:27:27 -07:00
mats.palmgren@bredband.net
1cb22a625f Check LL_GOTLINEBOX before using mLineBox. b=382396 r+sr=dbaron 2007-05-30 08:08:50 -07:00
smontagu@smontagu.org
d16cf8e31c Do bidi resolution during GetPrefWidth() and GetMinWidth() as well as Reflow(). Bug 365130, r+sr=roc 2007-05-28 07:40:56 -07:00
roc+@cs.cmu.edu
3fac21ece0 Not part of the build. Don't trim whitespace if wrapping is disabled --- in min-width and pref-width calculations. 2007-05-27 19:38:21 -07:00
roc+@cs.cmu.edu
8b4068bd66 Not part of the build. Don't trim whitespace if wrapping is disabled. Don't compress a space that's preceded by an incompressible space. 2007-05-27 19:20:58 -07:00
roc+@cs.cmu.edu
b83f90d3ea Not part Of The Build. Bug 381228. Fix handling of case where the text is not part of a block. 2007-05-23 20:06:37 -07:00
preed@mozilla.com
4750a2febd Bug 381695: TextFrame feature makefile switch needs to pick up its setting from environment. r=bsmedberg 2007-05-23 19:13:04 -07:00
roc+@cs.cmu.edu
d88807555b (Not Part Of The Build). Fix incorrect treatment of first character always as uppercase, even when it isn't, when building a small-caps textrun ... 2007-05-23 02:37:52 -07:00
roc+@cs.cmu.edu
b2cf85dacd Bug 380625. (Not Part Of The Build). Fix cluster count for trimmed spaces. 2007-05-23 02:36:16 -07:00
roc+@cs.cmu.edu
2d4b4128c0 Not Part Of The Build (new textframe). IsInBounds uses incorrect logic and produces spurious warnings. 2007-05-22 21:08:38 -07:00
sharparrow1@yahoo.com
d4a50fcc87 Bug 381645: Remove nsBoxFrame::GetContentOf. r+sr=dbaron. 2007-05-22 20:48:43 -07:00
roc+@cs.cmu.edu
a56819194e Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 16:45:47 -07:00
sharparrow1@yahoo.com
888cd6828d Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron. 2007-05-22 13:34:00 -07:00
sharparrow1@yahoo.com
e121bf78ce Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc 2007-05-21 03:06:08 -07:00
sharparrow1@yahoo.com
197f518480 Bug 45631: text-indent: n% doesn't incrementally reflow correctly. r+sr=roc. 2007-05-21 02:55:27 -07:00
roc+@cs.cmu.edu
b7f3dc0143 Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron 2007-05-20 20:44:26 -07:00
dbaron@dbaron.org
93042a4e45 Don't propagate line layout in reflow state when we're not in the line. b=320502 r+sr=roc 2007-05-17 23:04:04 -07:00
mats.palmgren@bredband.net
032cb5c51d NPOTB. Add missing rendering context null-checks. b=380502 r+sr=roc 2007-05-17 03:52:20 -07:00
roc+@cs.cmu.edu
752cb1c711 Not Part Of The Build. 1) Round font underline/overline/strikeout offsets and sizes to device pixels to try to ensure consistent visual offsets and sizes even when the baseline point is not pixel-aligned. 2) snap the text baseline y coordinate to the nearest pixel, because the decoration lines will be snapped themselves and we need the gaps to remain consistent. 3) fix bug in selection-decoration x coordinate which was forgetting to include the frame x-offset. 2007-05-15 22:21:41 -07:00
roc+@cs.cmu.edu
00c14ee581 Not Part Of The Build. Fix underline/strikeout positioning in new text frame --- simple appunits/pixels confusion. 2007-05-15 16:41:41 -07:00
dbaron@dbaron.org
e9a2ce02d6 Fix vertical resizing for quirks mode percentage heights. b=380004 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron 2007-05-15 14:52:44 -07:00
roc+@cs.cmu.edu
42a453e958 NPOTB, new-text-frame. Fix mouse events targeting after the end of a textframe. 2007-05-14 22:23:19 -07:00
roc+@cs.cmu.edu
c04ab10b10 Back out enabling of new text frame... its time has not yet come 2007-05-14 20:58:10 -07:00
roc+@cs.cmu.edu
69246cf0ee Bug 380692. Change gfxTextRun API so the textrun copies text, if necessary, instead of the caller having to do it. r=vlad 2007-05-14 20:56:47 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
asqueella@gmail.com
1f0637ebc5 Bug 380094 - make mousethrough more generally usefulp=toshok@hungry.comr+sr=roc 2007-05-13 09:00:00 -07:00
neil@parkwaycc.co.uk
23a051773f Follow-up cleanup b=375403 r+sr=roc 2007-05-13 03:06:57 -07:00
roc+@cs.cmu.edu
9a3b1f05c8 Not part of the build. Fix off-by-one error in selected-text painting in new text frame. 2007-05-11 15:54:51 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
dbaron@dbaron.org
6becb79be4 Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
dbaron@dbaron.org
6375aad92f Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky 2007-05-10 23:01:31 -07:00
neil@parkwaycc.co.uk
001e700eb6 Bug 375403 originally started off as a simple request to enable window translucency when windows or popups use opacity, alpha transparent background or non-zero border radius but mutated to include refactoring non zero side testing r+sr=roc 2007-05-10 08:46:42 -07:00
roc+@cs.cmu.edu
5dacf8d2c6 Fix const issue. Not Part Of The Build 2007-05-10 07:42:56 -07:00
bzbarsky@mit.edu
e77dda0c0b Twiddle parentheses a little bit. Bug 311415 followup, r+sr=dbaron 2007-05-09 19:55:15 -07:00
roc+@cs.cmu.edu
55d1df583d Not part of the build. Fix text lifetime issues for transformed textruns. 2007-05-09 17:58:47 -07:00
roc+@cs.cmu.edu
e360cfb42d Not part of the build. Update new text frame for textrun API changes. Also implements a textrun cache for the new text frame 2007-05-09 15:04:56 -07:00
roc+@cs.cmu.edu
f8fbe830af Bug 380209. Hooks for a textframe-specific textrun cache startup/shutdown. r+sr=bzbarsky 2007-05-09 15:02:29 -07:00
smontagu@smontagu.org
1589352d02 Uneven justification with new textframe. Bug 380062, r+sr=roc 2007-05-09 11:09:32 -07:00
smontagu@smontagu.org
7ce6d0b781 Clear mTextRun on a style change reflow. Bug 379969, r+sr=roc 2007-05-08 07:33:09 -07:00
bzbarsky@mit.edu
ab6e18ee19 Fix determination of the style context parent for the inner table frame of aroot table. Bug 379386, r+sr=roc 2007-05-07 20:59:12 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
dbaron@dbaron.org
79c8ea4796 Remove special handling of empty continuations, which should no longer be needed. b=238473 Based on patch by Hideo Saito <saito@densan.co.jp>. r=dbaron sr=roc 2007-05-05 10:06:04 -07:00
dbaron@dbaron.org
2f7331b24a Address bzbarsky's final review comments (comment 14) on bug 311415: consider ch units fixed as well. 2007-05-05 10:01:51 -07:00
bzbarsky@mit.edu
a73ee91520 Simplify code. Bug 367442 followup, jag's idea, r+sr=dbaron 2007-05-04 23:13:48 -07:00
bzbarsky@mit.edu
64c3e5df8a Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
bzbarsky@mit.edu
685a823789 Make computed style handle "normal" for line-height by computing an actualnumeric height. Bug 371041, r+sr=dbaron 2007-05-04 22:30:10 -07:00
dbaron@dbaron.org
7dc7c89d6c Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
bzbarsky@mit.edu
4272f75194 Fix assert to be more correct. Bug 379383, r+sr=dbaron 2007-05-02 13:32:17 -07:00
roc+@cs.cmu.edu
61473971b1 Bug 372703. Position child views whenever we place an abs-pos child; even if the child hasn't moved, this frame itself might have, so view offsets might have changed. r=eli,sr=dbaron 2007-05-01 17:07:51 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
e83c55e645 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
mats.palmgren@bredband.net
dfbd9d77a5 Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 16:52:44 -07:00
bzbarsky@mit.edu
45ccef2087 remove debugging code again. 2007-04-29 21:36:03 -07:00
bzbarsky@mit.edu
013df0d678 Put back this test code for one run so I can get data from Tp/Tp2 2007-04-29 20:11:04 -07:00
asqueella@gmail.com
20e9450a7d bug 375291 - update layout/generic/punct_marks.ccmap to unicode 5.0p=arno. <arno.@no-log.org>r=smontagu, sr=dbaron 2007-04-27 09:42:22 -07:00
asqueella@gmail.com
18c7325a7b Bug 376034 - Possible incorrect coordinate transform in nsImageFramep=Jeremy Lea <reg@freebsd.org>r+sr=roc 2007-04-27 07:40:17 -07:00
bzbarsky@mit.edu
e0ed942e8a Back out the test code. 2007-04-26 19:06:50 -07:00
bzbarsky@mit.edu
a5e93e2e05 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers. 2007-04-26 17:47:34 -07:00
bzbarsky@mit.edu
789ffd0e73 Adding some test code for a single tinderbox run so I can see what's going onwith Tp2 and such. Will back out after one cycle. 2007-04-26 15:46:05 -07:00
bzbarsky@mit.edu
f1c4c68543 Don't do incremental reflow for now, because tables can't deal. Followup forbug 378480, r+sr=roc 2007-04-25 22:33:34 -07:00
bzbarsky@mit.edu
24c328d268 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -07:00
bzbarsky@mit.edu
c77758b510 Resolve the right (parentless) style context for a table as a document root,and fix the assertion when adjusting parent style context frames to not triggerin non-scrollable documents. Bug 378693, r+sr=roc 2007-04-25 19:26:25 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
sayrer@gmail.com
d75d2627f8 bug 378383. nsReflowStatus not always initialized in nsBlockFrame::ReflowInlineFrame. r+sr=bzbarsky 2007-04-22 13:57:54 -07:00
bzbarsky@mit.edu
5a4fccb862 Fix assertion to be more correct. No bug. 2007-04-20 20:57:40 -07:00
roc+@cs.cmu.edu
2eec67fef4 Bug 368863. Reparent floats properly when placeholders move between inline continuations. r+sr=dbaron 2007-04-20 17:42:58 -07:00
sharparrow1@yahoo.com
b9768958d9 Bug 378129: Consistently pass the right frame to InvalidateInternal. r+sr=roc. 2007-04-20 16:51:12 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
bzbarsky@mit.edu
c27dc765b6 The parent style context frame determination for an inner table should use theinner table's pseudo, not the outer table's. Bug 377603, r+sr=dbaron 2007-04-15 22:55:42 -07:00
bzbarsky@mit.edu
2dca5abb0a Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron 2007-04-15 17:42:54 -07:00
bzbarsky@mit.edu
e6d41ebe8b Change the way we determine the style context parent frame to skip css anonboxes unless we're determining the style context parent for something that isitself a css anon box (and is not a non-element frame). Fixes bug 323656(which is where the patch is), bug 85872, bug 280610. As far as I can tell,also fixes bug 317876, bug 372376, bug 374297. r+sr=dbaron 2007-04-15 16:14:26 -07:00
uriber@gmail.com
b813fa7847 Test for null parent content, rather than null parent frame, to avoid possible crash in FindBlockFrameOrBR(). bug=370174 r=sharparrow1 sr=roc 2007-04-14 09:34:12 -07:00
roc+@cs.cmu.edu
056f048065 Not part of the build. Fix new textframe issues with mixed-direction text and textrun reconstruction. 2007-04-13 15:57:54 -07:00
Olli.Pettay@helsinki.fi
3dcecf2a6e Bug 374090, Crash [@ nsGfxScrollFrameInner::GetScrollPortSize] with noframes and setting binding on root element, r+sr=roc 2007-04-13 07:07:40 -07:00
enndeakin@sympatico.ca
8b6667e253 Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-11 21:37:39 -07:00
roc+@cs.cmu.edu
b90ebbbc6c Bug 370439 (sort of). GetAbsPosClipRect needs to take the new frame size as a parameter, because the current frame size may be invalid when we are called by FinishAndStoreOverflow. r+sr=dbaron 2007-04-10 22:04:09 -07:00
Olli.Pettay@helsinki.fi
cb7222adf2 Additional patch for bug 369150, r+sr=bz 2007-04-10 12:08:21 -07:00
bzbarsky@mit.edu
9bdd8b028c Make sure to update view positions if we move our block around verticallyduring reflow. Bug 365294, r+sr=dbaron 2007-04-05 15:47:38 -07:00
roc+@cs.cmu.edu
f1007b83a5 Bug 368860. Don't perform out-of-bounds access if we have a bogus empty previous-text-frame. r+sr=dbaron 2007-04-03 19:28:27 -07:00
roc+@cs.cmu.edu
9ebf4ec76a Not part of the build --- update GetPresContext to PresContext in a few not-built places. 2007-04-02 20:56:55 -07:00
bzbarsky@mit.edu
e0ad31bc86 Make non-blockframe kids of xul not have to end up with a zero height. Bug374038, r+sr=dbaron 2007-04-01 08:15:17 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
sharparrow1@yahoo.com
bc0f1805e5 Bug 372062: Auto values for right and bottom in CSS clip rect broken. r+sr=roc. 2007-03-28 18:31:26 -07:00
roc+@cs.cmu.edu
6599844c53 Not part of the build (well, gfxSkipChars is built but not used): fix bugs in gfxSkipChars, and new textframe fixes for soft hyphens, justification, and caret movement (PeekOffset*) among other things 2007-03-28 16:54:32 -07:00
sharparrow1@yahoo.com
b087c08cc6 Bug 373474: Scrollbar buttons don't get invalidated (i.e. for notification box or resizing). r+sr=roc. 2007-03-27 23:24:40 -07:00
sharparrow1@yahoo.com
1cf7602a3e Bug 373433: views inside absolutely positioned blocks sometimes mispositioned. r+sr=roc. 2007-03-27 23:14:03 -07:00
joshmoz@gmail.com
e836dc9c3f get rid of old backbuffer API and related code. b=371392 r/sr=roc 2007-03-26 23:21:55 -07:00
Olli.Pettay@helsinki.fi
756bfcf6f0 Bug 369168, r+sr=roc 2007-03-26 22:30:14 -07:00
sharparrow1@yahoo.com
6fdcc6c041 Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc. 2007-03-26 20:58:17 -07:00
joshmoz@gmail.com
094f428519 Implement CoreGraphics NPAPI Drawing Model. NPAPI plugins now have the option to render using CoreGraphics instead of Quickdraw. b=344427 r=sfraser sr=jst 2007-03-26 18:07:57 -07:00
sharparrow1@yahoo.com
bdebedc073 Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc 2007-03-25 18:12:49 -07:00
asqueella@gmail.com
69e6a9a9b7 Bug 374486 - "WARNING: Nonempty list left over?" in visual debugging mode
p=Sylvain Pasche <sylvain.pasche@gmail.com>r+sr=roc
2007-03-24 22:30:59 -07:00
roc+@cs.cmu.edu
29a2c959bb No bug. A variety of fixes to fix various reftest failures. Not Part Of The Build. 2007-03-24 04:07:36 -07:00
mats.palmgren@bredband.net
42d130d286 Fix "selection colors are sometimes wrong". b=374765 r+sr=pavlov 2007-03-24 02:21:35 -07:00
Olli.Pettay@helsinki.fi
1e619f723b Bug 375093, Crash [@ nsTypedSelection::ScrollIntoView] when right-clicking paste in input which then gets destroyed oninput, r+sr=dbaron 2007-03-23 10:32:34 -07:00
Olli.Pettay@helsinki.fi
be5c439142 backout Bug 369168 2007-03-23 03:03:25 -07:00
Olli.Pettay@helsinki.fi
956eca1093 Bug 374937, Crashes [@ nsTypedSelection::GetFrameSelection], r+sr=roc 2007-03-22 17:06:38 -07:00
Olli.Pettay@helsinki.fi
5efe36d569 Bug 369168, r+sr=roc 2007-03-22 17:01:36 -07:00
Olli.Pettay@helsinki.fi
f9d1cc6908 Bug 369150, r+sr=roc 2007-03-22 16:57:55 -07:00
roc+@cs.cmu.edu
374a8cc077 Bug 333659. Major new-textframe update. You can really browse the Web with it now, although major bugs remain. 2007-03-22 16:13:12 -07:00
roc+@cs.cmu.edu
859e758dce No bug. Comment-only change to note a potential optimization opportunity. 2007-03-22 16:10:10 -07:00
joshmoz@gmail.com
500c06e1d0 fix crash, suspend native events when instantiating plugins. patch by Steven Michaud. b=345627 r=josh sr=roc 2007-03-22 16:04:51 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00