Граф коммитов

48634 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote fe16183e75 Bug 1237457 - Partially Moz2Dify nsDisplayGeneric. r=roc.
--HG--
extra : rebase_source : 0bc3fe25b757634dfe910e34cd1c51c0fb9504c0
2015-12-03 19:16:59 -08:00
John Daggett 5a346b41a8 Bug 1157064 - reftests for font-display. r=m_kato 2016-01-07 14:03:12 +09:00
John Daggett ade0c810ea Bug 1157064 - implementation of font-display. r=heycam,khuey 2016-01-07 14:03:05 +09:00
John Daggett 40dd7eed07 Bug 1157064 - font-display descriptor parsing. r=dbaron 2016-01-07 14:02:58 +09:00
Timothy Nikkel cb06741b61 Bug 1237086. When getting the displayport for a content node if there is no root scroll frame just use the primary frame of the content node. r=botond
XUL documents don't have a root scroll frame, so this would early return and prevent any of the tiling and max texture size code from running.

The root element of XUL documents likely only ever has zero-margin displayports, and they are not scrollable, so it may not be important.
2016-01-06 20:51:01 -06:00
Kartikaya Gupta 5e3b5adcf2 Bug 1219352 - Update a couple of bool-setters to take a bool argument. r=botond
--HG--
extra : commitid : BSeR1YwEqNy
2016-01-06 20:50:01 -05:00
Daniel Holbert 59fce78a44 Bug 1236506: Add support for "-webkit-filter" as an alias for CSS property "filter". r=heycam 2016-01-06 16:35:33 -08:00
Nicholas Nethercote a0a0ffb041 Bug 1230415 - Use DrawTarget instead of gfxContext in PaintBorderWithStyleBorder(). r=roc.
--HG--
extra : rebase_source : 06da7ab06a3c0ea7c0141251857552abc26747b3
2015-12-03 19:16:25 -08:00
Bas Schouten c087ca5e67 Bug 1220629 - Part 7: Mark several reftests fuzzy. r=jrmuizel
--HG--
extra : rebase_source : f14504896f107b12e2cd597f0cd3ba09ac9f5f09
2016-01-06 00:23:34 +01:00
Nicholas Nethercote 144e1789d7 Bug 1228211 (part 1) - Rearrange nsDisplayCanvasBackgroundImage::Paint(). r=dholbert.
This patch rearranges Paint() so that the next nsRenderingContext is created
via the one-arg constructor rather than via the zero-arg constructor + Init().
This means the SetLineWidth(1.0) call in Init() no longer occurs but that's ok;
it was redundant because 1.0 is the default line width in a new gfxContext.

--HG--
extra : rebase_source : d3aa44310e180f8a297feab281a92233bd4859ce
2016-01-05 20:29:52 -08:00
Kartikaya Gupta e8354f3515 Bug 1190541 - Update some tests to deal with fluffing that correctly accounts for presShell resolution. r=domivinc
--HG--
extra : commitid : AC2n8EbRl6w
2016-01-05 23:08:07 -05:00
dominique vincent 2395f9937f Bug 1190541 - PositionedEventTargeting doesn’t take into account the zoom in/out actions. r=kats
--HG--
extra : commitid : Lv4FDAhPbRF
2016-01-05 23:07:49 -05:00
Nicholas Nethercote 3fae597767 Bug 1232852 (part 9) - Simplify ReleasePointerCaptureCaller. r=tn.
It doesn't need to store the nsIContent. It just needs to record if mPointerId
has been set. This is because ReleasePointerCapturingContent() doesn't use its
second parameter.

--HG--
extra : rebase_source : d31036c74b06143d88848f63165cd1f41b433102
2016-01-05 16:08:17 -08:00
Nicholas Nethercote f037e41391 Bug 1232852 (part 8) - Remove some unused parameters in and around layout/base/. r=roc.
--HG--
extra : rebase_source : e02f99c78221be0f12fe11e50110fd49f718857f
2016-01-05 16:08:17 -08:00
Nicholas Nethercote 6fe6aa2778 Bug 1232852 (part 7) - Remove some unused parameters in and around layout/base/. r=tn.
--HG--
extra : rebase_source : 2af990358f65806ca7602e0b1c2e4dbd54e3884c
2016-01-05 16:08:17 -08:00
Nicholas Nethercote 97c8901427 Bug 1232852 (part 6) - Remove unused parameters from some layout sort functions. r=tn.
--HG--
extra : rebase_source : d3d801907a976f919db2b7e5b49cb8b0249c35c1
2016-01-05 16:08:17 -08:00
Nicholas Nethercote 5721b2ad2e Bug 1232852 (part 5) - Remove some unused parameters in and around layout/base/. r=heycam.
--HG--
extra : rebase_source : 3f114d32650a260fe2eda847f24c2967a9d94185
2016-01-05 16:08:17 -08:00
Nicholas Nethercote fd7ca876ef Bug 1232852 (part 4) - Remove some unused parameters in and around layout/base/. r=heycam.
--HG--
extra : rebase_source : 68642322a9fc78bb7eace1501b75003241a44507
2016-01-05 16:08:17 -08:00
Nicholas Nethercote 3ba02d7a9b Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde.
--HG--
extra : rebase_source : 7cdef8244e2b44b89e8061f66d45d40cbf245041
2015-12-15 21:24:06 -08:00
Nicholas Nethercote f0546a84a1 Bug 1232852 (part 2) - Remove some dead member functions from nsILayoutDebugger. r=roc.
--HG--
extra : rebase_source : c36b9431f82c4b07e30654034e5846eb5f543c5d
2016-01-05 00:21:57 -08:00
Nicholas Nethercote 5d111590a8 Bug 1232852 (part 1) - Set |aSnap| in two GetOpaqueRegion() overloadings that are missing it. r=roc.
--HG--
extra : rebase_source : f565bfee7883283847bf7ba6af68aaeb06e9fea3
2016-01-04 20:38:17 -08:00
Nicholas Nethercote f447bec986 Bug 1233619 (part 2) - Moz2Dify BeginUpdate() and BeginUpdateBackground() functions. r=roc.
The only non-trivial change is in BasicPaintedLayer::Validate().

--HG--
extra : rebase_source : 7eed0e384d2d856d918ad025b09e29f796017f51
2015-12-17 19:39:10 -08:00
Nicholas Nethercote 67e5c3ea2c Bug 1233619 (part 1) - Remove unneeded gfxContext argument from EndUpdate() and EndUpdateBackground() functions. r=roc.
--HG--
extra : rebase_source : cc16e7a77d8d60706cd0406c859aece88d7b18c3
2015-12-17 19:39:09 -08:00
Brian Birtles d0ad270eef Bug 1232563 part 1 - Request a layer update if an animation is newly finished; r=heycam
When requesting restyles we take special care to detect when an animation has
newly finished so we perform the necessary restyle to represent the fill state.
However, we should really explicitly pull the animation off the layer at this
point by requesting a layer update. (That is, when an animation is
newly-finished we should use RestyleType::Layer instead of
RestyleType::Standard. Currently we just use RestyleType::Standard.)

In this bug we plan to move restyle requests down to the effect (since it is
the *effect* that is restyled). However, only the Animation has the notion of
"finished" or not so we detect this particular case in the Animation and
request the layer update there. We already request layer updates in the
Animation for other situations such as pausing so doing *layer* updates in the
Animation and regular restyles in the effect is not inconsistent.

This patch also tweaks test_animations_omta.html since it was previously
erroneously testing that a finished animation was still running on the
compositor.

--HG--
extra : rebase_source : 3cd1abe2a10370e90cde64b4b42b27326082f6f0
2016-01-06 11:04:06 +09:00
Brian Birtles 0d628b2a55 Bug 1232561 part 4 - Add EffectCompositor::ComposeAnimationRule; r=heycam
This patch just moves a piece of functionality from
AnimationCollection::EnsureStyleRuleFor to the EffectCompositor. In subsequent
bugs we will move more and more of this functionality across until this
logic is fully contained in the EffectCompositor.

--HG--
extra : rebase_source : 7ffe91adb4ca3d57fc8f6ae3f7e5f7bec91f350b
2016-01-06 11:04:06 +09:00
Brian Birtles f4eeb573d0 Bug 1232561 part 3 - Move AnimValuesStyleRule to a separate file; r=heycam
As we gradually move logic from layout/style/AnimationCommon.cpp to
dom/animation/EffectSet and EffectCompositor it makes sense to let this class
live in its own file inside dom/animation where it is used.

--HG--
extra : rebase_source : aed0632a19800e0ef9d8fe1d03d0364bf1ccc4dc
2016-01-06 11:04:06 +09:00
Brian Birtles a736eafacc Bug 1232561 part 2 - Move the animation style rules from AnimationCollection to EffectSet; r=heycam
This is needed in order to support script-generated animations since they do not
belong to any AnimationCollection.

This patch adopts the naming "animation rule" over "style rule". Currently we
are inconsistent about this (e.g. GetAnimationRule vs EnsureStyleRuleFor).
We don't do a mass rename here but just a few places near where we're touching.
Many of the other references to "style rule" will be revised in this bug or
related bugs so we can fix those references when we come to them.

--HG--
extra : rebase_source : e1f824029b39960915e056328447de256b6c1c6d
2016-01-06 11:04:06 +09:00
Brian Birtles cb3f0f2256 Bug 1232561 part 1 - Replace AppliesToTransitionsLevel() with a cascade level enumeration; r=heycam
Introducing an enum will simplify further patches in this series by providing
a common vocabulary for this distinction.

--HG--
extra : rebase_source : 4afbd358a401853df3ad401f2b1c3454ccff26cd
2016-01-06 11:04:05 +09:00
Brian Birtles bf0b758990 Bug 1229280 - Move animation generation from AnimationCollection to EffectSet; r=dbaron
--HG--
extra : rebase_source : 26a942c8c6058e629e7d7ed549eb1fcdf7f6d399
2016-01-06 11:04:05 +09:00
Brian Birtles 741d976ea1 Bug 1228229 part 10 - Remove no-longer-used cascade functions; r=dbaron
--HG--
extra : rebase_source : 3cdff84fefbc24796abf2d765f6f40062dd7941f
2016-01-06 11:04:05 +09:00
Brian Birtles 96f4a19af3 Bug 1228229 part 9 - Use EffectCompositor::UpdateCascadeResults; r=dbaron
--HG--
extra : rebase_source : c294befb9b57564f17c9c22d8fc0f37e7792eaed
2016-01-06 11:04:05 +09:00
Brian Birtles 144a09f431 Bug 1228229 part 7 - Add a method to Animation to indicate if it applies to the transitions level of the cascade; r=dbaron
For transitions, this method returns true so long as the transition is
bound to markup. This is based on the below discussion,

  https://github.com/w3c/web-animations/issues/97
  https://github.com/w3c/web-animations/issues/62#issuecomment-117357703
  https://github.com/w3c/web-animations/issues/62#issuecomment-117374689

We will likely reuse this method when we come to implement animation style rule
generation in a more generic manner.

--HG--
extra : rebase_source : fe8a3d09296d7f74cabd59c605cf568d200bb240
2016-01-06 11:04:05 +09:00
Brian Birtles 114b1e3ebd Bug 1228229 part 3 - Factor out a method to get compositor-animatable overridden properties; r=dbaron
This patch also simplifies this logic by simply always looking for overrides of
'transform' and 'opacity'.

--HG--
extra : rebase_source : d1e432e629e2b97651f14c784f97c03f55d217be
2016-01-06 11:04:04 +09:00
Brian Birtles 5d5fb26344 Bug 1228229 part 2 - Add a helper to get the appropriate (pseudo-)element for a frame; r=dbaron
We will use similar logic later in this patch series so we separate it out into
a separate helper function here.

--HG--
extra : rebase_source : 00cb49e7829bdef7a6084059b31fe2ef4b921af5
2016-01-06 11:04:04 +09:00
Eric Rahm b73c259457 Bug 1208584 - Silence unconstrained size warning by default. r=jfkthame
--HG--
extra : rebase_source : 910f4075078362dc28e15ce34e64a89f6aa639b2
2016-01-05 15:46:43 -08:00
Wes Kocher f3d6d2a7a0 Backed out 2 changesets (bug 1235478) for possibly breaking weightmapping-12579.html CLOSED TREE
Backed out changeset 02784824ebf1 (bug 1235478)
Backed out changeset 02c3c24dff8c (bug 1235478)

--HG--
extra : commitid : vpWzuDU0NP
2016-01-05 16:48:24 -08:00
Wes Kocher 52ed1e6ff2 Backed out changeset 3aca7055f52f (bug 1236329) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE
--HG--
extra : commitid : 2RDQomPsA9l
2016-01-05 15:14:48 -08:00
Wes Kocher c708d0c57f Backed out changeset b7cd1bc458a3 (bug 1230172) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE
--HG--
extra : commitid : C1U7fyE3XPN
2016-01-05 15:14:44 -08:00
Hiroyuki Ikezoe 3614d255d8 Bug 1235478 - Part 2: Don't update mMostRecentRefresh when nsRefreshDriver::ScheduleViewManagerFlush is called. r=mchang
--HG--
extra : transplant_source : %86e%80%9D%07%B0K%16%EB%FC%5D%9B%CA%D6%A1_%D2y%A0%7E
2016-01-05 12:50:59 +09:00
Hiroyuki Ikezoe 155e16e777 Bug 1235478 - Part 1: Rename eAdjustingTimer to eForceAdjustTimer. r=mchang
--HG--
extra : transplant_source : 0%E9%E1%19%05%3F3%12%95%C3%A1%CE%22VI%EFe%97%A4%C9
2016-01-05 12:50:59 +09:00
Mats Palmgren 09cc6b1140 Bug 1230665 - Make anonymous flex/grid items non-tabbable and non-focusable. r=roc 2016-01-05 21:27:13 +01:00
Mats Palmgren 4b8629b71e Bug 1233106 part 2 - [css-align] Updated tests due to changes to align-/justify-* properties. 2016-01-05 21:27:13 +01:00
Mats Palmgren 0b1a56d480 Bug 1233106 part 1 - [css-align] Update align-/justify-* properties to the current CSS Align spec (adding 'normal' keyword, dropping 'auto' in some cases etc). r=dholbert
The CSSWG minutes for reference:
https://lists.w3.org/Archives/Public/www-style/2015Dec/0233.html

With subsequent correction for the root node:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0015.html
2016-01-05 21:27:13 +01:00
Mats Palmgren 9fe8aabea0 Bug 1234644 - [css-grid] Avoid calling GetROCSSValueList() when we don't need the allocated object. r=dholbert 2016-01-05 21:27:13 +01:00
Mats Palmgren c6af622ba4 Bug 1230398 - [css-align] Don't output 'unsafe' in serialization because it's the default. r=dholbert
Prompted by a CSS Align spec change:
https://lists.w3.org/Archives/Public/www-style/2015Dec/0067.html
2016-01-05 21:27:13 +01:00
Mats Palmgren 7dfbbcdc35 Bug 1230478 part 2 - [css-align] Change 'true' to 'unsafe' in tests. 2016-01-05 21:27:13 +01:00
Mats Palmgren b600a402ec Bug 1230478 part 1 - [css-align] Rename 'true' to 'unsafe' in <overflow-position>. r=dholbert 2016-01-05 21:27:13 +01:00
Mats Palmgren dd20772a53 Bug 1235152 - [css-break] Don't apply border/padding twice on inlines with box-decoration-break:clone and direction:rtl. r=roc 2016-01-05 21:27:13 +01:00
Jonathan Griffin 59f626fe96 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Boris Zbarsky 3e14025d0a Bug 1230172. Update CSS.escape to never throw and instead replace U+0000 with U+FFFD, per recent spec change. r=dbaron 2016-01-05 15:05:23 -05:00