Simon Montagu
b2f7ab6325
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 19:52:21 +02:00
Ed Morley
ac38698654
Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange
2012-01-12 15:33:00 +00:00
Simon Montagu
d5512dd24e
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 16:29:20 +02:00
L. David Baron
128e6b425f
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron
54afd7de9b
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-23 18:48:23 -08:00
Simon Montagu
41261a32d5
Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc
2011-10-18 14:51:58 +02:00
Ehsan Akhgari
1deb9f1504
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
ac54b41b01
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Vitor Menezes
b750758610
Bug 223764: Inlines inside inlines that draw text-decorations shouldn't alter the baseline. (r=dbaron)
...
We add a baseline field to nsInlineFrame and modify
nsLineLayout::BeginSpan to take a pointer to a baseline to update. This
also means that nsFirstLetterFrame no longer needs to update its own
baseline, and instead should just pass its own field along.
2011-08-03 11:30:58 -07:00
L. David Baron
c955f66f0b
Make nsLineLayout track two separate overflow areas. (Bug 542595, patch 7) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:45 -07:00
Boris Zbarsky
58c7bdfda5
Bug 580167 part 3. Make nsLineLayout call ReflowText as needed. r=dbaron
2010-08-25 14:54:47 -04:00
L. David Baron
b4287c6cd9
In a constrained height situation, we need to reflow anything with floats. (Bug 563584, patch 25) Fixes assertion on layout/generic/crashtests/408883-1.html . r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
6aaed7c6a6
Remove aReflowStatus parameters made unnecessary by previous patch. (Bug 563584, patch 20) r=roc
2010-08-05 21:59:20 -07:00
Robert O'Callahan
b5fd2bc1e7
Bug 549184. Track 'has nonempty content been placed on this line yet' separately from 'has nonempty, non-span content been placed on this line yet'. r=dbaron
...
--HG--
extra : rebase_source : fe9318ed5143fe42107a55dfdcb6c0c8fee3dae6
2010-03-10 13:14:14 +13:00
Robert O'Callahan
5412af306a
Bug 523468. Make sure we reflow the next line when content is pushed or pulled from an inline frame. r=dbaron
2009-10-27 14:43:56 +13:00
Robert O'Callahan
9f47c6f07b
Backed out changeset 9f5177a978ac
2009-10-27 21:46:18 +13:00
Robert O'Callahan
f37b92e467
Bug 523468. Force next line to be reflowed whenever we push or pull children from an inline frame. r=dbaron
2009-10-27 14:43:56 +13:00
fantasai
609baa9a48
Bug 492627 - Remove Placeholder Continuations [Part V: Reimplement float splitting without placeholder continuations] r=roc
2009-08-31 11:25:36 -07:00
fantasai
d78db610d2
Bug 492627 - Remove Placeholder Continuations [Part IV: Switch float layout APIs to pass float directly, without placeholder] r=roc
2009-08-31 11:25:35 -07:00
L. David Baron
cb02cd38ee
Make the quirks mode line height algorithm's check for bullets check whether there's a bullet rather than checking whether it's an HTML LI. (Bug 179596) r=roc
2009-08-10 19:48:42 -07:00
L. David Baron
7183372a99
Merge InitFloat into AddFloat (on nsLineLayout and nsBlockReflowState). (Bug 25888) r+sr=roc
2009-05-20 07:21:34 -04:00
Arpad Borsos
65006dab3a
Bug 492937 - kill nsLineLayout::mPlacedFloats and related code; r+sr=roc
2009-05-14 11:31:35 +02:00
Arpad Borsos
1b90a2a7a4
Bug 492510 - Optimize nsLineLayout for memory usage; r+sr=roc
2009-05-12 10:53:06 +02:00
Jonathan Kew
19239898d3
Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc
2009-04-06 12:31:50 +12:00
Masayuki Nakano
75bb63fc02
Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc
2009-04-03 16:26:28 +09:00
L. David Baron
6b33bfc742
Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky
2009-02-19 13:55:48 -08:00
L. David Baron
77c163c9a9
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
86ede9566c
Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
0e185f2bc0
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
08d1414fa2
Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky
2009-02-18 17:13:25 -08:00
Robert O'Callahan
aecc41d780
Bug 429968. Handle situations where first-letter text detects first-letter style should not be applied, by creating a zero-length 'first letter'. r+sr=dbaron
...
--HG--
extra : rebase_source : 650611aec3adb1498dc5d8d6d38212ddf09e32fc
2009-01-05 13:36:56 +13:00
L. David Baron
53ac2c7d8b
Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc
2009-01-04 19:39:54 -05:00
Robert O'Callahan
d90d151b91
Bug 431341. Include floating first-letter text when we build textruns for a paragraph, because we want nsLineBreaker to see the text for capitalization analysis. Make sure that textrun construction for floating first-letter text uses the block as its scope. And make sure we reconstruct textruns after determining the first-letter length, so that ligatures are broken as necessary. r=smontagu
2008-07-29 22:11:26 -07:00
Simon Montagu
bea0dc035f
Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc
2008-07-24 10:16:18 +03:00
Mats Palmgren
81eeeade44
Take left border+padding into account when calculating distance from block edge for TAB. b=430926 r+sr=roc
2008-06-20 06:39:56 +02:00
Robert O'Callahan
849b8d073a
Bug 439004. Check whether there's logically empty content already placed on the line instead of just checking whether the line has advanced horizontally. r+sr=dbaron.
2008-06-14 20:28:07 +12:00
Robert O'Callahan
b85deb2cf9
Allow floats to be placed on the current line even after nonzero-width inline content has been placed. Fixes an Acid3 layout bug. r+sr=dbaron
2008-06-11 11:53:22 +12:00
masayuki@d-toybox.com
1ba248b82a
Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron
2008-02-16 07:31:27 -08:00
roc+@cs.cmu.edu
af040703bd
Bug 400813. Text with font-size:0 should not make a line be treated as empty. r+sr=dbaron
2008-02-14 01:08:33 -08:00
roc+@cs.cmu.edu
6bf3ea28aa
backing out bug 400813 again due to reftest failure...
2008-02-11 18:48:17 -08:00
roc+@cs.cmu.edu
d97d015ba9
Bug 400813. Lines with font-size:0 content should not be treated as empty. r+sr=dbaron
2008-02-11 17:42:14 -08:00
roc+@cs.cmu.edu
16f09c0914
Backing out 400813, sigh
2008-01-29 23:35:05 -08:00
roc+@cs.cmu.edu
cea3b4cad4
Bug 400813. Lines with actual content that just happens to be zero-width should be treated as non-empty. r+sr=dbaron
2008-01-29 23:12:26 -08:00
dbaron@dbaron.org
4e4a8c74e4
Remove unused height output from nsLineLayout::EndSpan. b=407086 r+sr=roc a=dsicore
2007-12-12 13:51:18 -08:00
roc+@cs.cmu.edu
22756550ec
Bug 407111. Correctly set whether a break opportunity after non-text content fits. r+sr=dbaron,a=schrep
2007-12-07 01:17:19 -08:00
dmose@mozilla.org
a6fdd0495b
Backing out fix for bug 392785 as per roc + mconnor.
2007-12-04 15:32:08 -08:00
masayuki@d-toybox.com
750db70c19
Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron
2007-12-02 22:51:57 -08:00
roc+@cs.cmu.edu
b7e13a0e43
Bug 393096. Allow an element containing breakable whitespace to introduce a break opportunity no matter what the context. Also cleans up some trimming stuff and adds comprehensive whitespace breaking and trimming reftests. r+sr=dbaron
2007-10-20 00:30:26 -07:00
tglek@mozilla.com
4cbdc93612
Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
2007-10-09 17:00:05 -07:00
roc+@cs.cmu.edu
22e433ebeb
Bug 392829. Clean up nsLineLayout code that's not used (or at least used differently). r+sr+a=dbaron
2007-10-01 19:36:26 -07:00