Commit Graph

20227 Commits

Author SHA1 Message Date
Botond Ballo
52886c2f82 Bug 978997 - Fix a regression caused by bug 959847 where the root layer sometimes doesn't get an APZC. r=tnikkel on a CLOSED TREE
Root scroll frames in display root documents don't get a scroll info layer from ScrollFrameHelper::BuildDisplayList, so we always need to call RecordFrameMetrics from nsDisplayList::PaintForFrame.
2014-03-03 19:57:28 -05:00
Ryan VanderMeulen
ea7db637cd Merge inbound to m-c. 2014-03-03 17:00:34 -05:00
James Kitchener
c0293f8c6b Bug 975935 - Import rowlines/columnlines tests from MathJax. r=fredw 2014-03-03 10:37:24 -05:00
James Kitchener
ed09b3f79b Bug 975935 - nsDisplaymtdBorder needs to override GetBounds. r=bz 2014-03-03 10:37:08 -05:00
Ed Morley
eb5f4e4e6d Merge mozilla-central and inbound 2014-03-03 14:50:56 +00:00
Ed Morley
a96a5e92b0 Merge latest green b2g-inbound changeset and mozilla-central 2014-03-03 14:45:43 +00:00
Ehsan Akhgari
52816268c3 Bug 977418 - Special case opacity:0.99 to treat it as opacity:1 for display purposes; r=roc
This helps avoid significant costs in our graphics code when websites
use opacity:0.99 as a hint for creating a stacking context only.
2014-03-03 09:42:16 -05:00
Markus Stange
012e376de7 Bug 975773 - Filter primitives in error states can have inputs. r=roc 2014-03-03 14:31:27 +01:00
L. David Baron
d38774f56a Bug 978612: Ignore changes to offsets of static-positioned elements when they or their descendants have views. r=dholbert
We get slightly better optimization, and no loss of function, by putting
these checks in the opposite order.
2014-03-03 00:54:39 -08:00
L. David Baron
df9a01e6be Bug 439204: Remove assertion "We placed a float where there was no room!" r=roc 2014-03-03 00:54:39 -08:00
L. David Baron
23fc0999c0 Bug 978620: Make nsFrameSetFrame call FinishAndStoreOverflow. r=roc 2014-03-03 00:54:39 -08:00
Makoto Kato
ba3a895ec9 Bug 968647 - Part 1. Add position change notification for IME. r=roc 2014-02-28 16:45:01 +09:00
Jonathan Kew
6f211c72ed bug 978313 - fix up existing reftests affected by improved joiner handling. r=jdaggett 2014-03-03 08:02:43 +00:00
Jonathan Kew
1b2eff125b bug 978313 - reftest for initial ZWJ disrupting Arabic joining. r=jdaggett 2014-03-03 08:02:26 +00:00
Timothy Nikkel
4340c68e3b Bug 978655. Simplify ContainerState::FindFixedPosFrameForLayerData. r=mattwoodrow 2014-03-03 00:04:59 -06:00
Makoto Kato
cf57cff4a8 Backed out changeset d06ee3f1e9a3 (bug 968647) 2014-03-03 11:53:43 +09:00
Makoto Kato
14038c6580 Bug 968647 - Part 1. Add postion change notification for IME. r=roc 2014-02-28 16:45:01 +09:00
Timothy Nikkel
6bbec0c664 Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow
Also makes DidComputeVisibility available during non-debug painting so we can use it.
2014-03-02 16:22:29 -06:00
Timothy Nikkel
7057743a64 Bug 974643. The displayport is not relevant to position: fixed content, only to scrolling content. r=roc
The relevant part of postion: fixed items lies within the viewport, which is the scroll position clamping scroll port size if one has been set.
2014-03-02 19:49:39 -06:00
Oleg Romashin
0f3424c689 Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug 2014-02-27 16:13:05 -08:00
Kearwood (Kip) Gilbert
607fa6edce Bug 687297 - Added Mochitest to verify that the per-presentation base minimum font size is propagated without being influenced by the language-specific global preference. r=dbaron
This test applies a large value to the font.minimum-size.ja preference, opens a new window, advances the url through an iso-8859-1 page, a Shift-JIS page, and back to an iso-8859-1 page.  If the height of a div containing text on the first iso-8859-1 page and last iso-8859-1 page do not match, then the test is failed.

This test has been excluded from B2G Desktop Client tests due to bug 948948.
2014-02-26 16:01:38 -08:00
Ryan VanderMeulen
b00f0ba8d9 Merge m-c to inbound. 2014-02-28 10:15:57 -05:00
Horia Iosif Olaru
82c5205c1a Bug 976533 - Add a reftest. r=roc 2014-02-28 09:11:37 -05:00
Horia Iosif Olaru
0e770e33c0 Bug 976533 - In case there is are both a MixBlendMode and BlendContainer wrapping the same stacking display list, reverse the order so that the BlendContainer comes first. This way, it will not isolate the legitimate MixBlendMode item. r=roc 2014-02-28 09:11:37 -05:00
Carsten "Tomcat" Book
a927d781fe merge b2g-inbound to mozilla-central 2014-02-28 14:42:11 +01:00
Carsten "Tomcat" Book
649b31451f merge mozilla-inbound to mozilla-central 2014-02-28 14:31:00 +01:00
Neil Deakin
5d9c2a4895 Bug 968039, Remove the first reflow flag when the popup is laid out but not open, force the uitour to generate frames so that its size is computed properly, r=bz,mattn 2014-02-28 08:18:22 -05:00
Carsten "Tomcat" Book
b698e9bf03 Backed out changeset e670f691e2b9 (bug 968647) for mochitest test bustage on OS X on a CLOSED TREE 2014-02-28 09:30:34 +01:00
Makoto Kato
733278c657 Bug 968647 - Part 1. Add postion change notification for IME. r=roc 2014-02-28 16:45:01 +09:00
Wes Kocher
e4299dd8a6 Merge m-c to b2g-inbound 2014-02-27 17:47:32 -08:00
Wes Kocher
9da41647fe Merge inbound to m-c 2014-02-27 16:52:51 -08:00
Ryan VanderMeulen
b1611fccd5 Merge m-c to b2g-inbound. 2014-02-27 17:34:25 -05:00
Timothy Nikkel
00358747ba Bug 959847. Part 11. Use nsLayoutUtils::ViewportHasDisplayPort instead of repeating boilerplate code. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
c98b478ef2 Bug 959847. Part 10. Implement GetBounds, GetOpaqueRegion, and ShouldBuildLayerEvenIfInvisible for nsDisplaySubDocument items that are being used as scrollable layers like scroll layer items. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
7c6fe99703 Bug 959847. Part 9. Subdocument items for subdocuments that have displayports need to expand the visibility region. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
5d30b2243f Bug 959847. Part 8. Don't let ProcessDisplayItems set the clip on subdocument items when they are being used to draw the display port content. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
bbe19b1635 Bug 959847. Part 7. Move ignoreViewportScrolling computation lower, where we actually use it. r=roc 2014-02-27 16:01:53 -06:00
Timothy Nikkel
a56df55cd5 Bug 959847. Part 6. Only call RecordFrameMetrics from PaintForFrame if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc 2014-02-27 16:01:53 -06:00
Timothy Nikkel
33274d8cd4 Bug 959847. Part 5. Only call RecordFrameMetrics for subdocuments if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc 2014-02-27 16:01:53 -06:00
Timothy Nikkel
b2fdd6bcf1 Bug 959847. Part 4. Call RecordFrameMetrics for subdocument layers. r=roc
We do this by creating a new display item type: nsDisplaySubDocument.

Original patch by Kartikaya Gupta <kgupta@mozilla.com>.
2014-02-27 16:01:53 -06:00
Timothy Nikkel
f391dc3f7b Bug 959847. Part 3. Make zoom items be contained in resolution items for subdocuments if they occur together. r=roc
Wrap the zoom item in the resolution item if we have both because we want the resolution scale applied on top of the app units per dev pixel conversion. Resolution is just a scale transform and app units per dev pixel affect layout, so conceptually the resolution gets applied after.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
184dbd98bd Bug 959847. Part 2. Don't ignore "ignore viewport scrolling" on subdocuments. r=roc
This means that the layer we create in nsSubDocumentFrame::BuildDisplayList becomes the scrollable layer for the document and we early early from ScrollFrameHelper::BuildDisplayList before it gets to the nsDisplayScrollLayer creation.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
2457fccf35 Bug 959847. Part 1. Retrieve the displayport of the root scroll frame the same way as everywhere else does in nsSubDocumentFrame::BuildDisplayList. r=roc 2014-02-27 16:01:52 -06:00
Ryan VanderMeulen
48d69f19f8 Merge inbound to m-c. 2014-02-27 16:55:18 -05:00
stefanh@inbox.com
6dacf6ac06 Bug 970079 - Native theming for MacOS X help buttons, widget part. r=mstange, roc. 2014-02-27 18:12:16 +01:00
Horia Iosif Olaru
a1363f590b Bug 952051 - Add reftests. r=roc
* Add a reftest for checking that blending takes place between a blended child element that is clipped by a rounded rect and its parent element (which has overflow hidden, and rounded corners).
* Add a reftest to check the behavior described in bug 947121 no longer reproduces.
2014-02-27 11:56:48 -05:00
Kearwood (Kip) Gilbert
f24b9bf3d8 Bug 687297 - The per-presentation base minimum font size is now propagated without being max’ed with the language-specific global minimum font size preference, r=dbaron
A separate accessor has been added to nsPresContext to enable TransferZoomLevels and nsDocumentViewer::GetMinFontSize to access the minimum font size that has not been max’ed against the language specific minimum font size preset.

nsPresContext::mMinFontSize, its getter, and its setter have been renamed to more clearly distinguish them from minFontSize used elsewhere.
2014-02-25 11:07:47 -08:00
Mats Palmgren
b01df6060e Bug 978443 - Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. r=dholbert
Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH.  Also fix whitespace and remove unnecessary parens in a few places and enumerate the possible break types in an assertion so that it doesn't make assumptions on the actual property values.
2014-03-02 17:42:16 +00:00
Arnaud Bienner
3aa4fb9a2f Bug 977029 - when color value changes, refresh color control frame instead of (wrongly) changing value attribute. r=bz 2014-02-28 20:52:42 +01:00
Jesse Ruderman
6fe5378027 Bug 513110 - tests 2014-03-01 10:36:39 +00:00