Commit Graph
602 Commits
Author SHA1 Message Date
Jonathan Kew 26ec8c8447 Bug 1133945 - Fix behavior of vertical-align with a specified length, relative to dominant centered baseline in vertical mode. r=smontagu 2015-03-26 12:34:57 +00:00
Simon Montagu 91680250c8 Bug 1143218 patch 3: a better fix for bug 1105137 using line-left and line-right to place floats, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu 158738f738 Bug 1143218 patch 1: Back out the fix for bug 1105137, r=jfkthame 2015-03-22 11:44:48 +02:00
Jonathan Kew 3548059c7a Bug 1141928 part 2 - Correct the position of ruby text frames. r=roc 2015-03-14 16:46:33 +11:00
Xidorn Quan b1ff4c5e8a Bug 1141928 part 1 - Correct the position of ruby text containers in RTL text. r=jfkthame
This patch uses the logical version of FinishReflowChild instead, so that we are able to keep the consistent logical rect, and then fix the rect with correct container width after the whole line is reflowed.
2015-03-14 16:46:33 +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
Xidorn Quan f86dcc7d07 Bug 1140264 part 1 - Avoid expanding auto-hidden ruby annotations. r=dbaron
This could sometimes cause undesired overflow area.
2015-03-11 10:28:21 +11:00
Jonathan Kew e8b0aaddab Bug 1138495 - pt 1 - Rename NS_FRAME_IN_CONSTRAINED_HEIGHT flag to NS_FRAME_IN_CONSTRAINED_BSIZE, and set it appropriately according to writing mode. r=smontagu 2015-03-10 14:28:23 +00: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
Xidorn Quan e695fbaef3 Bug 1138092 - Add sanity check before checking ruby-align in TextAlignLine. r=dbaron 2015-03-04 13:04:11 +11:00
Jonathan Kew 175b569363 Bug 1136521 - Don't try to use the ascent when placing a frame whose block-direction doesn't match the line's. r=smontagu 2015-03-03 16:39:45 +00:00
Jonathan Kew 27813aa864 Bug 1138353 - Correct the directionality of vertical-align dimensions in cases where line- and flow-relative coordinate directions differ. r=smontagu 2015-03-03 12:25:17 +00: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
Xidorn Quan ca2c06410b Bug 1135361 - Fix position of ruby annotation in vertical-rl mode when justification is applied to the base. r=jfkthame 2015-02-24 14:46:29 +11:00
Xidorn Quan 0dc1e4f42f Bug 1134783 - Fix ruby-align problem on annotation when it has different align with its base. r=roc 2015-02-20 13:45:49 +13:00
Xidorn Quan 8fc0bf096e Bug 1134206 part 2 - Reset zeroEffectiveSpanBox when ruby adjust the line spacing. r=roc 2015-02-19 22:39:19 +13:00
Xidorn Quan b2d101e93b Bug 1134206 part 1 - Remove mZeroEffectiveSpanBox flag from PerSpanData. r=roc 2015-02-19 22:39:19 +13:00
Xidorn Quan 7caaa0049c Bug 1133697 part 3 - Make ruby text frame not continue text run. r=roc 2015-02-18 17:20:02 +13:00
Xidorn Quan 8d34df6896 Bug 1055676 part 4 - Expand ruby boxes in respect of ruby-align. r=roc 2015-02-17 18:01:49 +13:00
Xidorn Quan e1755b0d84 Bug 1055676 part 3 - Adjust justification gap assigning algorithm for ruby-align. r=roc 2015-02-17 18:01:49 +13:00
Xidorn Quan 19159bd2a2 Bug 1055676 part 2 - Move inter-frame justification assignment to an independent function. r=roc 2015-02-17 18:01:49 +13:00
Xidorn Quan 12f34c58c5 Bug 1132008 part 3 - Remove unused code in nsLineLayout. r=dbaron
This code was originally introduced in bug 1055665 part 3.
2015-02-17 14:25:18 +13:00
Xidorn Quan 90e48a933c Bug 1132008 part 2 - Sync bounds of <rt>s in line layout. r=dbaron 2015-02-17 14:25:18 +13:00
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 <[email protected]>.

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