Commit Graph

15286 Commits

Author SHA1 Message Date
Boris Zbarsky
754087a992 Bug 1446940 part 5. Stop getting docshells from windows via getInterface in dom/editor/etc code. r=kmag 2018-08-01 13:07:11 -04:00
Mihir Iyer
f7cad8b983 Bug 1473047 - Re-resolve row-gap percentages after intrinsic block size calculated. r=dholbert
MozReview-Commit-ID: EHX1WFvqwr1

--HG--
extra : rebase_source : fb9c082c1c3f74fcc9404016343eb456cb8948ed
2018-07-24 11:38:54 -07:00
Jonathan Kew
3cc77c781a Bug 1476437 - Correct original-text indexing when checking for explicit hyphens in text where auto-hyphenation is enabled. r=dbaron 2018-07-28 09:23:36 +01:00
Jonathan Kew
1f26457015 Bug 1478574 - Fix off-by-one error in marking explicit hyphens, so we don't introduce spurious pre-hyphen breaks. r=dbaron 2018-07-28 09:23:11 +01:00
Tiberius Oros
339c5c47b4 Backed out 5 changesets (bug 1476437, bug 1478574) for failing hyphenation-control-5.html on windows builds on a CLOSED TREE
Backed out changeset d8d3c9e7b832 (bug 1476437)
Backed out changeset 280aff154491 (bug 1476437)
Backed out changeset e17db916959e (bug 1476437)
Backed out changeset 144a3d2b7da9 (bug 1478574)
Backed out changeset edb45de7ff9d (bug 1478574)
2018-07-28 13:22:54 +03:00
Jonathan Kew
5a78d19b4f Bug 1476437 - Correct original-text indexing when checking for explicit hyphens in text where auto-hyphenation is enabled. r=dbaron 2018-07-28 09:23:36 +01:00
Jonathan Kew
cb26a6d16d Bug 1478574 - Fix off-by-one error in marking explicit hyphens, so we don't introduce spurious pre-hyphen breaks. r=dbaron 2018-07-28 09:23:11 +01:00
Jonathan Kew
f5efd70ff6 Bug 1476304 - Exclude Georgian letters from the mapping used by text-transform:uppercase, due to lack of font support. r=gandalf 2018-07-27 14:35:04 +01:00
Emilio Cobos Álvarez
517256e365 Bug 1478391: Autogenerate StyleAppearance. r=jwatt
This builds on bug 1428676 and introduces StyleAppearance, which replaces the
NS_THEME_* constants.

Really sorry for the size of the patch.

There's a non-trivial change in the gtk theme, which I submitted separately as
bug 1478385.

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

MozReview-Commit-ID: DiSmMWK7Krp
2018-07-26 17:06:17 +02:00
Sebastian Hengst
bd900ee36a Merge mozilla-inbound to mozilla-central. a=merge 2018-07-25 17:16:53 +03:00
Emilio Cobos Álvarez
e1af3b4e1c Bug 1478069: Remove ContentInfo::mChildren. r=bz
It's not needed anymore, since we tag the pseudo-elements at creation time for
styling.

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

MozReview-Commit-ID: 7j4DVEHXYIC
2018-07-25 11:31:23 +02:00
Emilio Cobos Álvarez
26b508d03c Bug 1478069: Trivial frame constructor cleanup. r=TYLin
Using references helps to see when stuff can and cannot be null.

I removed useless aTag / aNamespaceId arguments which are useless now that XBL
can't override them (bug 1450617), so FindXULData is the only one that keeps
them alive.

Also, I took the liberty of renaming a few fooComputedStyle variables to just
fooStyle, and clarify naming in some pseudo-element-related functions to say
originating element (the spec term) and avoid confusing it with the generated
_moz_generated_content_before / _moz_generated_content_after element.

Note that this is a partial state, more stuff will come in the future.

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

MozReview-Commit-ID: 39B30doREUH
2018-07-25 11:31:18 +02:00
Brad Werth
769888390c Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : f452f1e4825dbd7a9165eb780774e643112e786e
2018-07-11 16:52:33 -07:00
Bogdan Tara
02908b5c58 Backed out 2 changesets (bug 1471894) for wpt failures on non-replaced-elements/flow-content-0/dialog.html CLOSED TREE
Backed out changeset bce3c6ca2e19 (bug 1471894)
Backed out changeset 6ab2fb716899 (bug 1471894)
2018-07-25 00:38:21 +03:00
Brad Werth
6a7460adae Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Bogdan Tara
d45fc12653 Backed out 2 changesets (bug 1471894) for dialog.html wpt failures and crashtest failures CLOSED TREE
Backed out changeset a20576472778 (bug 1471894)
Backed out changeset 7342b2da7568 (bug 1471894)
2018-07-24 22:45:27 +03:00
Brad Werth
653730a83e Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Boris Zbarsky
75abc43e0d Bug 1476145 part 8. Stop using getInterface(nsIDOMWindowUtils) in various test code. r=kmag 2018-07-24 19:47:43 -04:00
Bogdan Tara
fecaaf3862 Backed out 2 changesets (bug 1471894) for lint failure on wpt.yml CLOSED TREE
Backed out changeset 189749cc1e12 (bug 1471894)
Backed out changeset 194afde62e69 (bug 1471894)
2018-07-24 20:26:43 +03:00
shindli
ed684136aa Backed out 2 changesets (bug 1471894) for linting failure in /builds/worker/checkouts/gecko/tools/lint/wpt.yml on a CLOSED TREE
Backed out changeset 82b13a9a70e6 (bug 1471894)
Backed out changeset 9a6e53d96b83 (bug 1471894)
2018-07-24 02:56:41 +03:00
Brad Werth
1acb33fb67 Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : 4f221c3df02fa8a9b0dd8b4b7b71af56b1fcbe26
2018-07-11 16:52:33 -07:00
Mihir Iyer
4751922915 Bug 1311892 - Implement <overflow-position> 'safe'/'unsafe' for absolutely positioned boxes in grid and flexbox. r=dholbert
MozReview-Commit-ID: 1xKmq7KFAM4

--HG--
extra : rebase_source : 64c143d908d31fa9bee522e4995b29ddf67749ca
2018-07-19 12:30:48 -07:00
Coroiu Cristina
44141cfda4 Merge inbound to mozilla-central a=merge 2018-07-24 00:43:44 +03:00
Ting-Yu Lin
a6015f5b37 Bug 1477533 - Convert NS_STYLE_COLUMN_FILL_* to an enum class. r=heycam
I put Balance as the first item in StyleColumnFill because it is the default
value.

MozReview-Commit-ID: A4DVMLL6XBa

--HG--
extra : rebase_source : 8c8d07b724bcd49dd4f4057fcbf0ccd46ed591ff
2018-07-21 12:00:26 -07:00
Emilio Cobos Álvarez
0c01140e18 Bug 1477553: Hide display: -moz-box|-moz-inline-box from content on Nightly and early beta. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2288

MozReview-Commit-ID: F9BeAneKY6e
2018-07-23 17:27:17 +02:00
Cosmin Sabou
39220f357c Backed out 2 changesets (bug 1477553) for reftest failures on xulscroll.html.
Backed out changeset a5bebad6bb23 (bug 1477553)
Backed out changeset 8d4b97056365 (bug 1477553)
2018-07-23 18:03:10 +03:00
Emilio Cobos Álvarez
e8373c682f Bug 1477553: Hide display: -moz-box|-moz-inline-box from content on Nightly and early beta. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2288

MozReview-Commit-ID: F9BeAneKY6e
2018-07-23 15:31:30 +02:00
Cosmin Sabou
51ed9f0129 Backed out changeset d0cb9041aa08 (bug 1477553) for browser chrome mochitest failures on /browser_parsable_css.js. 2018-07-23 13:17:09 +03:00
Cosmin Sabou
de8180ecd2 Merge mozilla-central to mozilla-inbound. a=merge 2018-07-23 12:33:45 +03:00
Xidorn Quan
b2d36bc68a Bug 1403425 - Pass aListID to nsContainerFrame from nsColumnSetFrame::SetInitialChildList. r=dholbert
MozReview-Commit-ID: BPxvAMx9v4K

--HG--
extra : rebase_source : 33f31c4ade7f2509611bd10985160e7a1ddc9eed
2018-07-23 10:32:03 +10:00
Emilio Cobos Álvarez
6eb98a1602 Bug 1477553: Hide display: -moz-box|-moz-inline-box from content on Nightly and early beta. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2288

MozReview-Commit-ID: F9BeAneKY6e
2018-07-23 10:33:32 +02:00
Emilio Cobos Álvarez
33cdb446f0 Bug 1474768: Fix nsInlineFrame::ReflowInlineFrame to properly detect whether we'll pull from a next-in-flow. r=dbaron
The key difference is checking the overflow lists from the next in flows, which
is something that PullOneFrame does but ReflowInlineFrame didn't.

MozReview-Commit-ID: I1JwOOeIBo9
2018-07-21 22:40:50 +02:00
Emilio Cobos Álvarez
3742f072f3 Bug 1474768: Remove useless aIsComplete out-param. r=dbaron
*aIsComplete == !theReturnedFrame.

This is cleanup after bug 15999, technically :)

MozReview-Commit-ID: L1ZVOxEZXce
2018-07-21 22:33:14 +02:00
Cosmin Sabou
0d3874d7d6 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-21 00:42:01 +03:00
Ryan VanderMeulen
7c56172d60 Backed out 5 changesets (bug 1465616) for causing Fennec scrolling regressions.
Backed out changeset 403ba3d9539a (bug 1465616)
Backed out changeset ea79ddd406f4 (bug 1465616)
Backed out changeset 559c8997eb53 (bug 1465616)
Backed out changeset 3f5ca59998bf (bug 1465616)
Backed out changeset 9e48a27950be (bug 1465616)

--HG--
extra : amend_source : 8cc378d26e9fea0ed6277b69f227191e849001d8
2018-07-20 14:40:51 -04:00
Gerald Squelart
a9f6702044 Bug 1459937 - In DEBUG mode, verify that reparenting direction is correct - r=dbaron
MozReview-Commit-ID: JPfg9YtBm6M

--HG--
extra : rebase_source : f56a9a4a666fc61e69ba537a69e3161b58083d02
2018-07-10 15:35:48 +10:00
Gerald Squelart
4b4619bb45 Bug 1459937 - Mark pulled floats (from pulled lines) dirty - r=dbaron
Similar to lines (see previous patch), floats from next-in-flow or overflow
frames have probably not been marked dirty (as ReflowInput hasn't dealt with
them when it was constructed), so we need to mark them dirty for proper reflow.

If we don't do that, and they don't fit in the current column, the next column
will only mark its current children dirty, so when pulling back its first
floats from the previous column they will not be reflowed as needed.

MozReview-Commit-ID: KKrwtzeQMrI

--HG--
extra : rebase_source : ec99f380c978c6d28135490401beb0bb54c8e2b3
2018-07-10 11:36:33 +10:00
Gerald Squelart
52440e9648 Bug 1459937 - Mark pulled lines (from n-i-f or overflow) dirty - r=dbaron
Lines pulled from next-in-flow or overflow frames have probably not been marked
dirty (as ReflowInput hasn't dealt with them when it was constructed), so we
need to mark them dirty for proper reflow.

If we don't do that, and they don't fit in the current column, the next column
will only mark its current children dirty, so when pulling back its first lines
from the previous column they will not be reflowed as needed, which causes this
bug.

MozReview-Commit-ID: 8GFO1ZWuZ1b

--HG--
extra : rebase_source : ee55a9ae7408e1f2603c1b2bc80ddcd8dbc837f0
2018-07-09 11:42:47 +10:00
Olli Pettay
f3c3cde4c7 bug 1430701, remove now unused nsLightFrameIterator, r=mrbkap
--HG--
extra : rebase_source : 875b320c75414c3911a252e39267d1a424a51f37
2018-07-20 19:32:22 +03:00
Emilio Cobos Álvarez
68f214df2a Bug 1450250: Make svg:use use an actual shadow tree. r=heycam
Summary:
This fixes a couple fuzz bugs and prevents special-casing <svg:use> even more in
bug 1431255.

Unfortunately not as many hacks went away as I'd have hoped, since we still need
to match document rules, see the linked SVGWG issues.

But blocks_ancestor_combinators goes away, which is nice since it's on a very
hot path.

Test Plan: WPT for style invalidation, covered by existing tests otherwise.

Reviewers: heycam

Tags: #secure-revision

Bug #: 1450250

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

MozReview-Commit-ID: C4mthjoSNFh
2018-07-20 14:44:51 +02:00
Kartikaya Gupta
e750c8c1b4 Bug 1475637 - Add a mechanism for dumping an interleaved display list. r=jrmuizel
The prefs, when enabled, will dump the gecko DL items followed by the
WR DL items that were generated from that gecko item. This allows us to
easily go from a DOM element with known id/class attributes to e.g. an
ImageKey of an image that was generated for that element.

Also, this logging can be enabled in CI builds just like gecko display-list
dumping, instead of the ifdef that we previously had in WebRenderLayerManager.

MozReview-Commit-ID: Eeo4iO62YY1

--HG--
extra : rebase_source : b4a348b2e8bced976489257b966f70b29c56df25
2018-07-19 15:30:30 -04:00
shindli
6cdfd81b2e Merge inbound to mozilla-central. a=merge 2018-07-19 00:45:25 +03:00
Cosmin Sabou
099320d8ad Merge mozilla-central to autoland. a=merge 2018-07-18 20:21:59 +03:00
Kashav Madan
5261c87fd1 Bug 1465616 - Don't use SPC-SPS to layout fixed position elements. r=mstange
MozReview-Commit-ID: 5D4ErVFx8Bm

--HG--
extra : rebase_source : a930c2cb9492a6361ab16f0121b7a71dd6f6949c
2018-07-04 15:16:17 -04:00
Margareta Eliza Balazs
42e6813f3f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-18 12:42:29 +03:00
Tiberius Oros
d385db1af9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-18 00:57:55 +03:00
Tiberius Oros
d701ae940f Merge inbound to mozilla-central. a=merge 2018-07-18 00:55:33 +03:00
Bas Schouten
2ffa4da191 Bug 1476506: Move RoundedRect into Moz2D and convert all callers. r=mattwoodrow 2018-07-18 08:55:43 +02:00
Morgan Rae Reschenberg
16a0e6cd2f Bug 1474663 - Implement contain:size for nsColumnSetFrame. r=dholbert
MozReview-Commit-ID: EE7Un9LUJcV

--HG--
extra : rebase_source : 7e3a3946b93bd3853e2ebfceeb93c28231f12c83
2018-07-12 09:10:52 -07:00
Bogdan Tara
a8850882a7 Merge autoland to mozilla-central. a=merge 2018-07-17 00:58:15 +03:00