Mike Conley
1a33d3d8d9
Bug 1449756 - Make DisplayPort suppression PresShell specific and not process global. r=kats
...
Originally, DisplayPort suppression was a process-global static. This change makes it possible
to control DisplayPort suppression on a per-PresShell basis.
Differential Revision: https://phabricator.services.mozilla.com/D1759
2018-06-25 21:42:25 +00:00
Dan Glastonbury
ff951cc67d
Bug 1467621 - P1: nsCSSShadowItem - Change nscolor to StyleComplexColor. r=xidorn
...
MozReview-Commit-ID: moE2CI7fT8
2018-06-19 14:18:33 +10:00
Margareta Eliza Balazs
dcb3d7adb6
Backed out changeset 97d67e0eaccf (bug 1456111) for reftest failures e.g.: worker/workspace/build/tests/reftest/tests/layout/reftests/svg/image/image-x-01.svg on a CLOSED TREE
2018-06-21 14:18:35 +03:00
Matt Woodrow
c2b6437032
Bug 1456111 - Make sure an empty pixel rectangle gets converted to an empty app unit rectangle, regardless of scale factor. r=tnikkel
...
MozReview-Commit-ID: 1S59BARsMzZ
2018-06-21 15:34:25 +12:00
Botond Ballo
f8a0761e22
Bug 1459696 - Improve const-correctness of nsIFrame methods and functions that accept an nsIFrame* argument. r=mstange
...
MozReview-Commit-ID: 9IcL8kfMdIH
2018-05-28 19:58:25 -04:00
Matt Woodrow
2e55428ba6
Bug 1469746 - Rebuild display lists in full when we start/stop computing visibility for plugins. r=miko
...
MozReview-Commit-ID: 3xHoYBBA4Fy
2018-06-20 14:24:46 +12:00
Matt Woodrow
e26e617d7c
Bug 1466024 - Cleanup nsDisplaySubDocument display items when we swap the subdoc into a different outer document. r=miko
...
MozReview-Commit-ID: E4NKiIdXZsY
2018-06-01 17:23:55 +12:00
Hiroyuki Ikezoe
2bf60916ae
Bug 1469220 - Backed out changeset 7fc66c715a0f and 39cb4d5f6602. r=mattwoodrow
...
Those changesets which are related to animations introduced in bug 1462497
seems to cause new crashes. I think the first two changesets for the bug fixed
the original crash cases but the last two (i.e. these changesets) introduced
other crashes unfortunately.
MozReview-Commit-ID: 9LD2hIIXA2y
2018-06-18 06:16:07 +09:00
Daniel Holbert
2558761058
Bug 1468590: Preemptively fix unified build bustage in layout/base. r=emilio
...
This commit just adds some #include directives and "using namespace" directives.
(The "using namespace mozilla::dom;" are the important namespace directives
here, though I've included "using namespace mozilla;" alongside it as well, for
completeness/consistency.)
Differential Revision: https://phabricator.services.mozilla.com/D1647
2018-06-13 20:39:58 +00:00
Kartikaya Gupta
b90ec76f34
Bug 1436409 - Remove the layout.event-regions.enabled pref and bake it in as false everywhere. r=tnikkel
...
This pref was used to enable the building of nsDisplayLayerEventRegions
items without APZ, so that we could test it in isolation. However, we no
longer need to do so, and these display items are going to be deleted
anyway, so we can remove this pref.
MozReview-Commit-ID: LJVcFafCKyS
2018-06-08 17:31:27 -04:00
Andreea Pavel
0ac39ad7bb
Merge mozilla-central to autoland. a=merge
2018-06-03 07:27:01 +03:00
Jonathan Kew
eac5a12be4
Bug 1463115 - Try to skip irrelevant (collapsed/trimmed) whitespace when collecting used font faces for devtools inspector. r=jwatt
2018-05-24 14:44:09 +01:00
Mats Palmgren
92628443d0
Bug 1462854 part 2 - [css-grid] Handle [max-]width/height percentages in min-size contributions according to spec. r=dholbert
...
Background:
https://github.com/w3c/csswg-drafts/issues/2674
calc() percentages for replaced boxes are still not according to spec.
Bug 1463700 will fix that.
2018-06-02 00:08:26 +02:00
Mats Palmgren
ebc6470919
Bug 1462854 part 1 - Factor out "percentage on replaced box that should resolve against zero" test (idempotent patch). r=dholbert
2018-06-02 00:08:26 +02:00
Jonathan Kew
43a1dd8b64
Backed out changeset 36687c035662 (bug 1463115) for frequent mochitest failures on Linux-debug
2018-06-01 18:03:13 +01:00
Jonathan Kew
52887619eb
Bug 1463115 - Try to skip irrelevant (collapsed/trimmed) whitespace when collecting used font faces for devtools inspector. r=jwatt
2018-05-24 14:44:09 +01:00
Gerald Squelart
a16ba9f383
Bug 1457373 - Remove text-combine-upright digits option - r=xidorn
...
MozReview-Commit-ID: Ehzsd2rmBER
2018-05-17 15:29:17 +10:00
Xidorn Quan
8908709eb0
Bug 1463687 - Apply scrollbar style of root element to scrollbars of viewport. r=heycam
...
MozReview-Commit-ID: GWmhehtqO1U
2018-05-24 16:34:58 +10:00
Noemi Erli
1d53602d8b
Backed out changeset ac922efad9fd (bug 1463687) for failures in build/build/src/layout/base/nsLayoutUtils.cpp on a CLOSED TREE
2018-05-24 13:55:51 +03:00
Xidorn Quan
516f7e0ff0
Bug 1463687 - Apply scrollbar style of root element to scrollbars of viewport. r=heycam
...
MozReview-Commit-ID: GWmhehtqO1U
2018-05-24 16:34:58 +10:00
Markus Stange
ac58b4dd28
Bug 1462784 - Annotate layout-related stacks with the LAYOUT category instead of the GRAPHICS category. r=njn
...
MozReview-Commit-ID: 77lvtLaxgEE
2018-05-18 17:46:59 -04:00
Csoregi Natalia
27ccec9c4c
Backed out 18 changesets (bug 1462784) for ESlint failure on FlameGraph.js:1297. CLOSED TREE
...
Backed out changeset 79556798ff9f (bug 1462784)
Backed out changeset 88321efb673b (bug 1462784)
Backed out changeset 7880f9dc7023 (bug 1462784)
Backed out changeset 71fe35fd1f7e (bug 1462784)
Backed out changeset a543b94b049a (bug 1462784)
Backed out changeset d1ca8b0f2221 (bug 1462784)
Backed out changeset 68eabfbf3c16 (bug 1462784)
Backed out changeset 34e71c789903 (bug 1462784)
Backed out changeset 6fe79d1ca1bd (bug 1462784)
Backed out changeset e5ad2e525ea9 (bug 1462784)
Backed out changeset 329645ff1e23 (bug 1462784)
Backed out changeset e09c38853172 (bug 1462784)
Backed out changeset 0663d1a6d2da (bug 1462784)
Backed out changeset 106967fc29d2 (bug 1462784)
Backed out changeset 99b4a433a8e5 (bug 1462784)
Backed out changeset 1d38a4cf5a4a (bug 1462784)
Backed out changeset 692017229de6 (bug 1462784)
Backed out changeset c2911a626671 (bug 1462784)
2018-06-01 23:42:00 +03:00
Markus Stange
2b8117f4e0
Bug 1462784 - Annotate layout-related stacks with the LAYOUT category instead of the GRAPHICS category. r=njn
...
MozReview-Commit-ID: 77lvtLaxgEE
2018-05-18 17:46:59 -04:00
Noemi Erli
3946d17555
Backed out 18 changesets (bug 1462784) for failures in devtools/client/performance/test/unit/test_tree-model-08.js on a CLOSED TREE
...
Backed out changeset a74d36598442 (bug 1462784)
Backed out changeset c8192175f360 (bug 1462784)
Backed out changeset cde492240e99 (bug 1462784)
Backed out changeset 8c8d30fa406c (bug 1462784)
Backed out changeset ad3802ffb780 (bug 1462784)
Backed out changeset 2fe10732076c (bug 1462784)
Backed out changeset 268a72b7c3c4 (bug 1462784)
Backed out changeset 4055eb6c3bc6 (bug 1462784)
Backed out changeset 3901070e2e60 (bug 1462784)
Backed out changeset 2faf787fbbdf (bug 1462784)
Backed out changeset 8f06963c7c6f (bug 1462784)
Backed out changeset 036e6f64e224 (bug 1462784)
Backed out changeset e670f156a603 (bug 1462784)
Backed out changeset cd39588aece4 (bug 1462784)
Backed out changeset 2ac65d100fa2 (bug 1462784)
Backed out changeset ea05ff70a51d (bug 1462784)
Backed out changeset 8a06c0ba42f7 (bug 1462784)
Backed out changeset 52ed9a039ad2 (bug 1462784)
2018-06-01 01:06:29 +03:00
Markus Stange
a7eaa54e15
Bug 1462784 - Annotate layout-related stacks with the LAYOUT category instead of the GRAPHICS category. r=njn
...
MozReview-Commit-ID: 77lvtLaxgEE
2018-05-18 17:46:59 -04:00
Matt Woodrow
a927620bf8
Bug 1462497 - Part 4: Only use the MayHaveAnimation variants when computing useOpacity in case the more accurate version changes results between paints. r=hiro
...
I don't think this part is necessary, but putting the patch up in case we decide we want to take it.
MozReview-Commit-ID: G0JTNddvZma
2018-05-23 11:03:54 +12:00
Emilio Cobos Álvarez
9382157f00
Bug 1414303: Make nsLayoutUtils::CompareTreePosition handle Shadow DOM in a sensible way. r=xidorn
...
We probably need more fixes for counters and Shadow DOM. The spec only mentions
"document order", and this is the most reasonable thing to do accounting for
shadow DOM in that regard...
This ensures a reasonable behavior for all callers which pretty much expect
otherwise for all children to be connected.
MozReview-Commit-ID: YEQIKdjRTK
2018-05-14 16:34:45 +02:00
Brian Birtles
b48a10996d
Bug 1456394 - Merge KeyframeEffectReadOnly and KeyframeEffect; r=bz,hiro
...
MozReview-Commit-ID: FvTMGjxfRXk
2018-05-07 11:08:59 +09:00
Brian Birtles
1319f89405
Bug 1456394 - Rename KeyframeEffectReadOnly.{h,cpp} to KeyframeEffect.{h,cpp}; r=bz,hiro
...
MozReview-Commit-ID: 5Q7oQV8vmgS
2018-05-07 11:07:06 +09:00
Chris Peterson
5d6b16ea3b
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00
Xidorn Quan
32e77cf566
Bug 1457802 part 2 - Remove pref callbacks touching keyword tables from nsLayoutUtils. r=heycam
...
MozReview-Commit-ID: 8ZTyx9es772
2018-04-30 09:26:37 +10:00
Boris Zbarsky
85b5a11efc
Bug 1455052 part 7. Remove nsIDOMEvent use from layout. r=masayuki
...
MozReview-Commit-ID: 2OfAXBR8G5M
2018-04-20 12:53:17 -04:00
Boris Zbarsky
7cd02511ad
Bug 1455055 part 3. Clean up HandleEvent implementations in layout. r=masayuki
...
MozReview-Commit-ID: 7Irm8aAmeIt
2018-04-20 00:49:29 -04:00
Jonathan Kew
c7874269af
Bug 1358450 - Remove the layout.css.float-logical-values.enabled pref, now that we support the logical values everywhere. r=heycam
2017-04-21 11:58:17 +01:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Zhang Junzhi
57480ed6de
Bug 1358017 - Part 5: Implements the "honour root" functionality for the auto-dir scrolling feature in APZ r=kats
...
With this commit, all the auto-dir scrolling functionalities are completed in
APZ.
MozReview-Commit-ID: L7qa3xOD8t9
2018-03-16 21:20:39 +08:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Mats Palmgren
f3a0c9e1e8
Bug 1434478 part 6 - Propagate a percentage basis to nsIFrame::IntrinsicISizeOffsets for resolving padding/margin. r=dholbert
...
This is needed only for CSS Grid since in other cases we're
only using IntrinsicISizeOffsets in the inline-axis and
the percentage basis is always indefinite for *intrinsic
sizing*. When calculating the intrinsic size of grid items
in the grid container's block axis however, we do have
a definite size for the grid area in the inline-axis and it
should be used per:
https://drafts.csswg.org/css-grid/#algo-overview
"2. Next, the track sizing algorithm resolves the sizes of
the grid rows, using the grid column sizes calculated in
the previous step."
(Percentage padding/margin for grid items is always resolved
against the grid area's inline-size nowadays.)
2018-04-10 00:16:58 +02:00
Mats Palmgren
c985c06abd
Bug 1434478 part 5 - Create nsLayoutUtils::ResolveToLength for resolving CSS <length-percentage> (idempotent patch). r=dholbert
2018-04-10 00:16:58 +02:00
Mats Palmgren
19c9f7ee3a
Bug 1434478 part 2 - Stop back-computing percentage padding/margin when the percentage basis is indefinite. Treat them as zero sized instead. r=dholbert
2018-04-10 00:16:57 +02:00
Emilio Cobos Álvarez
65978b31f3
Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
...
Couldn't find an easy way of splitting these up :(
MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 11:19:49 +02:00
Noemi Erli
b15aabf388
Backed out 3 changesets (bug 1452080) for bustage in /builds/worker/workspace/build/src/layout/base/nsCSSFrameConstructor.cpp on a CLOSED TREE
...
Backed out changeset 7f5104c7a242 (bug 1452080)
Backed out changeset 806a9c95a243 (bug 1452080)
Backed out changeset bffebe8aa254 (bug 1452080)
2018-04-09 11:18:12 +03:00
Emilio Cobos Álvarez
9c4328ca42
Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
...
Couldn't find an easy way of splitting these up :(
MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 09:57:55 +02:00
Emilio Cobos Álvarez
3284a9dda8
Bug 1447827: Remove ServoRestyleManager. r=xidorn
...
MozReview-Commit-ID: CFafQsb4rQn
2018-04-07 15:50:06 +02:00
Nicholas Nethercote
8012e8456e
Bug 1448225 - Convert StylePrefs to StaticPrefs. r=emilio
...
The new StaticPrefs machinery means that StylePrefs can be removed.
Note that this approach mirrors all static prefs into Rust, but I have only
updated structs.rs for the prefs that Stylo uses.
On a CLOSED TREE, since a sheriff closed the tree while I was about to land this
via autoland.
MozReview-Commit-ID: G1SY0987WJ7
2018-04-03 09:06:20 +02:00
Mats Palmgren
9214eecbed
Bug 1398537 part 2 - [css-multicol] Implement percentages for 'column-gap' (Gecko part). r=dholbert
2018-04-02 01:56:19 +02:00
Xidorn Quan
ea8b8b1e74
Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio
...
This patch basically does:
* remove StyleSetHandle and its corresponding files
* revisit #includes of related header files and change correspondingly
* change nsIPresShell::mStyleSet to be UniquePtr<ServoStyleSet>
* change the creating path of ServoStyleSet to pass UniquePtr
* change other mentions of StyleSetHandle to ServoStyleSet*
* remove AsServo() calls on ServoStyleSet
Some unfortunate bits:
* some methods of (Servo)StyleSet only accepts ServoStyleSheet while
many places call into the methods with StyleSheet, so there are many
->AsServo() added to sheets
MozReview-Commit-ID: K4zYnuhOurA
2018-03-29 22:15:46 +11:00
Boris Zbarsky
cfeb9c06b9
Bug 1449404 part 4. Get rid of a few virtual nsIContent methods. r=mccr8
...
The HasTextForTranslation implementation was just moved, with the nodetype
check up front dropped because that's enforced statically now.
2018-03-28 18:01:47 -04:00
Tim Nguyen
b231b41757
Bug 1381453 - Support SVG context paint on ::-moz-tree-twisty list-style-image. r=dholbert
...
MozReview-Commit-ID: E9966Bwog5W
2018-03-27 00:08:16 +00:00
Jonathan Watt
19a102f496
Bug 1448294 - Clean up naming of 'styleContext' variables after the big nsStyleContext rename. r=emilio
...
Reviewers: emilio
Bug #: 1448294
Differential Revision: https://phabricator.services.mozilla.com/D796
MozReview-Commit-ID: KJq2i9nrg7y
2018-03-25 20:49:58 +02:00