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
dbaron%dbaron.org
03a83ad9f2
Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
7c49bd8a89
Resolve the right (parentless) style context for a table as a document root,
...
and fix the assertion when adjusting parent style context frames to not trigger
in non-scrollable documents. Bug 378693, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225066 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:26:25 +00:00
bzbarsky%mit.edu
9e024d5262
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
git-svn-id: svn://10.0.0.236/trunk@224565 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 05:55:42 +00:00
bzbarsky%mit.edu
03efa866b7
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
git-svn-id: svn://10.0.0.236/trunk@224561 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 23:14:27 +00:00
uriber%gmail.com
f80aaa1f70
Test for null parent content, rather than null parent frame, to avoid possible crash in FindBlockFrameOrBR(). bug=370174 r=sharparrow1 sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@224532 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-14 16:34:12 +00:00
roc+%cs.cmu.edu
63377a1ac7
Bug 370439 (sort of). GetAbsPosClipRect needs to take the new frame size as a parameter, because the current frame size may be invalid when we are called by FinishAndStoreOverflow. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224391 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 05:04:10 +00:00
bzbarsky%mit.edu
30cf9c1c2a
Make non-blockframe kids of xul not have to end up with a zero height. Bug
...
374038, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@223975 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-01 15:15:17 +00:00
bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
sharparrow1%yahoo.com
a69da9db3f
Bug 372062: Auto values for right and bottom in CSS clip rect broken. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@222576 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 01:31:26 +00:00
sharparrow1%yahoo.com
783659454a
Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@222445 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:58:17 +00:00