Граф коммитов

584 Коммитов

Автор SHA1 Сообщение Дата
roc+@cs.cmu.edu 85901f7a47 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 bf460caccf 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
smontagu@smontagu.org f5fe40be19 Clear textruns during bidi resolution. Not Part of the Build. Bug 382429, r+sr=roc 2007-06-02 23:53:10 -07:00
roc+@cs.cmu.edu f1997a6a30 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 e6c0113640 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
roc+@cs.cmu.edu 7a41f3f408 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 d42b5087f5 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 d6efb6af6b 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
roc+@cs.cmu.edu fc987538d0 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 6b140b8909 Not Part Of The Build (new textframe). IsInBounds uses incorrect logic and produces spurious warnings. 2007-05-22 21:08:38 -07:00
roc+@cs.cmu.edu d22fec8e76 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
dbaron@dbaron.org 3cfbaf7cc5 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 71ab3fc250 NPOTB. Add missing rendering context null-checks. b=380502 r+sr=roc 2007-05-17 03:52:20 -07:00
roc+@cs.cmu.edu 6aebf3d39d 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 361e658b7b 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
roc+@cs.cmu.edu 97a6a32aad 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 e7e11676c0 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
roc+@cs.cmu.edu b215bd76d2 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
roc+@cs.cmu.edu 454756fb25 Fix const issue. Not Part Of The Build 2007-05-10 07:42:56 -07:00
roc+@cs.cmu.edu cc1cbf7323 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
smontagu@smontagu.org 7b76b3c961 Uneven justification with new textframe. Bug 380062, r+sr=roc 2007-05-09 11:09:32 -07:00
smontagu@smontagu.org 982470d498 Clear mTextRun on a style change reflow. Bug 379969, r+sr=roc 2007-05-08 07:33:09 -07:00
bzbarsky@mit.edu 1b5f6b30b6 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
roc+@cs.cmu.edu a0fda2a56c Not part of the build. Fix new textframe issues with mixed-direction text and textrun reconstruction. 2007-04-13 15:57:54 -07:00
roc+@cs.cmu.edu c4588ea601 Not part of the build --- update GetPresContext to PresContext in a few not-built places. 2007-04-02 20:56:55 -07:00
roc+@cs.cmu.edu 23dbb12d5b 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
roc+@cs.cmu.edu c193edd10b No bug. A variety of fixes to fix various reftest failures. Not Part Of The Build. 2007-03-24 04:07:36 -07:00
roc+@cs.cmu.edu cc90e91cec 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
dbaron%dbaron.org 9d7f938b99 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc 2007-02-24 18:33:33 +00:00
sharparrow1%yahoo.com d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
roc+%cs.cmu.edu 96e62daf4c Make new textframe build again after units landing and other changes. The gfxSkipChars and gfxPangoTextRun changes only affect the new textframe. 2007-02-09 04:20:17 +00:00
cvshook%sicking.cc a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
dbaron%dbaron.org f6245f0ed9 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc 2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu e6bad38abe Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts 2007-01-16 20:51:52 +00:00