Commit Graph

20234 Commits

Author SHA1 Message Date
Milan Sreckovic
cfe0774568 Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard. 2014-03-04 12:26:33 -05:00
Ed Morley
5286d3c320 Backed out changeset fa5e92d8eb82 (bug 946618) for frequent test failures 2014-03-04 16:36:47 +00:00
Paul Adenot
d931d64d5c Bug 946618 - Add native tests for cubeb (build system bits). r=glandium,kinetik 2014-02-25 14:21:59 +01:00
Phil Ringnalda
75a037d9ad Merge m-c to m-i 2014-03-03 19:50:07 -08:00
Seth Fowler
dc16abe837 Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron 2014-03-03 19:40:31 -08:00
Seth Fowler
6420cb7d99 Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-03 19:40:29 -08:00
Seth Fowler
a85936692f Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron 2014-03-03 19:40:27 -08:00
Botond Ballo
1d03331bd2 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
ed45530108 Merge inbound to m-c. 2014-03-03 17:00:34 -05:00
James Kitchener
ca34582235 Bug 975935 - Import rowlines/columnlines tests from MathJax. r=fredw 2014-03-03 10:37:24 -05:00
James Kitchener
1fdd5a8ce4 Bug 975935 - nsDisplaymtdBorder needs to override GetBounds. r=bz 2014-03-03 10:37:08 -05:00
Ed Morley
adbbebc086 Merge mozilla-central and inbound 2014-03-03 14:50:56 +00:00
Ed Morley
738f300f74 Merge latest green b2g-inbound changeset and mozilla-central 2014-03-03 14:45:43 +00:00
Ehsan Akhgari
ab6abed6ef 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
6d0e5d3a43 Bug 975773 - Filter primitives in error states can have inputs. r=roc 2014-03-03 14:31:27 +01:00
L. David Baron
cccf435c38 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
8f1703567a 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
4680ed2f65 Bug 978620: Make nsFrameSetFrame call FinishAndStoreOverflow. r=roc 2014-03-03 00:54:39 -08:00
Makoto Kato
4d1a05b05d Bug 968647 - Part 1. Add position change notification for IME. r=roc 2014-02-28 16:45:01 +09:00
Jonathan Kew
9f33df0dac bug 978313 - fix up existing reftests affected by improved joiner handling. r=jdaggett 2014-03-03 08:02:43 +00:00
Jonathan Kew
672597893a bug 978313 - reftest for initial ZWJ disrupting Arabic joining. r=jdaggett 2014-03-03 08:02:26 +00:00
Timothy Nikkel
02cca576b9 Bug 978655. Simplify ContainerState::FindFixedPosFrameForLayerData. r=mattwoodrow 2014-03-03 00:04:59 -06:00
Makoto Kato
33a4027ce6 Backed out changeset d06ee3f1e9a3 (bug 968647) 2014-03-03 11:53:43 +09:00
Makoto Kato
be87ec45be Bug 968647 - Part 1. Add postion change notification for IME. r=roc 2014-02-28 16:45:01 +09:00
Timothy Nikkel
544b71c580 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
9a1510fcba 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
8d903256a4 Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug 2014-02-27 16:13:05 -08:00
Kearwood (Kip) Gilbert
f6a584b358 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
433c5de893 Merge m-c to inbound. 2014-02-28 10:15:57 -05:00
Horia Iosif Olaru
403c1bd6d0 Bug 976533 - Add a reftest. r=roc 2014-02-28 09:11:37 -05:00
Horia Iosif Olaru
b92ebfeaec 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
67109b9a5c merge b2g-inbound to mozilla-central 2014-02-28 14:42:11 +01:00
Carsten "Tomcat" Book
7afee8566b merge mozilla-inbound to mozilla-central 2014-02-28 14:31:00 +01:00
Neil Deakin
90df2e8916 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
3581886531 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
8c079ee5f7 Bug 968647 - Part 1. Add postion change notification for IME. r=roc 2014-02-28 16:45:01 +09:00
Wes Kocher
45d489c9d5 Merge m-c to b2g-inbound 2014-02-27 17:47:32 -08:00
Wes Kocher
19c85055e8 Merge inbound to m-c 2014-02-27 16:52:51 -08:00
Ryan VanderMeulen
d8c7359358 Merge m-c to b2g-inbound. 2014-02-27 17:34:25 -05:00
Timothy Nikkel
f91f7c1a76 Bug 959847. Part 11. Use nsLayoutUtils::ViewportHasDisplayPort instead of repeating boilerplate code. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
0e4968b4d3 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
90c5ddcf90 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
576881fcd2 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
1e3662e0e8 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
57b3df2628 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
c1ef4c92c7 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
c5eadf4d6e 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
84799aa7d0 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
8aa800b645 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
d94b77e6f5 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