Gerald Squelart
4f464ee036
Bug 1211330 - Removed CSS pref layout.css.unset-value.enabled - r=heycam
...
Feature is mature and doesn't need pref.
In fact, it was not used in code anymore, only in tests.
MozReview-Commit-ID: AbH8OCiksDa
2018-06-28 16:10:56 +10: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
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
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
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
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
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
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
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
0d637cadcb
Bug 1434478 part 4 - Factor out constants like NS_UNCONSTRAINEDSIZE so they can be used in headers without needing nsIFrame.h (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
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
Bogdan Tara
1af77ddd59
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-03-27 12:15:05 +03: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
baf9ffb02b
Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio
2018-03-23 13:49:21 +00:00
Emilio Cobos Álvarez
1d4859a89a
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
97286b35c8
Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
...
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.
MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez
1f5d8de5cc
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
Emilio Cobos Álvarez
076354eb25
Bug 1447611: Cleanup prefs that do nothing now. r=jwatt
...
Still more followup cleanup to come.
MozReview-Commit-ID: 83j7DTVb0Ti
2018-03-21 19:13:56 +01:00
Csoregi Natalia
96a3c6af7f
Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
...
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez
653c8a2aaf
Bug 1447611: Cleanup prefs that do nothing now. r=jwatt
...
Still more followup cleanup to come.
MozReview-Commit-ID: 83j7DTVb0Ti
2018-03-21 17:25:00 +01:00
Emilio Cobos Álvarez
b1a35fbef7
Bug 1447358: Unifdef the old style system code. r=jwatt
...
Summary:
This has been automatically generated using:
http://dotat.at/prog/unifdef/
And:
find $OBJDIR -type f -name '*.h' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
MozReview-Commit-ID: I4NdKqbMXzJ
Reviewers: jwatt
Bug #: 1447358
Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Jonathan Kew
0a61713d87
Bug 1439524 - Clamp glyph-run offsets appropriately for the current frame's content to avoid potential failure to create the Range. r=dholbert
2018-02-20 20:46:51 +00:00
Bas Schouten
6045a3bb22
Bug 1437492 - Part 2: Based on profile data, use the simple-matrix optimized matrix class in some places. r=mattwoodrow
...
MozReview-Commit-ID: EBRrGXc2wEj
2018-02-17 00:43:38 +01:00
Jonathan Kew
f666d1d559
Bug 1435989 - Add a 'ranges' attribute to the InspectorFontFace object, to expose ranges of text that were rendered with a specific font. r=bz,dholbert
2018-02-15 18:48:22 +00:00
Cameron McCormack
34288f7f48
Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
...
MozReview-Commit-ID: CIHyPdF7Exl
2018-02-01 15:04:04 +11:00
Cameron McCormack
02c617875f
Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
...
MozReview-Commit-ID: 1FZ9VzjcPzN
2018-02-01 15:04:04 +11:00
Jeremy Chen
92e6cef851
Bug 1426223 - remove Stylo domain blocklist mechanism. r=xidorn
...
MozReview-Commit-ID: 2Kcla56H3wJ
2018-01-30 11:58:32 +01:00
Jeremy Chen
f6a2f91ed9
Bug 1426223 - remove tests for Stylo blocklist mechanism. r=xidorn
...
In this patch, we remove 3 tests:
1. test for blocked domain
2. test for blocked sub-domain
3. test for non-blocked domain
Two nsIDOMWindowUtils APIs were added for adding/removing a mock domain to the
existing blocklist. They are only used in the Stylo blocklist tests, so we
remove them as well.
MozReview-Commit-ID: A0ETWlqwbpN
2018-01-30 11:58:24 +01:00
Cameron McCormack
34b004b84e
Bug 1406274 - Re-enable stylo in about:reader. r=xidorn
...
Remove the about:reader check for <style scoped>, too, since that is no
longer needed.
MozReview-Commit-ID: Zomjn1WDvp
2018-01-17 14:10:45 +08:00
KuoE0
da575c9d20
Bug 1428297 - (Part 1) Add an nsLayoutUtils function to check whether content-select is enabled r=mats
...
MozReview-Commit-ID: KVQ25Dhl9xl
2018-01-11 10:37:41 +08:00
Cameron McCormack
908735845d
Bug 1427419 - Part 22: Move inIDOMUtils.getUsedFontFaces to InspectorUtils. r=bz
...
This also changes the function to return a sequence (JS Array) instead of
an nsFontFaceList object, and converts nsFontFace/nsIDOMFontFace into a
Web IDL implemented object too.
MozReview-Commit-ID: 1iAW3DYe5kO
2018-01-11 12:38:01 +08:00
Emilio Cobos Álvarez
8a71d3197b
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ecd202d763
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
b3956b6171
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-07 19:13:50 +01:00
Matt Woodrow
00d3947a6b
Bug 1413546 - Add pref to allow retained display lists within the parent process. r=jet
2017-12-22 11:45:32 +13:00
Samathy Barratt
6e82a231e6
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r+tnikkel r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
2017-12-11 15:37:59 +00:00
Ciure Andrei
d5988c3191
Backed out changeset 8e33d0ce108c (bug 1351447) for failing /builds/worker/workspace/build/src/widget/cocoa/nsCocoaUtils on OS X r=backout a=backout on a CLOSED TREE
2017-12-12 09:49:59 +02:00
Samathy Barratt
54acaa2cd8
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
2017-12-11 15:37:59 +00:00
Emilio Cobos Álvarez
c10ea9ea04
Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz
...
MozReview-Commit-ID: 6WXqNiODttD
2017-12-06 16:05:59 +01:00
Gurzau Raul
0bbc22b80e
Merge inbound to mozilla-central r=merge a=merge
2017-12-06 11:53:55 +02:00