Commit Graph

4119 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
b71aeaea93 Improve detection of blocks with first-letter style, so that we're always in a
consistent state. This includes the relevant part of bug 257868, all of bug
367650, bug 362901 (bug 372550 in the CVS comments on trunk), bug 379383, bug
379799, and the notation in bug 362901's status whiteboard.  r+sr=dbaron,
a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@232866 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 17:31:26 +00:00
bzbarsky%mit.edu
d1a195a25b Put in a check for the dummy option anonymous box, since we actually want text to inherit from it. Bug 382600, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229258 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 18:12:11 +00:00
roc+%cs.cmu.edu
0218b8f665 Bug 368863. Reparent floats when their placeholders are pulled through inlines. r+sr=dbaron,a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229215 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 03:02:59 +00:00
Olli.Pettay%helsinki.fi
f082a8039f Bug 375093, Crash [@ nsTypedSelection::ScrollIntoView] when right-clicking paste in input which then gets destroyed oninput, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@228700 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 18:31:51 +00:00
bzbarsky%mit.edu
fbb24a987e The parent style context frame determination for an inner table should use the inner table's pseudo, not the outer table's. Bug 377603, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224920 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 02:36:04 +00:00
bzbarsky%mit.edu
59d2dd7867 Change the way we determine the style context parent frame to skip css anon boxes unless we're determining the style context parent for something that is itself a css anon box (and is not a non-element frame). Fixes bug 323656 (which is where the patch is), bug 85872, bug 280610. As far as I can tell,also fixes bug 317876, bug 372376, bug 374297. r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224918 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 02:28:08 +00:00
Olli.Pettay%helsinki.fi
517873add8 Bug 336574, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224751 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-19 18:12:35 +00:00
Olli.Pettay%helsinki.fi
9dbe49d050 additional patch for Bug 369150, r+sr=bz, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224462 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 19:27:18 +00:00
Olli.Pettay%helsinki.fi
ff3f5e47af Bug 375196, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@222608 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 21:36:39 +00:00
mrbkap%gmail.com
83492523e2 nsDocument::Destroy can cause our content to not have a document anymore, so look before dereferencing it. bug 282933, r=biesi sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@222598 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 18:28:48 +00:00
Olli.Pettay%helsinki.fi
ac0a743f7d Bug 369150, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@222535 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-28 09:14:34 +00:00
roc+%cs.cmu.edu
7c589f32e7 Bug 357736. Return the document widget as the plugin widget for windowless plugins, even when there's another enclosing widget, if the enclosing widget's origin is (0,0) with respect to the document, because it won't mess up coordinate systems in that case and avoids a Flash focus issue. Patch by Graham Sanderson, r+sr=roc, a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217622 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 19:47:39 +00:00
roc+%cs.cmu.edu
5feb24016e Bug 363813. Don't assume that just because the first frame in the overflow list has the right parent, all the frames in the list do. r+sr=dbaron,a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217619 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 19:40:26 +00:00
roc+%cs.cmu.edu
4d53434f08 Bug 359393. Report correct target for scroll events targeted at elements. r=Olli.Pettay,sr=mats,a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217617 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 19:32:25 +00:00
roc+%cs.cmu.edu
1c0ec946ec Bug 359371. Handle reflows where we switch from constrained height to unconstrained, without losing frames. r+sr=dbaron,a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217315 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 21:50:09 +00:00
bzbarsky%mit.edu
cb6502e668 Make ReconstructDocElementHierarchy work correctly even if we first blew away a pseudo which had the root as its content. Bug 343293, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217178 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:42:12 +00:00
roc+%cs.cmu.edu
a2c37dc7d3 Fixing bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@216018 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 22:23:11 +00:00
roc+%cs.cmu.edu
3bafed58d3 Bug 312963. Honor aTryPull when reflowing inline frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@216015 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 22:12:57 +00:00
roc+%cs.cmu.edu
c362499727 Bug 312963. Don't put new frames on the same line as continuation placeholders. r+sr=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@216012 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 21:55:06 +00:00
mats.palmgren%bredband.net
202f2be0b1 Remove an optimisation that prevented views from being reparented in some situations. b=351225 r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@215988 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 18:54:33 +00:00
roc+%cs.cmu.edu
e7688b4cd5 Bug 354451. Fix broken uppercased ß due to previous security fix, by propagating the current frame's fragment length more carefully. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@215045 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 20:23:50 +00:00
Olli.Pettay%helsinki.fi
fc17b5e29d Bug 359203, r+sr=bz, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@214915 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 00:52:43 +00:00
smontagu%smontagu.org
be542fc776 When text is displayed from right to left natively, reverse the coordinates of selection decoration to match. Bug 349352, r=uriber, sr=bz, a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@210027 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 15:45:26 +00:00
sayrer%gmail.com
c77701af65 bug 348669. swap out nsCRT::free where necessary. r=timeless, sr=dbaron, a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209878 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 18:26:49 +00:00
mats.palmgren%bredband.net
cf4262764a Don't steal floats from descendant float containing blocks. b=348887 (patch B) r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209809 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 00:46:38 +00:00
mats.palmgren%bredband.net
7f95191a6c Don't iterate past the beginning line (crash fix). b=350370 r+sr=bzbarsky a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208908 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 16:57:49 +00:00
roc+%cs.cmu.edu
1175d9afc8 Bug 345071. Handle situations where nsTextTransformer::GetNextWord returns a word longer than the content mapped by this frame. r=smontagu,sr=rbs,a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208500 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-26 04:34:37 +00:00
mats.palmgren%bredband.net
e07aab8bbf Don't steal floats from descendant float containing blocks. b=348887 (Patch A) r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208464 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 21:47:08 +00:00
mats.palmgren%bredband.net
95457b48d4 Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208456 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 20:21:41 +00:00
mats.palmgren%bredband.net
2cc5037c44 Leave the placeholder's pointer to the out-of-flow intact because the float cache depends on it later on. b=348688 r=bzbarsky sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208282 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 04:16:01 +00:00
smontagu%smontagu.org
be56564f2a Only strip zero-width joiner and non-joiner control characters when we do our own Arabic shaping. Bug 280936, r=jshin, sr=rbs, a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208281 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 03:49:18 +00:00
dbaron%dbaron.org
ea740a9519 Use SetMEWToActualWidth when we set the MEW to the actual width. b=331684 r+sr=bzbarsky a=beltzner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207601 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 17:49:03 +00:00
sayrer%gmail.com
36dbd5ad6c Bug 340554. Sanitizing (x)html sinks. r=mrbkap, sr=jst, a=drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207585 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 14:12:25 +00:00
bzbarsky%mit.edu
d49ee0abbd Pseudo-elements are not the root. Bug 334602, r+sr=dbaron, a=dveditz for 1.8.0.7, a=beltzner for 1.8.1
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207401 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 01:06:37 +00:00
brettw%gmail.com
c11a5701de Bug 346729 r+sr=bryner a=beltzner Table cell selection is broken, copying & pasting gives two copies of content
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207397 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 00:14:20 +00:00
roc+%cs.cmu.edu
71833bdb29 Bug 271442. Make windowless plugins relative to the inner widget, fixing event targeting problems. r+sr=roc, patch by Graham Sanderson
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206782 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:20:29 +00:00
mats.palmgren%bredband.net
76b3994b2d 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 a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 04:18:56 +00:00
Olli.Pettay%helsinki.fi
2cd9dc5b24 Bug(s) 336592, (346431, 346964,) Crash when window gets destroyed during selection even, r+sr=roc, a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206610 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 18:52:05 +00:00
uriber%gmail.com
d042777c59 Check for a null aNode in nsTypedSelection::ContainsNode and return immediately. bug=347036 r=brettw sr=bryner a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206545 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 05:29:38 +00:00
brettw%gmail.com
50c89378a4 Bug 346185 r=uriber sr=bryner a=beltzner Underlining disappears on other words when one is corrected
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206398 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 15:54:39 +00:00
Olli.Pettay%helsinki.fi
8165095d84 Bug 343457 r+sr=roc, a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206118 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 07:55:48 +00:00
Olli.Pettay%helsinki.fi
c4f1f05845 bug 345600, Crash [@ nsTextInputListener::UpdateTextInputCommands] using onselect and removing textarea, r+sr=roc, a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206114 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 06:49:20 +00:00
brettw%gmail.com
56cb6af3e5 Bug 345099 r=uriber sr=bryner a=dbarin Sort ranges in selection for faster comparison.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205089 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 22:06:53 +00:00
mats.palmgren%bredband.net
4cff40bd22 Clear the float cache from placeholders that are descendants of the frame we remove. b=337883 r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205064 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 18:20:55 +00:00
mrbkap%gmail.com
c559deaf12 Checking in the required patches for bug 321299 (again). This is the combined work of sicking, jst, and myself, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205017 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 01:00:57 +00:00
mrbkap%gmail.com
d86e2e964f Backing this patch out to fix smoketest blockers.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203390 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 20:19:25 +00:00
mrbkap%gmail.com
783282fd69 Checking in the required patches for bug 321299. This is the combined work of sicking, jst, and myself, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203266 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 17:14:11 +00:00
bzbarsky%mit.edu
d768f9f333 Return null from GetPluginInstance without throwing if there's just no plugin.
Bug 344830, r=biesi, sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203222 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 03:23:00 +00:00
roc+%cs.cmu.edu
ae1e7c55bb Fixing bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202113 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 01:48:13 +00:00
roc+%cs.cmu.edu
be469f1a3b Bug 282173. Remove BuildFloatList. r+sr=dbaron,a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 01:16:18 +00:00