Josh Aas
f9e3926e19
Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending)
2014-12-11 08:44:07 -06:00
Simon Montagu
33a271e5bd
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
Jonathan Kew
9c6ddfa771
Bug 1108923 - Update comments to reflect the newly logicalized parameters. r=smontagu
2014-12-11 11:16:22 +00:00
Jonathan Kew
f067b8adaf
Bug 1108923 - Use the correct containing box dimension as the percent basis for margin/padding in vertical writing modes. r=smontagu
2014-12-11 11:16:22 +00:00
Seth Fowler
a058458e7d
Bug 1106252 - Make nsImageFrame's icon loading code more robust. r=tn
2014-12-10 18:42:37 -08:00
Xidorn Quan
3510e424d1
(no bug) Add comment to clarify the reason of using UniquePtr in nsRubyBaseContainerFrame::Reflow. DONTBUILD, comment-only
...
--HG--
extra : rebase_source : b886f8cb9d0fb104e6a52267213b5afa19de8d08
extra : amend_source : 6c455e8f22ef1ecc58a0f3fe54327d964de85ecb
2014-12-11 11:24:53 +11:00
Ehsan Akhgari
b35004b3cd
Bug 1109705 - Fix more bad implicit constructors in layout; r=roc
2014-12-10 17:47:09 -05:00
Jonathan Kew
37777bd3a8
Bug 1108277 - part 2 - Make Get{Min,Pref}ISize in video and plugin frames aware of vertical writing mode. r=smontagu
2014-12-09 14:00:51 +00:00
Jonathan Kew
f51ce4dfa3
Bug 1108277 - part 1 - Make Get{Min,Pref}ISize for the <canvas> element aware of vertical writing mode. r=smontagu
2014-12-09 14:00:38 +00:00
David Anderson
a63076d2ee
Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn)
...
--HG--
extra : rebase_source : babd42d9bdae722173821e800bc595fe662ee8f1
2014-12-09 02:38:23 -08:00
Kartikaya Gupta
c63fb4287c
Bug 1107606 - Ensure that setting a smooth scroll while APZ is enabled activates the layer. r=tn,kip
2014-12-05 00:04:39 -08:00
Jonathan Kew
491103743a
Bug 1107617 - Add support for writing-mode to the NotifyIMESelection message. r=smaug
2014-12-04 18:15:43 -08:00
Mats Palmgren
bb3fbf1277
Bug 1107353 - Wallpaper a null-pointer crash in AsyncScrollCallback for now. r=kip
2014-12-04 21:26:26 +00:00
Jonathan Kew
a93db66c49
Bug 1079157 - part 3 - Make nsColumnSetFrame support vertical writing mode. r=smontagu
2014-12-04 00:57:17 -08:00
Jonathan Kew
88364ece99
Bug 1079157 - part 2 - Comment updates and whitespace cleanup only, no actual code changes. r=smontagu
2014-12-04 00:57:17 -08:00
Jonathan Kew
4673c6322c
Bug 1079157 - part 1 - Purely mechanical renaming of local variables and members in nsColumnSetFrame. r=smontagu
2014-12-04 00:57:16 -08:00
Jonathan Kew
18b2531efe
Bug 1106665 - Fix text-align:justify for vertical writing modes. r=smontagu
2014-12-02 20:29:29 -08:00
Xidorn Quan
d5c26883a2
Bug 1093998 - Make nsContainerFrame::CreateNextInFlow return the new frame instead of using an our param. r=dbaron
2014-12-01 22:03:57 -08:00
Simon Montagu
af6d171075
Bug 1104711: short-circuit LogicalSize.ConvertTo when the source and target modes are non-orthogonal, r=jfkthame
2014-11-30 01:17:56 -08:00
Jonathan Kew
e38b6ceb9d
Bug 1106083 - Record the new containerWidth on lines when finalizing their placement in vertical-rl mode, so that they maintain their proper positioning during subsequent block-dir resize reflows. r=smontagu
2014-11-29 19:24:10 +00:00
Robert O'Callahan
e3acf6c50d
Bug 1098266. Set correct visible rect on nsDisplayOpacity items that are shuffled around during preserve-3d display list wrapping. r=tn
2014-11-24 14:03:49 +13:00
Simon Montagu
94926c7600
Bug 1105828 patch 2: Don't set UNCONSTRAINEDSIZE in an availSpace that we aren't going to use, r=jfkthame
2014-11-28 06:53:59 -08:00
Simon Montagu
a4a112e2b6
Bug 1105828 patch 1: Avoid using UNCONSTRAINEDSIZE in CalculateBlockSideMargins, r=jfkthame
2014-11-28 06:53:57 -08:00
Jonathan Kew
322e9af63c
Bug 1077528 - part 2 - Make nsBlockFrame consider resize flags logically instead of physically. r=smontagu
2014-11-28 09:44:05 +00:00
Jonathan Kew
e117c33e3d
Bug 1077528 - part 1 - Provide physical and logical accessors for the m{HV}Resize flags in nsHTMLReflowState, and convert all flag users to the accessor methods. r=smontagu
2014-11-28 09:44:02 +00:00
Jonathan Kew
f8c40475ef
Bug 1105268 - part 1 - Fix the logical/physical confusion with min- and max- dimensions in nsFrame::ComputeSize(). r=smontagu
2014-11-27 15:01:11 +00:00
Daniel Holbert
0f8922ac4a
Bug 1103184 part 1: Honor "object-fit" & "object-position" on <canvas> element. r=roc
2014-11-26 19:43:36 -08:00
Ryan VanderMeulen
792273e467
Merge inbound to m-c. a=merge
2014-11-26 20:34:29 -05:00
Daniel Holbert
621d56400d
Bug 1104354: Give nsHTMLCanvasFrame its own GetIntrinsicSize() impl. r=mats
2014-11-26 11:29:49 -08:00
Jonathan Kew
1c2aa200a8
Bug 1096224 - part 2 - Fix writing mode mismatch in margin calculation in PlaceBlock. r=smontagu
2014-11-26 10:24:16 +00:00
Jonathan Kew
6ce2710325
Bug 1096224 - part 1 - CalculateBlockSideMargins should be working in the containing block's writing mode. r=smontagu
2014-11-26 10:24:16 +00:00
Kartikaya Gupta
baccad357d
Bug 1104809 - When building display lists for non-stacking children don't discard the event regions. r=mstange,tn
2014-11-25 17:05:58 -05:00
Kartikaya Gupta
4a94a25a0d
Bug 1104266 - Avoid needless temporary nsACString. r=mattwoodrow
2014-11-25 08:45:19 -05:00
Seth Fowler
626d39ccdc
Bug 1102617 - Replace imgIContainer::FrameIsOpaque with imgIContainer::IsOpaque. r=tn
2014-11-24 23:42:43 -08:00
Xidorn Quan
c23c15eb67
Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron
2014-11-26 15:53:18 +11:00
Xidorn Quan
e464df4013
Bug 1052924 - Implement basic line breaking for ruby. r=dbaron
...
Known problem:
It would cause infinite loop if there is any line break happens inside
ruby base or annotation, or the width of container is not enough for
the widest pair/span. This might be fixed in bug 1098272.
2014-11-26 15:52:50 +11:00
Xidorn Quan
5f4cd8dd0b
Bug 1052924 - Separate reflow code. r=dbaron
2014-11-26 15:52:50 +11:00
Xidorn Quan
43f5510c25
Bug 1052924 - Give rbc & rtc correct position. r=dbaron
...
Important changes:
* Use line layout to reflow ruby base container
2014-11-26 15:52:49 +11:00
Xidorn Quan
d25178b0db
Bug 1052924 - Resolve some warnings. r=dbaron
...
Important changes:
* Change base class of nsRuby{Base,Text}Frame to nsInlineFrame
* Make ComputeSize of nsRubyFrame and nsRubyBaseContainerFrame behavior like inline frames
2014-11-26 15:52:49 +11:00
Xidorn Quan
c25136319a
Bug 1052924 - Rewrite reflow code. r=dbaron
...
Important changes:
* Avoid using GetPrefISize on the ruby texts in
nsRubyBaseContainerFrame::Reflow, since the size it produces might
not match the size produced by Reflow. The old code calls that on
all the ruby texts to determine how big they are, then reflows all
the ruby bases, and then reflows all the ruby texts. The new code
instead processes one pair at a time, and for each pair reflows the
ruby texts and then the ruby base.
* Change the base class of nsRubyTextContainerFrame from nsBlockFrame
to nsContainerFrame, and stop constructing an nsBlockReflowState for
its reflow.
* Move the code for reflowing ruby texts from nsRubyTextContainerFrame
and to nsRubyBaseContainerFrame.
* Fix the regression that ruby text containers contain span are not
reflowed properly. It is the regression introduced in patch 0.
Known regression:
* This patch drops centering ruby base and annotation in pairs. This
should be fixed in bug 1055676 (ruby-align).
2014-11-26 15:52:49 +11:00
Xidorn Quan
e254b3d884
Bug 1052924 - Add assertion and comments pointing out that ruby base container frames do not have an mBlockRS, but that's OK since they are never the containing block for floats. r=dbaron
2014-11-26 15:52:49 +11:00
Xidorn Quan
1fbb3167e6
Bug 1052924 - Treat ruby text containers as inline elements for the purposes of finding a font inflation container so that ruby text gets the same font inflation as its ruby bases. r=dbaron
2014-11-26 15:52:48 +11:00
Xidorn Quan
458a202ef8
Bug 1052924 - Use unified enumerators to simplify code. r=dbaron
2014-11-26 15:52:48 +11:00
Xidorn Quan
9b0f833e9c
Bug 1052924 - Rewrite pref isize and min isize computation. r=dbaron
...
Known regression:
This patch changes AppendTextContainer, and put aside text containers
which contain spanning annotations. This changes makes those text
containers not be reflowed by the current code. It will be fixed in
some later patch.
2014-11-26 15:52:48 +11:00
Daniel Holbert
82b8f74f2a
Bug 1098417 part 2: Make nsImageFrame pass "object-position"-determined anchor-point to DrawSingleImage. r=seth
2014-11-25 16:46:14 -08:00
Daniel Holbert
a03d3e37d5
Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec.
2014-11-25 11:28:15 -08:00
Daniel Holbert
4d0b72d499
Bug 624647 followup: Minor cleanup in nsVideoFrame::BuildLayer(); restore a local variable which shouldn't have been removed. (no review)
...
An earlier patch for this bug (changeset 466d3ff030e6) removed local variable
"nsRect area", but then ended up effectively re-creating it further down in the
function as "contentBoxRect". (I added contentBoxRect as a late-breaking
change, as part of addressing a review comment.)
I've now realized that contentBoxRect is the same rect as "area", and it's
simpler to just declare the original "area" rect at the function's start
instead of dynamically creating it further down.
(Not requesting review, since this is a no-functional-change tweak, which is
following up on a change that I'd made in response to review feedback on a r+'d
patch.)
2014-11-25 15:40:02 -08:00
Jonathan Kew
9a4427f454
Bug 1103613 - Use better inline-size for an orthogonal flow within a block of specified dimensions. r=smontagu
2014-11-24 21:44:06 +00:00
Mats Palmgren
98fa65732a
Bug 1102791 - Always return NS_FRAME_COMPLETE status from nsHTMLButtonControlFrame::Reflow. Don't create overflow container continuations unless the delegating frame has eCanContainOverflowContainers. r=roc
2014-11-24 16:42:31 +00:00
Jonathan Watt
9910919cdd
Bug 1103623 - Port most remaining gfxContext::Fill() calls to Moz2D. r=mattwoodrow
2014-11-24 00:04:33 +00:00