Mats Palmgren
32a0b16990
Bug 638937 - For text frames that are a child a floating first-letter frame, use the parent of the associated placeholder as the line-container to search. r=roc
2012-02-22 00:50:16 +01:00
Cameron McCormack
f76acb392e
Bug 724709 - Bring EnsureTextRun docs up to date. r=roc DONTBUILD
2012-02-07 10:37:08 +11:00
L. David Baron
f18119e87a
Honor inflation during intrinsic width computation when needed. (Bug 706609, patch 6) r=roc
...
This is the second of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
Mats Palmgren
498185f3f0
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
L. David Baron
af0ddba78e
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
93a3cc8415
Apply font size inflation to text. (Bug 627842, patch 9) r=roc
...
This applies the font size inflation to reflow and painting of text
frames. However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
L. David Baron
f1feb010c8
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-23 18:48:23 -08:00
Ehsan Akhgari
92064e6d3f
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
d2b70213ac
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
Jonathan Kew
ee56ede693
bug 686497 - avoid passing excessively long wavy-underline path to cairo for stroking. r=roc
2011-09-16 20:23:29 +01:00
Vitor Menezes
59b9ac988d
Bug 403524: Make quirks-mode text draw order comply with CSS 2.1
...
Quirks-mode code draws text, and then all decorations. We need to instead draw
underlines, then overlines, -then- text, then line-throughs, as per CSS 2.1.
This involves refactoring nsTextFrame::PaintTextDecorations and
nsTextFrame::DrawText by merging them together, and also updating some
of their callers.
2011-08-03 11:30:58 -07:00
Vitor Menezes
e915e08a19
Fix text-decoration positioning in quirks mode and set overflow areas to match. (Bug 403524) r=dbaron
...
Change the quirks mode text-decoration code (soon to be used for all
modes) to follow CSS 2.1's rules for positioning of decoration lines.
Decorations are now drawn at a constant vertical position established by
the element creating the decoration, and more than one of the same type
(underline, overline, line-through) of decoration are supported on the
same piece of text.
This means that text-decorations can now significantly overflow a text
frame, since the vertical-alignment of the element with text-decoration
may be substantially different from the vertical alignment of the text.
Set overflow areas for text frames with text decorations in
nsLineLayout::RelativePositionFrames since it must happen *after*
vertical alignment is done, and when relative positioning data are
consistent (nsIFrame::GetRelativeOffset matches the offset that has been
applied).
2011-08-03 11:30:58 -07:00
Mats Palmgren
9bb2d0e9ec
Bug 668919 - The ellipsis with text-overflow: ellipsis is sometimes one pixel too low. r=roc
2011-07-04 07:47:59 +02:00
Mats Palmgren
91a8b3dfd6
Bug 667653 - Make NS_FRAME_SELECTED_CONTENT on text frames less sticky. r=roc
2011-06-30 02:56:50 +02:00
Mats Palmgren
5b09fc8a8b
Bug 666669 - Restrict selection painting to the nsCharClipDisplayItem edges (same as for non-selected text). r=roc
2011-06-30 02:56:49 +02:00
Mats Palmgren
e757474795
Bug 312156 - Implement CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Masayuki Nakano
1adf21f3e7
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
Masayuki Nakano
f919596523
Bug 648299 -moz-text-decoration-style: -moz-none doesn't work r=dbaron
2011-04-23 14:13:09 +09:00
Jan Küchler
c510bc3046
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Masayuki Nakano
fcb9c01bf9
Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron
2011-03-31 21:27:03 +09:00
Simon Montagu
6f02bca0f9
Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc
2011-02-21 10:02:23 +02:00
Ehsan Akhgari
e9d07887b2
Bug 633044 - Special case empty text frames to position the caret at the correct position; r=roc a=blocking-final+
2011-02-15 01:11:18 -05:00
Jonathan Kew
e79e7e7398
bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc
2010-12-16 14:17:41 -08:00
Jonathan Kew
63186a7fc6
Backed out changeset 1958ebae93cc for causing mochitest orange. a=backout
2010-12-16 15:15:35 -08:00
Jonathan Kew
ff27ba6ff2
bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc
2010-12-16 14:17:41 -08:00
Ehsan Akhgari
db2d8e7cb6
Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+
2010-08-31 14:54:44 -04:00
Mats Palmgren
aca5d0605c
Bug 571995. r=roc a=blocking2.0:final
2010-10-15 06:03:33 +02:00
L. David Baron
24d9099920
Make overflow from text frames be visual overflow only, and not scrollable. (Bug 542595, patch 8) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:45 -07:00
Ehsan Akhgari
216a0f0f67
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : e9f3001867e7992513484b92993a5d6a222273f6
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
d84bc18024
Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211
2010-09-02 19:54:23 -04:00
Ehsan Akhgari
bb65502039
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : b66535705ec25cd4dca7378424b78cc3bef94e46
2010-08-13 18:58:26 -04:00
Boris Zbarsky
607cf078b1
Bug 580167 part 1. Create an nsTextFrame::ReflowText that doesn't need a reflow state. r=dbaron
2010-08-25 14:54:46 -04:00
Ehsan Akhgari
489e5fab3f
Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : 3bdd49e0e039c212b5faa8d12bcbdd785da267a4
2010-08-10 11:16:17 -04:00
Alexander Surkov
65c355c8a7
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
L. David Baron
e272b3a13d
Use macros for frame state so that it's easy to change the size and easier to read the constants. (Bug 570837) r=roc
2010-06-08 22:28:14 -07:00
Masayuki Nakano
f88647e545
Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc
2010-04-01 11:35:48 +09:00
Masayuki Nakano
37b847f135
Bug 554822 backout the previous patch
2010-04-01 02:31:06 +09:00
Masayuki Nakano
f1448bab60
Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc
2010-04-01 02:12:43 +09:00
fantasai
3027a2127b
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
Olli Pettay
423522c88b
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert O'Callahan
c41769107b
Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz
2009-10-19 01:01:40 -07:00
Michael Ventnor
e18537e820
Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc
2009-09-18 20:18:35 +02:00
Zack Weinberg
d47e0f433b
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Dão Gottwald
b978bfab72
Backed out changeset 1e6d52401dd2
2009-09-04 15:32:17 +02:00
Michael Ventnor
7ad8a95064
Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc
2009-09-04 14:24:26 +02:00
fantasai
87bc18b4e2
Bug 492627 - Remove Placeholder Continuations [Part III: Remove current float-splitting code.] r=roc
2009-08-31 11:25:35 -07:00
Robert O'Callahan
797febec23
Backed out changeset 77787eb64629
2009-08-05 17:33:17 +12:00
Robert O'Callahan
1e621e52ea
Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz
...
--HG--
extra : rebase_source : 0e294beea796a58b16273fbfb64d777a8f40e225
2009-08-05 14:38:52 +12:00
Robert O'Callahan
2496b1ab4e
Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
...
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Robert O'Callahan
8bab94a96a
Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
...
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00