Commit Graph

119 Commits

Author SHA1 Message Date
7cbbaca6b9 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
f8979fd3d8 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
cc23367315 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
e21183d451 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
033a5461ee 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
c24a45c64e 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
643e510151 re-landing Bug 393758 2007-10-18 19:01:05 -07:00
56933cd7e3 Fixing bustage from landing of bug 397510. 2007-10-18 18:33:52 -07:00
4dab535e18 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
765fc5bb87 Backing out bustage fix 2007-10-17 23:48:44 -07:00
21a0320198 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
996cf11a50 Backing out 393758 just in case it caused perf regression 2007-10-16 16:56:27 -07:00
cd9ff9e74b Backing out fix for bug 397510 to see if it fixes the Tp regression 2007-10-16 01:20:22 -07:00
d13c45c1ba Fixing bustage 2007-10-15 14:20:36 -07:00
e433ff9b48 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
bd36f93207 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
782f4b3b11 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
b6efadf476 Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
d624104a2f 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
c40ff5881f Backing out bug 391584 because of test failures on non-Mac 2007-10-09 21:25:42 -07:00
d9d840e528 Fixing bustage 2007-10-09 19:30:48 -07:00
7fd63192b3 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
e1eefbc250 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
4c3b831a27 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
b72107a865 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
225a2e993d 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
93832c0391 Backing out 2007-10-01 15:11:23 -07:00
7e1cbddfb6 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
d8b89f7ae3 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
621176fa35 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
479f8c2dbb Backing out due to test bustage 2007-09-22 06:28:16 -07:00
23a473ccb6 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
1ba77e3ee9 [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
5af3fc5b94 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
e27f7cbdf0 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
912322ce1b 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
31d131c1b2 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
97883a9b9a 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
315985428e 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
b321dc12c4 Bug 393923. Fix text-offset calculation for first-letter. r=smontagu,a=dbaron 2007-09-05 16:03:31 -07:00
94c67fa6aa Bug 394510. Don't leak the hyphen textrun when we display a soft hyphen. r=smontagu 2007-09-05 15:59:44 -07:00
1d18c33311 Bug 391621. Remove unnecessary trimmed-space counting. r=smontagu,a=dbaron 2007-09-03 21:02:22 -07:00
ca5c1e5f90 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
6dcbc76640 Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
e31f98164b Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
a6851be88b 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
e36b44ded3 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
ec8a320aea Blow away text runs after Bidi resolution. Bug 382429, r+sr+a=roc 2007-08-26 10:20:28 -07:00
409d7404ef 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
e5d538f318 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