4390 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
173a1877ef Bug 345071. Fix PrepareUnicodeText to handle words in the current textnode that extend past the end of the frame. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@207534 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 01:57:06 +00:00
dbaron%dbaron.org
2dd22ba512 Use SetMEWToActualWidth when we set the MEW to the actual width. b=331684 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207518 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 00:20:02 +00:00
uriber%gmail.com
c4edf79a42 In GetPrevNextBidiLevels, treat the "before <br>" case as if we were end-of-line. bug=330461 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@207306 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 11:25:57 +00:00
sayrer%gmail.com
95b0f24a09 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst
git-svn-id: svn://10.0.0.236/trunk@207207 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 04:46:43 +00:00
bzbarsky%mit.edu
f9b318c2e1 Pseudo-elements are not the root. Bug 334602, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@207203 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 02:14:39 +00:00
brettw%gmail.com
1ba371c6b6 Bug 346729 r+sr=bryner Table cell selection is broken (get multiple copies on paste)
git-svn-id: svn://10.0.0.236/trunk@207081 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 19:56:43 +00:00
uriber%gmail.com
bf3c2a0692 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 05:14:52 +00:00
uriber%gmail.com
743ba10d81 Attempt to fix bustage from bug 333883.
git-svn-id: svn://10.0.0.236/trunk@206716 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 11:24:57 +00:00
uriber%gmail.com
7ac86afda7 Refactored nsSelection::GetPrevNextBidiLevels to use GetFrameFromDirection; moved GetFrameFromDirection from nsFrame to nsIFrame and made it nonvirtual. bug=333883 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@206713 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 10:54:56 +00:00
uriber%gmail.com
a84d95cf24 Create bidi embedding only around inline containers (with a specified direction), not around inline replaced elements. bug=169139 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206709 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 07:40:28 +00:00
masayuki%d-toybox.com
3f887ada2c Bug 346417 RTL justify code is wrong in nsTextFrame r=smontagu, sr=roc
git-svn-id: svn://10.0.0.236/trunk@206705 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 06:27:57 +00:00
mats.palmgren%bredband.net
2912296601 Don't propagate the NS_BLOCK_FRAME_HAS_OUTSIDE_BULLET flag from a prev-in-flow. b=337412 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206658 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 03:27:00 +00:00
gavin%gavinsharp.com
3da5c71c49 Bug 338368: fix uninitialized variable used in nsTextFrame::PaintAsciiText, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206568 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 14:29:48 +00:00
Olli.Pettay%helsinki.fi
b0526fa99c Bug 336592, Fixing mistake in previous patch, PRUint32->PRInt32, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206548 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 07:35:35 +00:00
uriber%gmail.com
3bea28d295 Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@206546 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 05:40:57 +00:00
roc+%cs.cmu.edu
47bea9dfd5 Bug 346035. Force <stack> children to be full-fledged stacking contexts and put their display items in the Content display list. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@206519 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 21:39:39 +00:00
uriber%gmail.com
88493c286c Check for a null aNode in nsTypedSelection::ContainsNode and return immediately. bug=347036 r=brettw sr=bryner
git-svn-id: svn://10.0.0.236/trunk@206507 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 19:22:50 +00:00
uriber%gmail.com
17a6df652a Enable PeekOffset to find the visual beginning/end of a line, and use use it for bidi caret positioning. bug=302051 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@206472 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 06:24:11 +00:00
brettw%gmail.com
aa08b1de5b Bug 346185 r=uriber sr=bryner fixing one of two misspelled words in a line makes spellcheck underline disappear on both
git-svn-id: svn://10.0.0.236/trunk@206176 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 18:25:22 +00:00
smontagu%smontagu.org
f1c56eaa96 Bidi support for alternate text: reorder the text correctly, align text and icon to the right when direction is right-to-left, and create a bidi embedding when the alternate text is displayed inline. Bug 345954, r=uriber, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206117 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 07:08:45 +00:00
mats.palmgren%bredband.net
1860854e4c Don't make a frame on the overflow line list a sibling to a frame on the principal line list. b=344557 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206043 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 09:38:35 +00:00
martijn.martijn%gmail.com
b5df795a57 Bug 271442 - Flash element behaves weird if inside a floated element with overflow:auto, patch by Graham Sanderson, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@205097 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 22:59:05 +00:00
mats.palmgren%bredband.net
664b17d9de Removed a bogus assertion. b=345699 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@205039 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 09:18:27 +00:00
brettw%gmail.com
a73024d124 Bug 345099 r+sr=bryner Fix includes from main patch on this bug
git-svn-id: svn://10.0.0.236/trunk@204988 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 21:46:34 +00:00
brettw%gmail.com
abe6b7bd0b Fix bustage from bug 345099
git-svn-id: svn://10.0.0.236/trunk@204960 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 18:39:18 +00:00
brettw%gmail.com
1c955ae960 Bug 345099 r=uriber sr=bryner Sort ranges in selection for faster comparison.
git-svn-id: svn://10.0.0.236/trunk@204945 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 17:57:15 +00:00
gavin%gavinsharp.com
139628c2d8 Bug 342479: fix compiler warning @ nsFloatCacheList::RemoveAndReturnPrev in nsLineBox.cpp, patch by Ryan VanderMeulen <ryanvm@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@203532 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:57:42 +00:00
masayuki%d-toybox.com
ae6ef23476 b=255990 backing-out the previous patch, we should try to better fix.
git-svn-id: svn://10.0.0.236/trunk@203238 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 09:04:39 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
aaronleventhal%moonset.net
ac34f7235e Bug 334353. Duplicate insert/delete events. r=evan.yan, sr=roc
git-svn-id: svn://10.0.0.236/trunk@203071 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 01:56:54 +00:00
bzbarsky%mit.edu
928a391936 Return null from GetPluginInstance without throwing if there's just no plugin.
Bug 344830, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@203022 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 20:43:58 +00:00
uriber%gmail.com
fcb47a90e2 Simplify handling of the eSelectNoAmount case in nsFrame::PeekOffset. bug=344514 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@202305 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:32:58 +00:00
uriber%gmail.com
635bd815f7 Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@202304 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:28:38 +00:00
sharparrow1%yahoo.com
6a8fff97b1 Bug 334588: Choose font consistently for page headers/footers, and remove localized header font name and size. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@202147 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 16:07:28 +00:00
Olli.Pettay%helsinki.fi
e48f39f7cc Bug 343613, Make EventStateManager to use nsWeakFrame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@202126 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 07:55:51 +00:00
masayuki%d-toybox.com
b904b85115 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap, sr=roc
git-svn-id: svn://10.0.0.236/trunk@202122 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 04:57:05 +00:00
sharparrow1%yahoo.com
00bcbdd174 Bug 344583: misc cleanup. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@202118 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 03:02:37 +00:00
masayuki%d-toybox.com
ab2ce7918c b=255990 backing-out the patch, because DomToTextConversionTest failed
git-svn-id: svn://10.0.0.236/trunk@202089 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 21:04:25 +00:00
masayuki%d-toybox.com
1521304528 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap sr=roc
git-svn-id: svn://10.0.0.236/trunk@202083 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 20:25:46 +00:00
masayuki%d-toybox.com
5415d76271 b=255990 backing-out the patch, because DomToTextConversionTest failed
git-svn-id: svn://10.0.0.236/trunk@202064 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 19:41:39 +00:00
masayuki%d-toybox.com
88e6d23564 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all. the patch based on jshin's patch. r=jshin, sr=roc
git-svn-id: svn://10.0.0.236/trunk@202040 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 17:42:39 +00:00
uriber%gmail.com
c9e0cfc251 Use GetFrameForNodeOffset instead of GetPrimaryFrameFor when extending selection for doubleclick-drag. bug=344384 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@202004 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 09:08:56 +00:00
roc+%cs.cmu.edu
ba9ced449a Bug 342322. It's OK for mNext to be non-null when we remove an element. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@202001 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 08:15:31 +00:00
uriber%gmail.com
cc251423d1 Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201994 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 06:06:29 +00:00
aaronleventhal%moonset.net
ab684c50c1 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@201939 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 14:35:43 +00:00
aaronleventhal%moonset.net
ce424ecaee Bug 340667. New ATK: Expose <br>'s as \n character, combining before & after blocks of text together. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201937 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 13:51:50 +00:00
uriber%gmail.com
928f0ccda5 Always use the visual iterator when moving visually in a bidi page, even if the current line or adjacent lines are LTR. bug=309432 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@201927 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 11:22:18 +00:00
Olli.Pettay%helsinki.fi
4fecdff0a7 Bug 343457, Adding nsWeakFrame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201923 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 07:41:11 +00:00
uriber%gmail.com
8949cb7ef1 Bug 16203: double-click drag should do selection in "word-by-word" mode. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201921 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 07:07:36 +00:00
aaronleventhal%moonset.net
dd08577b50 Bug 342035. Create accessibles for all block level elements so that ATs can determine line spacing. r=ginn.chen, sr=neil, sr=roc
git-svn-id: svn://10.0.0.236/trunk@201907 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 22:14:09 +00:00