Commit Graph

458 Commits

Author SHA1 Message Date
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