Xidorn Quan
6fb97f335e
Bug 1134432 part 5 - Fix line breaks for intrinsic min isize calculation of ruby base container. r=dbaron
2015-02-22 00:39:33 +13:00
Xidorn Quan
99dd10e6b8
Bug 1134432 part 4 - Move line break checking code to an independent method for reuse. r=dbaron
2015-02-22 00:39:33 +13:00
Xidorn Quan
f6fb4bc548
Bug 1134432 part 3 - Move a function upwards for reuse. r=dbaron
2015-02-22 00:39:33 +13:00
Xidorn Quan
489efc605e
Bug 1134432 part 2 - Fix basic inline min/pref isize calculation of ruby frames. r=dbaron
2015-02-22 00:39:33 +13:00
Xidorn Quan
a18446ea1b
Bug 1134432 part 1 - Suppress break inside ruby when calculating intrinsic isize. r=dbaron
...
Breaks during reflow have been suppressed in bug 1098272.
2015-02-22 00:39:33 +13:00
Mats Palmgren
40f9adf838
Bug 1128722 - part 1, Call SetDirection as soon as we decide it needs to change. r=smaug
2015-02-21 04:27:59 +00:00
Mats Palmgren
17c60885ea
Bug 1129078 - part 4, Add AutoPrepareFocusRange stack objects on paths to TakeFocus that sets up mAnchorFocusRange (and possibly removes mIsGenerated ranges) based on what operation the user is performing. r=smaug
2015-02-21 04:27:59 +00:00
Mats Palmgren
71b97d01a0
Bug 1129078 - part 3, Add a mIsGenerated bit to ranges that ExcludeNonSelectableNodes created due to user-select:none. Also, return the index to the range we want to be the new mAnchorFocusRange, based on the Selection direction. r=smaug
2015-02-21 04:27:59 +00:00
Mats Palmgren
85b48cacb6
Bug 1129078 - part 2, Refactor nsFrameSelection::MoveCaret slightly. r=smaug
2015-02-21 04:27:59 +00:00
Mats Palmgren
27fe54a5bc
Bug 1129078 - part 1, Remove the chunk that bug 739396 added to Selection::Extend. r=smaug
2015-02-21 04:27:59 +00:00
Wes Kocher
1ac1c89198
Backed out 8 changesets (bug 1129078, bug 1128722) for mochitest-5 failures
...
Backed out changeset f7eff607655a (bug 1128722)
Backed out changeset 801b3abc0de8 (bug 1128722)
Backed out changeset 275d27c2dba0 (bug 1129078)
Backed out changeset 9830ab1a2028 (bug 1129078)
Backed out changeset ce5cb876af9a (bug 1129078)
Backed out changeset c199ff86c77f (bug 1129078)
Backed out changeset 38b1b039f14d (bug 1129078)
Backed out changeset c8a99ee97313 (bug 1129078)
2015-02-20 12:24:25 -08:00
Mats Palmgren
104baa1b24
Bug 1128722 - part 1, Call SetDirection as soon as we decide it needs to change. r=smaug
2015-02-20 17:34:21 +00:00
Mats Palmgren
dfbf82d87a
Bug 1129078 - part 4, Add AutoPrepareFocusRange stack objects on paths to TakeFocus that sets up mAnchorFocusRange (and possibly removes mIsGenerated ranges) based on what operation the user is performing. r=smaug
2015-02-20 17:34:21 +00:00
Mats Palmgren
8b5ac2ee41
Bug 1129078 - part 3, Add a mIsGenerated bit to ranges that ExcludeNonSelectableNodes created due to user-select:none. Also, return the index to the range we want to be the new mAnchorFocusRange, based on the Selection direction. r=smaug
2015-02-20 17:34:21 +00:00
Mats Palmgren
6ffece9ab7
Bug 1129078 - part 2, Refactor nsFrameSelection::MoveCaret slightly. r=smaug
2015-02-20 17:34:21 +00:00
Mats Palmgren
5b7a9e9222
Bug 1129078 - part 1, Remove the chunk that bug 739396 added to Selection::Extend. r=smaug
2015-02-20 17:34:21 +00:00
Xidorn Quan
ce973d2bcd
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
6f76157160
Bug 1134667 - Check length of text run before checking line break in reflow of ruby base container. r=jfkthame
2015-02-20 13:43:35 +13:00
Xidorn Quan
8d55e6ed6e
Bug 1134206 part 2 - Reset zeroEffectiveSpanBox when ruby adjust the line spacing. r=roc
2015-02-19 22:39:19 +13:00
Xidorn Quan
4ed485f42a
Bug 1134206 part 1 - Remove mZeroEffectiveSpanBox flag from PerSpanData. r=roc
2015-02-19 22:39:19 +13:00
Xidorn Quan
0931e236c7
Bug 1133697 part 3 - Make ruby text frame not continue text run. r=roc
2015-02-18 17:20:02 +13:00
Xidorn Quan
1acd140e9d
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
129c08133e
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
Cameron McCormack
22fac7a6fb
Bug 1127198 - Part 1: Add a DEBUG-only count of frames that use a style context. r=dbaron
2015-02-18 09:28:53 +11:00
David Anderson
9f420f2076
Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc)
2015-02-12 17:49:10 -08:00
Ryan VanderMeulen
cb66c35bb8
Merge inbound to m-c. a=merge
2015-02-17 14:24:51 -05:00
Gabriele Svelto
dc694b1442
Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats
2015-02-17 10:39:35 -05:00
L. David Baron
de67c9b4af
Back out changeset 6849669e696e (bug 1130645) for Android robocop failures.
...
The first failure in rc1 was:
TEST-UNEXPECTED-FAIL | testAxisLocking | PaintExpecter - blockUtilClear timeout
and the first failure in rc2 (API9) or rc3 (API11) was:
TEST-UNEXPECTED-FAIL | testPanCorrectness | PaintExpecter - blockUtilClear timeout
2015-02-16 18:22:56 +13:00
David Anderson
fa6339d900
Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc)
2015-02-12 17:49:10 -08:00
Mats Palmgren
83068dc05e
Bug 1133243 - Fix compilation problem hidden by unified sources. r=heycam
2015-02-15 18:45:48 +00:00
Xidorn Quan
ee77a49c04
Bug 1055676 part 4 - Expand ruby boxes in respect of ruby-align. r=roc
2015-02-17 18:01:49 +13:00
Xidorn Quan
8ab5b12c55
Bug 1055676 part 3 - Adjust justification gap assigning algorithm for ruby-align. r=roc
2015-02-17 18:01:49 +13:00
Xidorn Quan
e5a6778ecc
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
f77f4f3460
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
1a7beec913
Bug 1132008
part 2 - Sync bounds of <rt>s in line layout. r=dbaron
2015-02-17 14:25:18 +13:00
Xidorn Quan
6bb625f594
Bug 1132008
part 1 - Calculate bsize of rtc according to its children. r=dbaron
2015-02-17 14:25:18 +13:00
Xidorn Quan
70194f34c6
Bug 1133573 - Fix available size calculation of ruby text container. r=roc
2015-02-17 11:07:55 +13:00
David Parks
b9f2a6cde2
Bug 1075670 - Cleanup content process widget-chrome behavior r=smaug
2015-01-30 15:55:27 -08:00
Carsten "Tomcat" Book
9e96698d8a
Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
...
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00
David Parks
c75eab55ac
Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
...
Math for window chrome calculation was off on Linux. Removed redundant,
and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
Carsten "Tomcat" Book
efd1472d2b
Merge mozilla-central to mozilla-inbound
2015-02-11 15:00:07 +01:00
Carsten "Tomcat" Book
5ac50b27cc
merge mozilla-inbound to mozilla-central a=merge
2015-02-11 14:58:16 +01:00
L. David Baron
9e6abc06e5
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
Jonathan Kew
3fe02e0f8a
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
583140e5c7
Backed out changeset df2290db92d0 (bug 1117210) for breaking m5 tests on a CLOSED TREE
2015-02-11 11:28:19 +01:00
Simon Montagu
2664780918
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
Seth Fowler
37573b492c
Bug 1130328 (Part 2) - Update nsImageFrame to always use InvalidateLayer when handling FRAME_UPDATE. r=tn
2015-02-11 01:11:43 -08:00
Seth Fowler
489db0d60d
Bug 1130328 (Part 1) - Add support for an optional frame-space damage rect to nsIFrame::InvalidateLayer. r=mattwoodrow
2015-02-11 01:11:41 -08:00
Kartikaya Gupta
33e1ee03aa
Bug 1125422 - Fold touch and scroll listener flags into a single apz-aware flag for better code reuse. r=roc
2015-02-10 16:28:07 -05:00
Jonathan Kew
f4d1d1fba0
Bug 1117210 - Snap text baselines to device pixels in vertical writing modes. r=smontagu
2015-02-11 08:44:34 +00:00