505 Commits

Author SHA1 Message Date
blizzard%redhat.com
af2e4e4f3a Bug #260663. When pango is available use it for grapheme cluster information to figure out where valid selection points are. Change text rendering to use clip regions for rendering selected strings instead of rendering partial strings instead. r+sr=roc,a=asa
git-svn-id: svn://10.0.0.236/trunk@172961 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 20:48:32 +00:00
rbs%maths.uq.edu.au
e44ab657e8 Discarded characters cause the selected text to shift, b=289857. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172589 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 01:30:46 +00:00
rbs%maths.uq.edu.au
ecc64d2dcd view-source crashes on bidi text, b=291176, r=smontagu, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@172583 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:45:59 +00:00
masayuki%d-toybox.com
a9e6edee5a bug 290920 If an element has 'font-variant: small-caps', the selection color is broken r/sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172538 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 07:54:32 +00:00
masayuki%d-toybox.com
ef5f8602fd bug 56314 reverse selection colors when page background is similar to default selection background. Updating the algorithm. r/sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172423 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 06:05:22 +00:00
smontagu%smontagu.org
70d1e92eab Fix typo from bug 284927. Bug 290567, r+sr=roc, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@172385 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 03:55:52 +00:00
rbs%maths.uq.edu.au
56de3ee70e text-transform: uppercase or capitalize messes the German character &szlig;, b=96423, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172382 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 00:13:45 +00:00
rbs%maths.uq.edu.au
ae5b367175 Selection details leak, b=290425, r+sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@172332 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-16 04:03:11 +00:00
smontagu%smontagu.org
19b1efdc77 Add a rendering hint for gfx implementations that perform reordering of complex text after applying spacing. Bug 284927, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172268 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 10:25:43 +00:00
masayuki%d-toybox.com
5fee0b5fd2 bug 56314 reverse selection colors when page background is similar to default selection background. r=sfraser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171553 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 10:40:48 +00:00
scott%scott-macgregor.org
cb7373fa95 Bug #282506 --> Inline spell check words go blank while message is being sent
because the text frame is hiding selection text for disabled text nodes. We should never hide
the selection if it is of type spellcheck.

sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@170803 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 22:58:10 +00:00
roc+%cs.cmu.edu
e6d641f6aa Bug 236996. Underline IME preedit text on Mac. Patch by waverider, r=masayuki, sr=roc
git-svn-id: svn://10.0.0.236/trunk@170018 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 23:39:26 +00:00
scott%scott-macgregor.org
48f07cde0c Bug #278312 --> layout and selection changes to support inline spell checking for Thunderbird
Includes changes to draw spell check selection as a red dotted line instead of a solid underline.

r/sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@168554 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 17:57:35 +00:00
jshin%mailaps.org
082ef42cc3 bug 275672 : Right-most character (that means end of line) should not have extra space for justification patch by masayuki@d-toybox.com, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167680 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 19:21:18 +00:00
cbiesinger%web.de
a8dbace73d 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
cbiesinger%web.de
b732fc23d7 bug 36322 patch by Masayuki Nakano <masayuki@d-toybox.com> r+sr=roc
Japanese text justification


git-svn-id: svn://10.0.0.236/trunk@166627 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-12 16:14:43 +00:00
jshin%mailaps.org
44363fac1b get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry)
git-svn-id: svn://10.0.0.236/trunk@165496 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:32:28 +00:00
jshin%mailaps.org
e9432dbeae bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc)
git-svn-id: svn://10.0.0.236/trunk@165494 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:21:12 +00:00
rbs%maths.uq.edu.au
64635379a7 Beautify ::first-letter by using MathML's GetBoundingMetrics, b=21616, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165418 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-17 04:12:02 +00:00
rbs%maths.uq.edu.au
f2ee68ca0b Crash due to buffer overrun on malformed URL with soft-hyphen characters, b=267669, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@165411 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 22:43:06 +00:00
roc+%cs.cmu.edu
05b0dbe26a Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in.
git-svn-id: svn://10.0.0.236/trunk@165364 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
7f490d3aac Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp)
git-svn-id: svn://10.0.0.236/trunk@165349 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-14 20:22:58 +00:00
smontagu%smontagu.org
d4954c0fc8 Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165260 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 17:48:09 +00:00
bzbarsky%mit.edu
0ff1d2bd76 Mask out temporary bits from the frame state to reduce regression test noise.
Bug 265552, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164277 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:23:40 +00:00
rbs%maths.uq.edu.au
c54256c90a Improves linebreak behavior at inter-tag boundaries, patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@164020 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 07:12:55 +00:00
kyle.yuan%sun.com
35d4dce39e Bug 256252 ctrl+right arrow sometimes skip a word
r/sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@163464 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 06:14:44 +00:00
jshin%mailaps.org
bef3a84c34 bug 263411 : :first-letter pseudo-element doesn't include all punctuation marks in the Unicode (r/sr=dbaron)
git-svn-id: svn://10.0.0.236/trunk@163407 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 05:00:53 +00:00
kyle.yuan%sun.com
27ce42a23d Bug 237228 pref "layout.word_select.eat_space_to_next_word" can't be set by user in the profile's prefs.js
r=dbaron, sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@162576 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:25:08 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
ffa6c10070 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
git-svn-id: svn://10.0.0.236/trunk@161569 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 05:16:00 +00:00
bryner%brianryner.com
43628f9edf More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
bryner%brianryner.com
ff2bc0b69e Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
blizzard%redhat.com
84b6f8a55f Bug #255405. BinarySearchForPosition can generate invalid unicode for text measurement. Make sure to not send half of a surrogate pair down to the font layer. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161001 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 15:31:30 +00:00
bzbarsky%mit.edu
2dd2feb161 Trying to fix Tp regression. More of bug 254378, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160625 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 21:25:48 +00:00
bzbarsky%mit.edu
77bea95a75 Cache the IsEmpty() state in the framestate so we don't have to do quite as
much style-getting and QIing.  Bug 254378, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@160616 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 19:09:49 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
526c59be60 Bug 171366. Support tabindex for all elements. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@158815 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 00:58:57 +00:00
pkw%us.ibm.com
684992284a Bug 248216 - Mismatched new[]/delete in nsTextFrame.cpp.
r/sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@158362 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 16:38:38 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
smontagu%smontagu.org
d1a1c12261 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@157214 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 06:20:16 +00:00
bzbarsky%mit.edu
3fec1446b8 Remove unnecessary memsets. Bug 244876, patch by Rene Pronk
<r.pronk@its.tudelft.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@157175 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 16:38:47 +00:00
bryner%brianryner.com
1f6e6de205 Reduce the amount of style data we fetch in nsTextFrame::Reflow. Bug 244651, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@156931 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-25 18:29:04 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
neil%parkwaycc.co.uk
3729473a44 Bug 142120 Ctrl+Right Arrow in space-only mode should not stop again after crossing spaces p=vdvo@vdvo.net r=roc sr=jst hopefully also fixing bug 236172
git-svn-id: svn://10.0.0.236/trunk@155120 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-19 15:33:33 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
2359d2f7c4 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00