770 Commits

Author SHA1 Message Date
fantasai.cvs%inkedblade.net
faf43a02d0 handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc
git-svn-id: svn://10.0.0.236/trunk@244135 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 08:13:21 +00:00
dwitte%stanford.edu
17637c1a37 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@242851 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 20:56:50 +00:00
vladimir%pobox.com
7525088701 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
roc+%cs.cmu.edu
93254e36f5 Bug 405380. Bidi reordering moves frames around so we can't trust pfd->mBounds in nsLineLayout::RelativePositionFrames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240881 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 00:42:20 +00:00
roc+%cs.cmu.edu
967008ce95 Bug 407155. Backing out 392809 to fix regressions. a=schrep
git-svn-id: svn://10.0.0.236/trunk@240603 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 09:35:45 +00:00
roc+%cs.cmu.edu
da23161809 Bug 392809. Break between whitespace and following punctuation even when stop_at_punctuation is false. Don't stop between punctuation and following non-punctuatino if the preceding punctuation follows white-space. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@240480 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:11:17 +00:00
roc+%cs.cmu.edu
c0a6fa787e Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240211 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 09:24:25 +00:00
Olli.Pettay%helsinki.fi
e60089b398 Bug 368760, r=mats, sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239843 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 20:47:35 +00:00
jwatt%jwatt.org
96b895330a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@239599 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 12:09:09 +00:00
dholbert%cs.stanford.edu
a64bae2eaf Bug 398181: Use NSCoordSaturatingAdd/Subtract in 3 places where we might have
unconstrained heights.  r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@239069 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 17:16:36 +00:00
reed%reedloden.com
fa6b15d097 Bug 391584 - Pass around a context string so we can detect word breaks at the beginning or end of frames [p=roc r=smontagu a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238953 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:33:28 +00:00
dholbert%cs.stanford.edu
9a4ba52ae3 Bug 398215 - Add RTL case for handling overflow width in BoxReflow. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@238901 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 11:18:30 +00:00
dholbert%cs.stanford.edu
a5783ae5f6 Bug 385823 - Let us call NotifyPercentHeight even when computed height is already set, because it'll be set on imageFrames. r+sr=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@238602 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 22:47:29 +00:00
dholbert%cs.stanford.edu
723ad12919 Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's.
r=bzbarsky, r+a=roc


git-svn-id: svn://10.0.0.236/trunk@237923 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 17:41:29 +00:00
roc+%cs.cmu.edu
151722d42f Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@237645 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 08:30:55 +00:00
tglek%mozilla.com
1b2f5bc689 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237496 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 00:00:06 +00:00
fantasai.cvs%inkedblade.net
3a00ff8d0e paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237057 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:57:46 +00:00
joshmoz%gmail.com
7fbad72616 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237027 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 23:20:38 +00:00
reed%reedloden.com
fd4215a28b Bug 393979 - "Remove orphaned comment in nsFrame::BoxReflow" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@236762 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 16:44:24 +00:00
roc+%cs.cmu.edu
a99d29a1d9 Bug 368445. Make ApplyOverflowClipping compute the right padding-rect when native themes override the border. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@236625 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 00:47:05 +00:00
dholbert%cs.stanford.edu
665a4e2bad Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc
git-svn-id: svn://10.0.0.236/trunk@236556 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 17:30:43 +00:00
bzbarsky%mit.edu
36af99ea83 Fix content leak due to double-init of oveflow placeholders. Bug 397011,
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@236483 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 01:24:41 +00:00
Olli.Pettay%helsinki.fi
81587d6b25 Bug 395725, Crash [@ nsIFrame::GetFrameSelection], r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236044 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 19:48:20 +00:00
enndeakin%sympatico.ca
9e45433d86 Bug 387486, editor in grid overflows, r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236030 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 15:14:27 +00:00
martijn.martijn%gmail.com
4750e39848 Bug 257938 – Should css scrollable areas without scrollbars be tabbable?, patch by Aaron Leventhal, r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233840 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 12:14:52 +00:00
roc+%cs.cmu.edu
3f11928d52 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.
git-svn-id: svn://10.0.0.236/trunk@233374 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 03:10:19 +00:00
smontagu%smontagu.org
8c50871b76 Null check after CheckLineOrder. Bug 388175, patch by Uri Bernstein <uriber@gmail.com>, r=me, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233296 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 07:22:42 +00:00
mozilla%weilbacher.org
fa3f2e9691 Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232993 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 00:13:44 +00:00
philringnalda%gmail.com
a10e4df6c0 Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@232249 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 03:43:01 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
roc+%cs.cmu.edu
cb8c6e3a11 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
jwalden%mit.edu
3f7e80ca28 Rename one of the bits on frames with a meaningful name, rs/r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@230405 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 00:34:36 +00:00
roc+%cs.cmu.edu
2ffe0a55c7 Bug 328296. Make outlines appeare below positioned elements instead of above them. r+sr=Mats Palmgren
git-svn-id: svn://10.0.0.236/trunk@230262 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 03:50:24 +00:00
bzbarsky%mit.edu
4ce095f583 When reparenting placeholders to live under a first-line, don't change their
style context parent.  Bug 380012, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@230165 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 02:01:32 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
jruderman%hmc.edu
8169ada629 Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@229493 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 23:53:00 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
roc+%cs.cmu.edu
02c47d48da Bug 386548. Remove nsTextTransformer. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@229199 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 23:37:00 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
dbaron%dbaron.org
cd6e9c2d37 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228548 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:33:10 +00:00
dbaron%dbaron.org
5d738bf573 Back out patch to make mousethrough attribute apply to all elements. b=380094 a=roc
git-svn-id: svn://10.0.0.236/trunk@228273 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:22:46 +00:00
dbaron%dbaron.org
875b2f29f1 Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227882 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:27:28 +00:00
sharparrow1%yahoo.com
1e238506ce Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226705 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 10:06:08 +00:00
asqueella%gmail.com
3ec52d9b96 Bug 380094 - make mousethrough more generally useful
p=toshok@hungry.com
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@226352 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 16:00:00 +00:00
dbaron%dbaron.org
80e25fa18a Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226289 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:01:31 +00:00
bzbarsky%mit.edu
2679c6fe46 Fix determination of the style context parent for the inner table frame of a
root table.  Bug 379386, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@226104 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 03:59:12 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
33b3f60e43 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:09:50 +00:00