L. David Baron
bd37fe09a6
Bug 718157 - Fix dynamic changes of percentage text-indent when the parent's size changes and the element's size does not. r=jfkthame
...
This code needs to move out of PrepareResizeReflow() (and things that
trigger code in it) because PrepareResizeReflow is conditioned on the
block itself resizing.
The reftest is based on a test by Jesse Ruderman <jruderman@gmail.com >.
The reftest fails without the patch and passes with the patch.
2015-02-11 22:43:05 +11:00
Simon Montagu
f9ca39cffa
Bug 1131013: when setting the position of inline frames in vertical writing modes with right-to-left direction, subtract the inline start from the container height to get the correct vertical position. r=jfkthame
2015-02-11 01:43:03 -08:00
Xidorn Quan
11ba09d7e1
Bug 1121684 - Move one-liners in nsLineLayout.cpp to the header. r=roc
2015-01-15 15:52:27 +11:00
Xidorn Quan
18a293b76d
Bug 1115262 - Fix position of ruby annotation when writing mode is vertical-rl. r=jfkthame
2015-01-13 20:04:41 +11:00
Xidorn Quan
0549a155fe
Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
2015-01-13 20:04:41 +11:00
Xidorn Quan
ddac03b9f3
Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron
2015-01-13 20:04:41 +11:00
Xidorn Quan
28553e1eb1
Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron
2015-01-13 20:04:41 +11:00
Xidorn Quan
36c59f69fd
Bug 1120313 - Fix nested ruby inside ruby annotation. r=dbaron
2015-01-13 15:14:46 +11:00
Nigel Babu
2492f633d1
Backed out 4 changesets (bug 1055658) for M5 bustage on a CLOSED TREE
...
Backed out changeset 3cbd9323c896 (bug 1055658)
Backed out changeset 99e071295c42 (bug 1055658)
Backed out changeset 55119d19e4c5 (bug 1055658)
Backed out changeset e82f640cb53f (bug 1055658)
2015-01-12 10:43:11 +05:30
Xidorn Quan
cdb8162daf
Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
2015-01-12 14:31:55 +11:00
Xidorn Quan
11018e292e
Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron
2015-01-12 14:31:55 +11:00
Xidorn Quan
d830976b63
Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron
2015-01-12 14:31:55 +11:00
Xidorn Quan
0f642d971e
Bug 1069519 part 2 - Make line height calculation be aware of ruby annotations. r=dholbert
2015-01-08 16:02:41 +11:00
Simon Montagu
aba410ebbb
Bug 1079154 patch 5: convert callers of ApplyRelativePosition, ReflowChild and FinishReflowChild in layout/generic to the logical versions, r=jfkthame
2015-01-06 23:10:07 -08:00
Xidorn Quan
084bf1de6a
Bug 1117597 - Sync bounds of ruby annotation containers. r=roc
2015-01-07 12:47:09 +11:00
Xidorn Quan
bc60219a63
Bug 1116635 - Fix interaction between ruby alignment and trimmed whitespace. r=roc
2015-01-07 12:47:09 +11:00
Xidorn Quan
6e53ba9ae1
Bug 1116037 part 11 - Add RubyReflowState for sharing states between ruby level boxes. r=dbaron
2014-12-30 11:16:30 +11:00
Xidorn Quan
6ed01ce159
Bug 1114792 - Rename nsStyleContext::IsDirectlyInsideRuby to IsInlineDescendantOfRuby. r=dbaron
2014-12-31 16:39:43 +11:00
Xidorn Quan
e5e1274201
Bug 1103832 - Initialize mLineIsEmpty and mLineAtStart of ruby annotations to false. r=dbaron
2014-12-10 15:57:14 +11:00
Xidorn Quan
10dbd31052
Bug 1055665 part 3 - Position ruby annotations and set the line size of them correctly. r=dholbert
2014-12-09 17:47:26 +11:00
Xidorn Quan
760bd8410a
Bug 1055665 part 2 - Make nsLineLayout::VerticalAlignLine not rely on line box. r=roc
2014-12-09 17:47:26 +11:00
Xidorn Quan
a611c6b3f9
Bug 1108429 part 8 - Implement default ruby alignment. r=roc
2014-12-15 10:33:59 +11:00
Xidorn Quan
dec478ae4a
Bug 1108429 part 7 - Modify jusitication computation to take ruby into account. r=roc
2014-12-15 10:19:38 +11:00
Xidorn Quan
d9e75049f5
Bug 1108429 part 6 - Record inner justification opportunities for each frame. r=roc
2014-12-15 09:57:36 +11:00
Xidorn Quan
d29aeb508d
Bug 1108429 part 5 - Enable justification computation when there is ruby. r=roc
2014-12-13 22:18:16 +11:00
Xidorn Quan
7ec54e8447
Bug 1108429 part 4 - Handle isize reservation in sync annotation rect. r=roc
2014-12-13 16:13:12 +11:00
Xidorn Quan
d66c397776
Bug 1108429 part 3 - Add flag to indicate the existance of ruby. r=roc
2014-12-13 11:48:30 +11:00
Xidorn Quan
08ab6bf9b0
Bug 1109937 - Change flags in PerFrameData to use bit fields. r=roc
2014-12-23 10:22:26 +11:00
Xidorn Quan
145528be65
Bug 1098272 part 1 - Suppress line breaks inside ruby boxes. r=dbaron,roc
2014-12-22 15:17:55 +11:00
Xidorn Quan
4fffd2815c
Bug 1039009 - Handle float in the base line layout. r=dbaron
2014-12-10 10:49:13 +11:00
Xidorn Quan
8c00730899
Bug 1081770 - Move ruby annotation frames when text-align: justify is applied to ruby bases. r=dbaron
2014-12-09 17:43:24 +11:00
Xidorn Quan
e8c311d112
Bug 1107721 - Add method for attaching frame data to base line layout. r=dbaron
2014-12-10 09:49:45 +11:00
Xidorn Quan
81badd0b54
Bug 1107721 - Create PFD for root span. r=dbaron
2014-12-10 09:40:14 +11:00
Xidorn Quan
ca24b9d4a1
Bug 1107721 - Handle unlinking pfds linked to other levels. r=dbaron
2014-12-09 09:30:23 +11:00
Xidorn Quan
e8642d5904
Bug 1107721 - Separate pfd unlinking code to method UnlinkFrame. r=dbaron
...
The comment of UnlinkFrame says that the PFDs of linked annotations
won't be freed immediately, which is not implemented in this patch,
but in the next patch.
2014-12-09 09:14:49 +11:00
Xidorn Quan
3e1b50d2fd
Bug 1107721 - Add pointers to PerFrameData of different level. r=dbaron
2014-12-05 15:57:12 -08:00
Xidorn Quan
d9596d8c75
Bug 1107721 - Allocate PerFrameData & PerSpanData from the base line layout. r=dbaron
2014-12-05 15:31:42 -08:00
Xidorn Quan
6737561b22
Bug 1107721 - Add pointer to the base line layout in nsLineLayout. r=dbaron
2014-12-05 15:05:51 -08:00
Simon Montagu
69888c32f2
Bug 1105137: treat nsFloatManager's mOrigin as an offset, not a point, and rename it to mOffset to make that clearer, r=jfkthame
2014-12-11 03:56:03 -08:00
Xidorn Quan
b0f0fcc4a3
Bug 1096152 - Use frame instead of content to track break position. r=dbaron
2014-11-14 16:41:14 +11:00
Jonathan Kew
121113906b
Bug 1084370 - Fix handling of vertical-align in lines with vertical writing mode. r=smontagu
2014-11-13 12:58:30 +00:00
Jonathan Kew
e7e5f2df11
Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu
2014-11-13 08:58:06 +00:00
Jonathan Kew
f761e31283
Bug 1094914 - part 2 - Store margins and borders using line's writing mode in perFrameData, to avoid writing-mode conversions. r=smontagu
2014-11-13 08:58:02 +00:00
Jonathan Kew
eef17b9e40
Bug 1094914 - part 1 - Don't confuse frame and line writing-modes in nsLineLayout. r=smontagu
2014-11-13 08:58:02 +00:00
Xidorn Quan
9cf6197f83
Bug 1063857 - Implement new justification algorithm. r=roc,masayuki
2014-11-10 12:25:17 +11:00
Jonathan Watt
5c8ecf10a2
No bug - Get rid of some unnecessary nsRenderingContext.h includes and nsRenderingContext forward declarations.
2014-11-06 22:07:35 +00:00
Carsten "Tomcat" Book
f74c7bbb38
Backed out changeset 53d51e7fbb9e (bug 1063857) for Android Reftest Failures
2014-11-04 10:59:46 +01:00
Xidorn Quan
08d8f0ff5d
Bug 1063857 - Implement new justification algorithm. r=roc,masayuki
2014-11-02 15:07:00 +01:00
Jonathan Watt
a459e03874
Bug 1088625, part 3 - Remove nsRenderingContext's SetFont, FontMetrics and SetTextRunRTL methods now that no one uses them any more. r=mstange
2014-10-24 16:28:15 +01:00
Jonathan Watt
05b59bc989
Bug 1088625, part 1 - Add lots of missing nsFontMetrics.h and gfxTextRun.h includes
2014-10-24 16:28:14 +01:00