Cameron McCormack
b56961cf4a
Bug 1057921 - Don't propagate text decorations through outer <svg> elements. r=dholbert
2015-07-15 14:41:06 +10:00
Tim Taubert
59b839ab05
Bug 834830 - Add nsISelectionController.SELECTION_URLSTRIKEOUT to enable striking out parts of the URL in the URL bar r=roc
2015-07-08 15:45:21 +02:00
Daniel Holbert
4bdbe39881
Bug 1177925: Use range-based "for" loops for nsFrameList iteration, in various places in layout. r=tn
2015-06-29 13:02:21 -07:00
Masayuki Nakano
f990bbff4a
Bug 1175789 Draw underline as overline when it's in vertical writing mode and the language is Japanese or Korean r=dbaron
2015-06-24 09:35:04 +09:00
Ted Clancy
9d5e0bd7ce
Bug 1164693 - part 3: Exclude optimizations that don't apply to preformatted paragraphs. r=smontagu
2015-06-20 08:52:34 -07:00
Ted Clancy
36622e769e
Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu
2015-06-01 15:19:57 -04:00
Birunthan Mohanathas
9ab5ae052a
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj
2015-05-28 11:07:43 -07:00
Xidorn Quan
8016bfddd7
Bug 1149009 - Suppress line break inside text frame if it is directly contained by ruby content box. r=dbaron
2015-05-04 09:52:53 +12:00
Jonathan Kew
4beb813535
Bug 1157951 patch 2 - Make nsCharClipDisplayItem aware of vertical writing modes. r=roc
2015-04-29 08:18:53 +01:00
Jonathan Kew
f0061d09b7
Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc
2015-04-29 08:18:53 +01:00
Jonathan Kew
5a9ed011eb
Bug 1155261 - Fix computation of glyph extents and text-frame visual overflow for vertical text frames. r=smontagu
2015-04-27 09:45:55 +01:00
Jonathan Kew
bc062933ab
Bug 1154227 - Fix the painting of text-shadow in vertical writing modes. r=smontagu
2015-04-27 09:35:59 +01:00
Xidorn Quan
8e22939edd
Bug 1117227 part 3 - Make nsTextFrame::MeasureCharClippedText use frame isize instead of width. r=roc
2015-04-24 10:15:32 +12:00
Xidorn Quan
90dfb0da52
Bug 1153634 - Weaken the assertion condition to make it match the condition before. r=roc
2015-04-14 09:11:28 +12:00
Jonathan Kew
9e51879779
Bug 1146754 - Show selection highlighting for trailing space. r=mats
2015-04-01 14:45:16 +01:00
Mike Hommey
338d086ead
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Mats Palmgren
3f92be8fe8
Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc
2015-03-29 22:38:40 +00:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Xidorn Quan
4f72ca2f6c
Bug 1143558 part 2 - Convert suppressed line break to whitespace. r=roc
2015-03-17 19:10:15 +11:00
Xidorn Quan
9b1b278564
Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc
2015-03-17 19:10:15 +11:00
Xidorn Quan
d59168f5f4
Bug 1141842 - Add LastOptionalBreakPriority to nsLineLayout to simplify some code. r=roc
2015-03-11 14:14:48 +11:00
Xidorn Quan
63683132d2
Bug 1140264 part 3 - Rename IsInlineDescendantOfRuby to ShouldSuppressLineBreak and exclude rbc/rtc from it. r=dbaron
2015-03-11 10:28:21 +11:00
L. David Baron
c931aea4b1
Bug 1140486 patch 2 - Make nsTextFrame::UpdateOverflow include the visual overflow from the text metrics by calling existing RecomputeOverflow. r=jfkthame
...
UpdateOverflow and RecomputeOverflow need to remain two separate
functions since RecomputeOverflow is called from line layout, prior to
setting the overflow areas, whereas UpdateOverflow needs to reset the
overflow areas and (via its return value) propagate the change to
ancestors. However, they should share more code than they do today.
The only substantive (non-error-handling) change this is making is that
it's adding the MeasureText call, manipulation of the resulting
boundingBox, and inclusion of that bounding box in the visual overflow.
This is exactly the change that I'm trying to make in this bug.
It's also changing the error handling if EnsureTextRun returns null, but
I don't think we need to worry about that case much.
2015-03-07 12:27:36 -08:00
L. David Baron
4757323b8f
Bug 1140486 patch 1 - Pass block frame instead of block reflow state to nsTextFrame::RecomputeOverflow. r=jfkthame
...
This allows calling it from UpdateOverflow in patch 2.
2015-03-07 12:27:36 -08:00
Andrea Marchesini
40ecc85b89
Bug 1134280 - Get rid of Tag() - patch 2.7 - layout/generic - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
6b10d5e43e
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Mats Palmgren
4fbfa7bcb1
Bug 1134531 - Remove nsTextFrame::DidSetStyleContext which only contained a (now obsolete) wallpaper. r=heycam
2015-02-24 18:35:30 +00:00
Kartikaya Gupta
07039921ee
Bug 990907 - Have DLBI pick up changes in the char-clip on text frames. r=mstange,mattwoodrow
2015-02-25 09:32:28 -05:00
Jonathan Watt
77e18f01bd
Bug 1135913, part 4 - Unify SVGTextFrame's NotifyBeforeSelectionDecorationLine and NotifySelectionDecorationLinePathEmitted callbacks. r=heycam
2015-02-04 13:51:22 +00:00
Jonathan Watt
39a2f4feb2
Bug 1135913, part 3 - Unify SVGTextFrame's NotifyBeforeDecorationLine and NotifyDecorationLinePathEmitted callbacks. r=heycam
2015-02-03 20:00:18 +00:00
Jonathan Watt
a8b9bbbfed
Bug 1135913, part 2 - Separately handle non-selected and selected text. r=heycam
2015-02-03 19:36:15 +00:00
Jonathan Watt
88f6fa366d
Bug 1135913, part 1 - Simplify nsCSSRendering::DecorationLineToPath to not require a context. r=heycam
2015-02-03 14:34:14 +00:00
Xidorn Quan
c2f14cf018
Bug 1135432 - Suppress line break after text run which ends in ruby. r=jfkthame
2015-02-23 08:55:04 +11:00
Xidorn Quan
a6f3c178d3
Bug 1133697 part 2 - Scan ruby texts instead of their container for building text run. r=roc
2015-02-18 17:20:02 +13:00
Xidorn Quan
61c8cd1d51
Bug 1133697 part 1 - Remove aForFrame check in BuildTextRuns. r=roc
...
The only caller of BuildTextRuns passes |this| as |aForFrame|, which must
never be nullptr, hence it's safe to remove the checks there.
2015-02-18 17:20:02 +13:00
Jonathan Kew
f92871ef03
Bug 1117210 - Snap text baselines to device pixels in vertical writing modes. r=smontagu
2015-02-11 10:59:06 +00:00
Carsten "Tomcat" Book
498863575e
Backed out changeset df2290db92d0 (bug 1117210) for breaking m5 tests on a CLOSED TREE
2015-02-11 11:28:19 +01:00
Jonathan Kew
e7647bda80
Bug 1117210 - Snap text baselines to device pixels in vertical writing modes. r=smontagu
2015-02-11 08:44:34 +00:00
Xidorn Quan
68f7b6b4cb
Bug 1089431 part 1 - Skip ruby text containers when building text runs. r=roc
2015-02-11 10:26:56 +11:00
Cameron McCormack
3677bbe1e6
Bug 1067755 - Store relevant style data rather than style context pointers on transformed text runs. r=jdaggett
2015-02-10 21:30:25 +11:00
Carsten "Tomcat" Book
e960b59110
Backed out changeset cab2c930fa02 (bug 1067755) for static analysis build bustage
2015-02-10 11:15:33 +01:00
Cameron McCormack
e70e377e33
Bug 1067755 - Store relevant style data rather than style context pointers on transformed text runs. r=jdaggett
2015-02-10 20:35:59 +11:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Seth Fowler
72fb0505de
Bug 1128356 - Add template functions for common frame property destructors. r=dbaron
2015-02-04 15:22:27 -08:00
Jonathan Kew
0e6573dd2a
Bug 1128190 - Always use a mask to render shadows for color glyphs, regardless of blur radius. r=roc
2015-02-02 09:19:28 +00:00
Jonathan Watt
0d0ce5c404
Bug 1127114, part 2 - Unify SVGTextFrame's NotifyBeforeSelectionBackground and NotifySelectionBackgroundPathEmitted callbacks. r=heycam
2015-01-27 16:32:24 +00:00
Jonathan Watt
126c1ea366
Bug 1127114, part 1 - Use typed rects for PaintSelectionBackground's arguments since the units are unexpected. r=heycam
2015-01-27 16:32:20 +00:00
Mats Palmgren
ee102e519c
Bug 1099110 - Add a runtime check before the downcast in BreakSink::SetCapitalization. r=jfkthame
2015-01-24 12:35:12 -05:00