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

600 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 7391f4b580 Bug 1467688 - Make sure we invalidate for perspective changes even if the frame isn't otherwise transformed. r=dbaron
MozReview-Commit-ID: JQGb41kp76P

--HG--
extra : rebase_source : f9105e949f8fa02697a94718ea69742ac115f8e6
2018-07-02 21:35:14 -04:00
Ciure Andrei a43e1b09ad Backed out 1 changesets (bug 1467688) for reftest failures crashtests/1467688.html CLOSED TREE
Backed out changeset b976829f826a (bug 1467688)
2018-07-03 01:55:17 +03:00
Matt Woodrow dc37a6b69c Bug 1467688 - Make sure we invalidate for perspective changes even if the frame isn't otherwise transformed. r=dbaron
MozReview-Commit-ID: DpND8Jwr226

--HG--
extra : rebase_source : c6f51b9e8f91978a1783eb27de5ca89f75a3f2a5
2018-07-02 17:46:10 -04:00
Simon Montagu a16336fd91 Bug 827192 - Add a crashtest. r=mats 2013-01-30 01:13:02 -08:00
Simon Montagu af9a205460 Bug 989994 - Add tests. r=mats 2014-04-25 00:03:49 -07:00
Hiroyuki Ikezoe 7cf6c6e8ac Bug 1471241 - Set dom.animations-api.core.enabled for 1343139-1.html. r=birtles
Since the test relies on missing keyframes handling.

MozReview-Commit-ID: IfbMvRhIeOh

--HG--
extra : rebase_source : 447bec6c7bc8d8a79f00bb738182e0647ee68ec5
2018-06-27 06:04:21 +09:00
Noemi Erli aaac9a77dd Merge inbound to mozilla-central. a=merge 2018-06-25 22:02:08 +03:00
Emilio Cobos Álvarez 27ef769d59 Bug 1469354: Use the first continuation to get the layout parent style. r=mats
Continuations do not have placeholders. There's a bunch of code that already
deals with that in other places in the tree.

MozReview-Commit-ID: Htizql7692e
2018-06-25 02:50:44 +02:00
Emilio Cobos Álvarez 61320fe78b Bug 1467964: Crashtest. r=me
MozReview-Commit-ID: LgL5APThZiK
2018-06-12 16:55:22 -07:00
Jason Kratzer 8f763bb1b1 Bug 1340571 - Add crashtest. r=me DONTBUILD 2018-06-05 01:46:06 +02:00
Jason Kratzer 8d1d85b0d8 Bug 1423216: Crashtest. r=emilio
MozReview-Commit-ID: 3NSEoFdI1XG
2018-06-05 01:14:27 +02:00
Emilio Cobos Álvarez 64d52f8175 Bug 1288572: Update test expectations. r=xidorn
MozReview-Commit-ID: DubkcRaaD4C
2018-06-04 15:56:01 +02:00
Matt Woodrow a6cecda388 Bug 1464737 - Make nsDisplayPerspective simpler by using the transform frame as mFrame. r=miko
MozReview-Commit-ID: CDjdjE2xCzG

--HG--
extra : rebase_source : 1779b8c20ca8eca4b0859ebc638c4b5bdcbac28d
2018-06-01 14:15:36 +12:00
arthur.iakab fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Ryan VanderMeulen 5572e9708a Bug 1464641 - Add crashtest.
--HG--
extra : rebase_source : ffc98fc3e461fce38130c79c07c046a072b63d28
2018-05-30 12:35:19 -04:00
Ryan VanderMeulen 10a51f7f4b No bug - Re-alphabetize layout/base/crashtests/crashtests.list. r=thejanitor
--HG--
extra : rebase_source : c47c27c3e4a832bb2758be223886e275f88accd9
2018-05-29 22:39:08 -04:00
Matt Woodrow 7b491cdc52 Bug 1463940 - Invalidate display items when we add a caption to a table, since it can change the ordering of the content. r=mstange
MozReview-Commit-ID: HQewY2vNEJm

--HG--
extra : rebase_source : a73616f7f598f08d20e6965fba1f2f0838286533
2018-05-24 16:54:50 +12:00
Tyson Smith 97fefc2d56 Bug 1414100: Crashtest. r=emilio
MozReview-Commit-ID: 8tQwUR8BFPk
2018-05-25 18:36:30 +02:00
Emilio Cobos Álvarez fb4762b5e6 Bug 1461749: Fix slow path for finding the next sibling frame for appending in presence of Shadow DOM. r=mats
In this case we have a shadow hoot with display: contents, with no children.
Those children wouldn't be flattened tree children of the shadow host.

Instead of using the last light dom child and seek to it, use
FlattenedChildIterator's reverse iteration.

MozReview-Commit-ID: 18XL5Ong7ww

--HG--
extra : rebase_source : 2d34bd5b1fdd509a069ffa5052a7b7b3302be24c
2018-05-23 18:20:33 +02:00
Emilio Cobos Álvarez 10167dbcac Bug 1419802: Bailout from ScheduleViewManagerFlush if already destroying the shell. r=mats
MozReview-Commit-ID: Ixq9jwX2kET

--HG--
extra : rebase_source : c4fe85307a4247209bf085a20a913d577cf15788
2018-05-23 17:20:14 +02:00
Csoregi Natalia f3599e000e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-30 12:28:56 +03:00
Emilio Cobos Álvarez dd5f25c2f6 Bug 1465107: Cleanup remaining mochitest / reftest / crashtests stylo expectations. r=xidorn
MozReview-Commit-ID: 1IeURcnoESX
2018-05-30 10:03:50 +02:00
Matt Woodrow 95856dac21 Bug 1462412 - Correctly ignore the perspective property for frames that aren't transformable. r=dbaron 2018-05-23 10:41:19 +12:00
Matt Woodrow 5412f4e50b Bug 1461812 - Make sure we fully cleanup any partially constructed display lists when returning a failure from AttemptPartialUpdate. r=miko
MozReview-Commit-ID: DJBG6UFcoyR

--HG--
extra : rebase_source : 38e33ad785556b92b8058f00a85d48c27fb4d2e3
2018-05-16 12:55:08 +12:00
Emilio Cobos Álvarez bdc9e3e0db 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

--HG--
extra : rebase_source : 9b31f5d00d270cf21476776144d62350b5453f99
2018-05-14 16:34:45 +02:00
cku a189085722 Bug 1470792 - A crash test for bug 1343139. r=heycam
MozReview-Commit-ID: 8mkpTm3q0tl

--HG--
extra : rebase_source : a3fbc2640bccd91f13ad0dd663dde01fe2d2f415
2017-03-07 13:46:59 +08:00
Emilio Cobos Álvarez 3b8557aa3e Bug 1453196: Fix MathML reframing code when the root is a MathML element. r=bz
MozReview-Commit-ID: CPd40oHIT5w

--HG--
extra : rebase_source : 64974ab5eb9adea507caf16c330a272f818951ed
2018-04-14 22:58:13 +02:00
Jason Kratzer a84194adea Bug 1453342: Crashtest. r=emilio
MozReview-Commit-ID: ATiwKE2KMyd
2018-04-17 20:46:07 +02:00
Emilio Cobos Álvarez e5e108a524 Bug 1453702: [css-display] Move unboxing to style, and handle display: contents before other suppressions. r=mats,xidorn
This also adopts the resolution of [1] while at it, and switches XUL to not
support display: contents until a use case appears.

This makes our behavior consistent both with the spec and also in terms of
handling dynamic changes to stuff that would otherwise get suppressed.

Also makes us consistent with both Blink and WebKit in terms of computed style.
We were the only ones respecting "behaves as display: none" without actually
computing to display: none. Will file a spec issue to get that changed.

It also makes us match Blink and WebKit in terms of respecting display: contents
before other suppressions, see the reftest which I didn't write as a WPT
(because there's no spec supporting neither that or the opposite of what we do),
where a <g> element respects display: contents even though if it had any other
kind of display value we'd suppress the frame for it and all the descendants
since it's an SVG element in a non-SVG subtree.

Also, this removes the page-break bit from the display: contents loop, which I
think is harmless.

As long as the tests under style are based in namespace id / node name /
traversal parent, this should not make style sharing go wrong in any way, since
that's the first style sharing check we do at [2].

The general idea under this change is making all nodes with computed style of
display: contents actually honor it. Otherwise there's no way of making the
setup sound except re-introducing something similar to all the state tracking
removed in bug 1303605.

[1]: https://github.com/w3c/csswg-drafts/issues/2167
[2]: https://searchfox.org/mozilla-central/rev/fca4426325624fecbd493c31389721513fc49fef/servo/components/style/sharing/mod.rs#700

MozReview-Commit-ID: JoCKnGYEleD
2018-04-16 12:56:30 +02:00
Emilio Cobos Álvarez 9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00
Dão Gottwald 9b45d061fd Bug 1445912 - Remove PopupBoxObject::enableKeyboardNavigator/enableRollup/setConsumeRollupEvent in favor of DOM attributes. r=enn,peterv
--HG--
extra : rebase_source : f6ec04a78d599404e1e76405092669d7c0e04cc9
2018-04-12 16:55:50 +02:00
Emilio Cobos Álvarez cdfc46b1e5 Bug 1452839: Adjust an assertion to account for the document node. r=me
MozReview-Commit-ID: 9DUFOIlGdr5
2018-04-10 14:43:05 +02:00
Kartikaya Gupta 5cbb6be895 Bug 1426199 - Re-enable more crashtests that are now passing. r=sotaro 2018-04-09 08:02:12 -04:00
Matt Woodrow edb36524ee Bug 1443027 - Add two new tests for merging behaviour. r=mstange
MozReview-Commit-ID: G5vgtSCdRZP

--HG--
extra : rebase_source : 2775e9a67e8262144f572d369873eb133dfbc6e5
2018-03-23 12:20:40 +13:00
Sebastian Hengst a0665934fa Backed out 2 changesets (bug 1443027) for frequent crashes on OS X. a=backout
Backed out changeset 1e3dc6112e76 (bug 1443027)
Backed out changeset d2734042605a (bug 1443027)
2018-04-03 19:51:49 +03:00
Matt Woodrow 7a24890fe5 Bug 1443027 - Add two new tests for merging behaviour. r=mstange
MozReview-Commit-ID: G5vgtSCdRZP

--HG--
extra : rebase_source : e89b192cc6ca0ef48b529d8d38ff665f3327d81d
2018-03-23 12:20:40 +13:00
Matt Woodrow 4dd278a28b Bug 1448841 - Part 1: Add crashtest for CompositorHitTestInfo changing z-index without an invalidation. r=mstange
MozReview-Commit-ID: LkiWFPk6dzV

--HG--
extra : rebase_source : 20189381eff3b0810196a652273856051ac02674
2018-03-29 23:00:49 +13:00
Emilio Cobos Álvarez 48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Sebastian Hengst fac6016d5c Backed out changeset ec272d453729 (bug 1356558) for failing new crashtest. CLOSED TREE 2018-03-19 18:52:01 +02:00
Emilio Cobos Álvarez 4211f7ecdb Bug 1356558: Crashtest. r=me
MozReview-Commit-ID: oHokeAhYiY
2018-03-19 16:33:07 +01:00
Emilio Cobos Álvarez 4657059140 Bug 1437155: Expect an assertion on the old style system. r=me
The old style system can't find the appropriate style to inherit from when
::first-line and display: contents are involved...

MozReview-Commit-ID: 98t1ABgLulQ
2018-03-05 16:20:35 +01:00
Emilio Cobos Álvarez dc83850d63 Bug 1437155: Avoid giving a first-letter frame to a display: contents element. r=mats
It doesn't make sense, since they have no frame themselves, and it breaks
invariants other code relies on. Use the parent frame instead.

The stack overflow happens because we give the first-letter frame to the
display: contents element, then we reframe it.

Removing a display: contents node calls ContentRemoved on all the children. One
of these children is this text-node inside the first-letter frame. Since it was
split by bidi resolution we go ahead and reframe the parent in:

  https://searchfox.org/mozilla-central/rev/d2b4b40901c15614fad2fa34718eea428774306e/layout/base/nsCSSFrameConstructor.cpp#9688

But the parent is the display: contents node, which results in infinite
recursion.

The usage of GetParent() is wrong anyway too, since it doesn't handle XBL or
Shadow DOM in any way.

MozReview-Commit-ID: JFD16at316V

--HG--
extra : rebase_source : e485b45bc146a70c26f8534f760899218da07500
2018-03-05 11:42:12 +01:00
Emilio Cobos Álvarez 549e302e25 Bug 1442506: Adjust assertion to allow empty appends. r=xidorn
Deletion at the end of a text-node ends up translated to an empty append. It's
harmless though.

Reviewers: xidorn

Bug #: 1442506

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

MozReview-Commit-ID: DqheOYVWx8o
2018-03-02 12:26:27 +01:00
Emilio Cobos Álvarez a5c61458d0 Bug 1439016: Crashtest. r=bholley
The crashtest will crash whenever the shell is destroyed, which is annoying,
but...

MozReview-Commit-ID: 1JkLy5K98bS

--HG--
extra : rebase_source : 063ca56df3db72940dbb3537a36da561528a5949
2018-02-19 18:08:06 +01:00
Emilio Cobos Álvarez 0ec91dd66b Bug 1429962: Don't add frames / reframe text that is going to get reframed anyway. r=bz
MozReview-Commit-ID: GuWjYYP0dBR

--HG--
extra : rebase_source : 327207f7ecf00771a3e2ecb807464577065091fd
2018-02-14 12:35:43 +01:00
Emilio Cobos Álvarez 200a23f376 Bug 1435015: Unbreak display: contents on unknown MathML elements. r=mats
Bug 1427292 broke display: contents on non-special MathML elements.

Just for reference, I've manually audited calls to nsIFrame::GetContent() in
MathML and turns out that MathML is pretty well-behaved in that sense (it
inspects the frame tree, then gets the content), so it should work fine with
display: contents / ShadowDOM.

Only exception to that is[1], but that one seems harmless.

[1]: https://searchfox.org/mozilla-central/rev/eeb7190f9ad6f1a846cd6df09986325b3f2c3117/layout/mathml/nsMathMLmactionFrame.cpp#301

So we can enable or implement when the CSSWG pleases.

MozReview-Commit-ID: 8N6kiGyjE4i

--HG--
extra : rebase_source : a80197e39b20bc6ab385a3d0b90628bc4ad81d92
2018-02-02 20:52:54 +01:00
Jessica Jong 4bee56a645 Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug
Most of the Shadow DOM related code are behind "dom.webcomponents.enabled" and
this pref is only used by Shadow DOM right now, so we should rename it to
"dom.webcomponents.shadowdom.enabled"

MozReview-Commit-ID: er1c7AsSSW
2018-01-16 17:16:30 +01:00
Emilio Cobos Álvarez 124c284658 Bug 1429961: Crashtest. r=me
MozReview-Commit-ID: 79OJm4Ay1lf
2018-01-16 11:03:40 +01:00
Emilio Cobos Álvarez b12fb5d990 Bug 1429088: Crashtest. r=bz
MozReview-Commit-ID: qJQdpdUROs
2018-01-12 11:26:56 +01:00
Emilio Cobos Álvarez 872ec24ce1 Bug 1428353: Allow undisplayed maps to be queried for elements out of the document. r=mats
MozReview-Commit-ID: 69lQNFk5vhG

--HG--
extra : rebase_source : 693f2537039045f765f8a40da84792bc1b60327f
2018-01-06 00:50:58 +01:00