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

63043 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 174a529299 Bug 1444852 - nsIFrame::BuildDisplayListForChild Remove the init step as the result is unused r=miko
MozReview-Commit-ID: G07Fwu1aw0M

--HG--
extra : rebase_source : 0732665c062587c813ec7002704d23006ee33ccf
2018-03-12 12:28:00 +01:00
Austin Lasher 8b3e103464 Bug 1421563 - Remove TryOptimizeToImageLayer declaration; r=kechen,mattwoodrow
TryOptimizeToImageLayer was renamed/repurposed in c0654f3b986d, but
the old declaration was never removed.

MozReview-Commit-ID: 52JJofv3u3t

--HG--
extra : rebase_source : 959bee3f9c1bbab9f4b456fcfd4d8fe1ff1655f7
2018-02-20 23:31:09 -05:00
Brian Birtles 40fad942d5 Bug 1382841 - Rename test_XXX_to_rename.html files in layout/style/test to test_XXX.html; r=hiro
MozReview-Commit-ID: Fes2hiyypWV

--HG--
rename : layout/style/test/test_animations_effect_timing_duration_to_rename.html => layout/style/test/test_animations_effect_timing_duration.html
rename : layout/style/test/test_animations_effect_timing_enddelay_to_rename.html => layout/style/test/test_animations_effect_timing_enddelay.html
rename : layout/style/test/test_animations_effect_timing_iterations_to_rename.html => layout/style/test/test_animations_effect_timing_iterations.html
rename : layout/style/test/test_animations_iterationstart_to_rename.html => layout/style/test/test_animations_iterationstart.html
rename : layout/style/test/test_animations_pausing_to_rename.html => layout/style/test/test_animations_pausing.html
rename : layout/style/test/test_animations_playbackrate_to_rename.html => layout/style/test/test_animations_playbackrate.html
rename : layout/style/test/test_animations_reverse_to_rename.html => layout/style/test/test_animations_reverse.html
rename : layout/style/test/test_animations_styles_on_event_to_rename.html => layout/style/test/test_animations_styles_on_event.html
rename : layout/style/test/test_transitions_replacement_on_busy_frame_to_rename.html => layout/style/test/test_transitions_replacement_on_busy_frame.html
2018-03-12 16:08:36 +09:00
Brian Birtles f916dc68ff Bug 1382841 - Remove old test_XXX openers that just set the dom.animations-api.core.enabled pref from layout/style/test**; r=hiro
As with an earlier patch in this series, we rename the file_* test content files
to test_*_to_rename.html in this patch, and then in a subsequent patch drop the
_to_rename suffix so that we can trace the history of the test_* files back to
their file_* equivalents.

MozReview-Commit-ID: Jes8xSQzkCF

--HG--
rename : layout/style/test/file_animations_effect_timing_duration.html => layout/style/test/test_animations_effect_timing_duration_to_rename.html
rename : layout/style/test/file_animations_effect_timing_enddelay.html => layout/style/test/test_animations_effect_timing_enddelay_to_rename.html
rename : layout/style/test/file_animations_effect_timing_iterations.html => layout/style/test/test_animations_effect_timing_iterations_to_rename.html
rename : layout/style/test/file_animations_iterationstart.html => layout/style/test/test_animations_iterationstart_to_rename.html
rename : layout/style/test/file_animations_pausing.html => layout/style/test/test_animations_pausing_to_rename.html
rename : layout/style/test/file_animations_playbackrate.html => layout/style/test/test_animations_playbackrate_to_rename.html
rename : layout/style/test/file_animations_reverse.html => layout/style/test/test_animations_reverse_to_rename.html
rename : layout/style/test/file_animations_styles_on_event.html => layout/style/test/test_animations_styles_on_event_to_rename.html
rename : layout/style/test/file_transitions_replacement_on_busy_frame.html => layout/style/test/test_transitions_replacement_on_busy_frame_to_rename.html
2018-03-12 16:08:36 +09:00
Robert Longson 7709e9b3e1 Bug 1444666 - get rid of nsSVGUtils version of GetStrokeDashData and replace by SVGContentUtils::GetStrokeOptions r=jwatt 2018-03-11 16:11:24 +00:00
Daniel Holbert 296a409c95 Bug 1444481 part 3: #include nsStringFwd.h rather than nsString.h in some layout/style headers. r=xidorn
These files only use references to string types, e.g. "nsAString&", so they
only need forward-declarations of these types -- not the full definition.

Note that the last file here (nsStyleUtil.h) already has an #include for
nsStringFwd.h, which is why that files change is just a pure removal (of the
unnecessary nsString.h #include).

MozReview-Commit-ID: 9sLSyeBS49M

--HG--
extra : rebase_source : 683a2c621f7b7cae754f129effabd9defe7ba665
2018-03-09 11:55:12 -08:00
Daniel Holbert db1f9ead22 Bug 1444481 part 2: Replace unneeded #includes in nsStyleConsts.h with more specific ones (and add missing headers to nsStyleCoord.h). r=xidorn
nsStyleConsts.h doesn't use anything from gfxRect.h or nsFont.h, so this patch
removes those #includes from it. However, it does need some other headers that
it was pulling in indirectly via those #includes, which I'm now making it
*directly* #include. Specifically, it needs:
 - inttypes.h for "uint8_t"
 - gfxFontConstants.h for NS_FONT_WEIGHT_BOLD and related constants.

On its own, the above changes cause build errors in nsStyleCoord.h, because
that other header has an #include for nsStyleConsts.h, which it was
inadvertently depending on (very indirectly) to provide some definitions (via
the aforementioned removed #includes). So we need to give nsStyleCoord.h some
new #includes to directly provide what it needs & keep it
compiling. Specifically:
 - mozilla/gfx/Types.h for the mozilla::Side type
 - nsISupportsImpl.h for the NS_INLINE_DECL_THREADSAFE_REFCOUNTING macro

MozReview-Commit-ID: BDlaIIOQiPE

--HG--
extra : rebase_source : a16f85f030330ff009461c4d48028327cc4ba0cf
2018-03-09 11:53:22 -08:00
Botond Ballo 674b1aad72 Bug 1307555 - Create a hit test info item for a scroll frame's scrolled frame that's not clipped to the displayport. r=mstange
MozReview-Commit-ID: 5MJg4zqxSAk

--HG--
extra : rebase_source : eecfc53d0951112d2e6cb8bc8aa62ae27a4d9d93
2018-02-26 19:03:32 -05:00
Mike Conley 106d68a34a Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 75f51378401f0ca63384a9df52a5e5f04e00bb9d
2018-02-28 16:15:51 -05:00
Emilio Cobos Álvarez ba8a820351 Bug 1444507: Remove unused binding functions. r=bholley
MozReview-Commit-ID: EGceLrhKVIm

--HG--
extra : rebase_source : ce46652a15b9e7700cd2f1c5235f77439ffeb246
2018-03-09 20:10:22 +01:00
Andreea Pavel e843cc64e7 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-09 21:35:33 +02:00
Andreea Pavel a3a0c1c649 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-09 21:33:50 +02:00
Emilio Cobos Álvarez ac276d4193 Bug 1434692: Add a WPT test for calc font-variation-settings. r=dholbert
Summary:
Along with other internal tests. Tests for font-feature-settings exist, they're
not synced yet.

Reviewers: dholbert

Reviewed By: dholbert

Bug #: 1434692

Differential Revision: https://phabricator.services.mozilla.com/D544

MozReview-Commit-ID: BfGSZMh9Hss
2018-03-09 12:15:09 +01:00
Emilio Cobos Álvarez 79d8c2b1b9 Bug 1444249: Re-enable test_webkit_flex_display.html on stylo linux debug. r=xidorn
Should pass fine.

Was disabled in Bug 1380053, presumably because it asserted or what not at that
point? Who knows.

MozReview-Commit-ID: LSH6ZId9Ezj

--HG--
extra : rebase_source : fb1bfeae35442d2acc65b8f5ceb8ee1f75f33303
2018-03-09 01:15:34 +01:00
Dorel Luca 30edeead7c Merge mozilla-central to mozilla-inbound. a=merge 2018-03-09 12:01:54 +02:00
Dorel Luca 950dc4ffdd Backed out 2 changesets (bug 1440753) for talos bustages
Backed out changeset 75ccc12de326 (bug 1440753)
Backed out changeset d9297cea0239 (bug 1440753)
2018-03-09 11:44:17 +02:00
Robert Longson 81b5779eda Bug 1325320 - change SVGGeometryElement::GetOrBuildPath to take DrawTarget as a pointer since all its callers have drawTarget as a pointer themselves.
This is consistent with most other methods that take a drawTarget parameter r=dholbert

--HG--
extra : amend_source : 77aa7f7d9cb19f9aa08014fff3b209dc151b75f3
2018-03-09 07:36:13 +00:00
Bas Schouten e15b1f553e Bug 1440753 - Addendum: Initialize local bool to satisfy valgrind which somehow got upset. r=mattwoodrow
MozReview-Commit-ID: AWmaObPEZHH
2018-03-09 07:05:21 +01:00
Bas Schouten cf1a0d14c2 Bug 1440753: Replace pixman regions with our own region code. r=mattwoodrow
MozReview-Commit-ID: KPsTAw3Uwa2
2018-03-09 05:27:15 +01:00
Nicholas Nethercote 0e2f1f5ab8 Bug 1444031 - Rename nsStaticAtom::mAtom as mAtomp. r=froydnj
Because (a) that name better indicates that it's a pointer to a pointer, and
(b) because nsStaticAtom::mString is going to be renamed as mAtom in bug
1411469.

MozReview-Commit-ID: D5tuNOstMgr

--HG--
extra : rebase_source : 9344eeea0288c8c52c069ce21e8bc55f6e0f3f6f
2018-03-08 11:42:06 +11:00
Csoregi Natalia d61cdcf041 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-09 02:20:43 +02:00
Narcis Beleuzu 67adc3007a Merge mozilla-central to autoland. CLOSED TREE 2018-03-08 20:03:58 +02:00
Brindusan Cristian eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Brindusan Cristian 588d8120aa Merge autoland to mozilla-central. a=merge 2018-03-08 19:58:38 +02:00
Narcis Beleuzu d069c08959 Backed out changeset 93a515ea1721 (bug 1442020) for bc failures on /browser_devices_get_user_media_tear_off_tab.js. a=backout 2018-03-08 19:48:58 +02:00
Brindusan Cristian 9b55951a57 Backed out changeset 2c63728fdf4b (bug 1438990) for reftest failures on clipping-6.html 2018-03-08 14:24:33 +02:00
Matt Woodrow 7636eef464 Bug 1440966 - Store optimized Layer in DisplayItemData as part of AddPaintedLayerFor. r=jnicol 2018-03-07 15:42:43 +13:00
Matt Woodrow e08fd4e616 Bug 1438990 - Remove common clip count code from FrameLayerBuilder, as it's no longer necessary now that we have ASRs. r=mstange
* * *
[mq]: fix

MozReview-Commit-ID: F3tlwtmGlvL
2018-03-07 15:40:42 +13:00
Matt Woodrow 20a885856b Back out changeset dd8af18e26d4 (Bug 1439809) for having incorrect merging behaviour and causing crashes. r=backout 2018-03-08 20:00:41 +13:00
Xidorn Quan ae0176dff3 Bug 1443046 - Construct URLValue eagerly and share it between specified value and style structs. r=emilio
MozReview-Commit-ID: CxbAsRzTNYm

--HG--
extra : rebase_source : 51136b3b596fa03b0814a82485399a7dad41c458
2018-03-08 15:08:13 +11:00
Eric Rahm 4f6df203c9 Bug 1442491 - Convert PLHash instances in PressShell to nsClassHashtables. r=dholbert
--HG--
extra : rebase_source : 058ce46be7173da804505caefeb9a4a0bc88e5eb
2018-03-01 18:59:13 -08:00
Eric Rahm 38563e186d Bug 1442480 - Switch nsNodeInfoHash to a nsDataHashTable. r=smaug
This switches `nsNodeInfoHash` to a nsDataHashTable. The hash function and
equality operator are moved to NodeInfoInner so that they can be easily reused.

--HG--
extra : rebase_source : d2e42447a77ffdde620508da28554528ebd78bf8
2018-03-01 15:33:52 -08:00
Kartikaya Gupta 83395962a2 Bug 1443807 - Update reftest annotations for changes in WR PR 2487. r=jrmuizel
MozReview-Commit-ID: 2GmItjRPNBz

--HG--
extra : rebase_source : b37f1e1894eaf325ff1cb488fc08a15feddaf487
2018-03-09 08:39:46 -05:00
Neerja Pancholi a972280d60 Bug 1338039 - Add extremely permissive fuzzy annotation for box-sizing-replaced-001.xht to prevent failures due to paint delay reduction. r=dholbert
The test that we are updating the fuzzy annotation for is the W3C copy. There is an *existing* local copy of this test that
was created as part of Bug 1295466 (copy of test is here->https://searchfox.org/mozilla-central/source/layout/reftests/bugs/1295466-1.xhtml)
and this copy is the stricter modified version which makes it ok for us to have this extremely permissive annotation on the W3C copy.

MozReview-Commit-ID: 2qXSbVONl64

--HG--
extra : rebase_source : f8b1eb2f79a9bc60155f0b8f2eaedc248fba38d8
2018-03-07 13:59:50 -08:00
Daniel Holbert 5110d9e202 Bug 1443672: Adjust a few .cpp files in layout to #include their own header first. r=emilio
MozReview-Commit-ID: L4ZSDT5Akhi

--HG--
extra : rebase_source : 4795c4eaf84957639f446471788697956fe2bf17
2018-03-06 15:59:36 -08:00
Botond Ballo b4385a3fda Bug 1442767 - Rename Box to RectAbsolute (Gecko changes). r=kats
MozReview-Commit-ID: 1wrzwQw8bdx

--HG--
rename : gfx/src/nsCoordBox.h => gfx/src/nsRectAbsolute.h
extra : rebase_source : ec71a9add57c07887cb37f2d105390072e13d98d
2018-03-05 18:08:18 -05:00
Mike Conley b797442465 Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 283c263a33b924e50170ae26f049d98b825f6f1d
2018-02-28 16:15:51 -05:00
Hiroyuki Ikezoe 581ad12972 Bug 1443423 - Call Animation::Play() or Pause() directly from CSSAnimation::XXXFromStyle(). r=birtles
When CSS animation playState is changed, we should call RequestRestyle(Layer)
to reflect the new state to the compositor just like when animation timing
params are changed.

MozReview-Commit-ID: JNDBco5uuK2

--HG--
extra : rebase_source : cc7de301efdb18a97597d94682ff2329ee1f60d6
2018-03-07 11:48:30 +09:00
Hiroyuki Ikezoe be2fe6bf8c Bug 1437272 - Split nsTimingFunction into an independent header file. r=birtles
So that we don't need to include nsStyleStruct.h in gfx any more.

MozReview-Commit-ID: 6nOaAbssLCz

--HG--
extra : rebase_source : 9c195c90277a4584dc14a6949e9eea53bcd8487c
2018-03-08 18:22:45 +09:00
Emilio Cobos Álvarez 00c01ddc68 Bug 1443753: Tidy PresShell.h. r=dholbert
Summary:
 * Remove unnecessary virtual, since we also override.
 * Remove unnecessary mozilla:: qualification, since we are in the mozilla
   namespace already.
 * Avoid inconsistently-followed member-variable indentation.
 * Make the destructor not virtual, since it doesn't override anything and this
   is a final class (the destructor is called from the virtual Release()).

Reviewers: dholbert

Bug #: 1443753

Differential Revision: https://phabricator.services.mozilla.com/D690

MozReview-Commit-ID: Hy2aKuhoOKd
2018-03-08 09:26:14 +01:00
Brad Werth 8481de6863 Bug 1444227 Part 1: Re-enable the test on stylo. r=emilio
MozReview-Commit-ID: KSwcm7SV2Jo

--HG--
extra : rebase_source : 26947bac92356cd382d9872a24a47634e9415334
2018-03-08 14:30:10 -08:00
Hiroyuki Ikezoe e6806e41d7 Bug 1444221 - #ifdef out some animation related stuff for MOZ_OLD_STYLE. r=xidorn
MozReview-Commit-ID: 9VC4qUbO6uK

--HG--
extra : rebase_source : 79113eb99cd784dc9a591bb9529381a932f07f97
2018-03-09 07:09:44 +09:00
L. David Baron eabc90a51d Bug 1444136 - Move images into support subdirectory so they work in the built CSS testsuite. r=gsnedders
This patch was written using the commands (in layout/reftests/w3c-css/submitted/background/):
```
mkdir support
hg mv *.png support/
ls support/ | while read FNAME; do sed -i -e "s,$FNAME,support/$FNAME,g" *.html; done
```

MozReview-Commit-ID: AqOcWOZPi3Y

--HG--
rename : layout/reftests/w3c-css/submitted/background/aqua-yellow-32x32.png => layout/reftests/w3c-css/submitted/background/support/aqua-yellow-32x32.png
rename : layout/reftests/w3c-css/submitted/background/aqua-yellow-37x37.png => layout/reftests/w3c-css/submitted/background/support/aqua-yellow-37x37.png
rename : layout/reftests/w3c-css/submitted/background/border.png => layout/reftests/w3c-css/submitted/background/support/border.png
rename : layout/reftests/w3c-css/submitted/background/reticule-bl.png => layout/reftests/w3c-css/submitted/background/support/reticule-bl.png
rename : layout/reftests/w3c-css/submitted/background/reticule-bo.png => layout/reftests/w3c-css/submitted/background/support/reticule-bo.png
rename : layout/reftests/w3c-css/submitted/background/reticule-br.png => layout/reftests/w3c-css/submitted/background/support/reticule-br.png
rename : layout/reftests/w3c-css/submitted/background/reticule-ct.png => layout/reftests/w3c-css/submitted/background/support/reticule-ct.png
rename : layout/reftests/w3c-css/submitted/background/reticule-le.png => layout/reftests/w3c-css/submitted/background/support/reticule-le.png
rename : layout/reftests/w3c-css/submitted/background/reticule-ri.png => layout/reftests/w3c-css/submitted/background/support/reticule-ri.png
rename : layout/reftests/w3c-css/submitted/background/reticule-tl.png => layout/reftests/w3c-css/submitted/background/support/reticule-tl.png
rename : layout/reftests/w3c-css/submitted/background/reticule-to.png => layout/reftests/w3c-css/submitted/background/support/reticule-to.png
rename : layout/reftests/w3c-css/submitted/background/reticule-tr.png => layout/reftests/w3c-css/submitted/background/support/reticule-tr.png
rename : layout/reftests/w3c-css/submitted/background/reticule.png => layout/reftests/w3c-css/submitted/background/support/reticule.png
extra : rebase_source : 278586f66ce9ea114da920b0d4df1e5dde5ad278
2018-03-08 12:15:11 -08:00
Daniel Holbert 0b54929413 Bug 1443929: Give RestyleManager.cpp an include for nsTransitionManager.h (which it needs/uses). r=emilio
MozReview-Commit-ID: vtQVYKDcCM

--HG--
extra : rebase_source : 144e7f026429dfa780377ffd82bbaf6a77344100
2018-03-07 13:40:58 -08:00
Noemi Erli 2062223489 Backed out changeset 04fecea9eaf0 (bug 1443672) as per dholbert's request on a CLOSED TREE 2018-03-07 20:55:26 +02:00
Daniel Holbert 93e46d9a9b Bug 1443672: Adjust a few .cpp files in layout to #include their own header first. r=emilio
MozReview-Commit-ID: L4ZSDT5Akhi

--HG--
extra : rebase_source : 4795c4eaf84957639f446471788697956fe2bf17
2018-03-06 15:59:36 -08:00
Bogdan Tara f93e407658 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-07 12:06:25 +02:00
Emilio Cobos Álvarez c976615ed6 Bug 1024082: Remove PresShell::FrameManager(), use PresShell::FrameConstructor instead. r=dholbert
Unfortunately this means that we need to export a couple more headers, but that
should be ok.

In particular, we have to export some headers that are #included by
nsCSSFrameConstructor.h, because nsCSSFrameConstructor.h itself will now be
included in more places outside of layout/, by .cpp files that don't necessarily
have the ability to indirectly #include its other headers, unless we export
them.

MozReview-Commit-ID: 2n9KHW6Yjrd
2018-03-07 10:17:52 +01:00
Emilio Cobos Álvarez 043503a6d4 Bug 1024082: Remove most of the nsIPresShell::FrameManager calls. r=dholbert
Most of them just want GetRootFrame(), and there's no need to explicitly go
through the frame manager for that, we have a handy alias in the shell.

MozReview-Commit-ID: GriEqkasidY
2018-03-07 10:17:49 +01:00
Emilio Cobos Álvarez 72f6feaa97 Bug 1024082: Remove nsFrameManagerBase. r=dholbert
Instead move UndisplayedNode to its own file, which is what causes the include
hell due to requiring nsIContent / nsStyleContext.

MozReview-Commit-ID: 1opiajueZNb
2018-03-07 10:17:48 +01:00