Boris Zbarsky
a5927e6ebd
Bug 1428610 part 8. Remove unnecessary Item() method. r=emilio
...
MozReview-Commit-ID: 6MQXVA0toiG
2018-01-30 14:48:27 -05:00
Boris Zbarsky
4c01bdc27f
Bug 1428610 part 7. Make the nsICSSDeclaration length API nicer. r=emilio
...
MozReview-Commit-ID: 2gs8npBJFJY
2018-01-30 14:48:27 -05:00
Boris Zbarsky
c49370b74a
Bug 1428610 part 6. Give nsICSSDeclaration::GetPropertyPriority a nicer signature. r=emilio
...
MozReview-Commit-ID: 4H2zADwdo5L
2018-01-30 14:48:27 -05:00
Boris Zbarsky
4278814e5c
Bug 1428610 part 5. Make nsICSSDeclaration::Get/SetCSSText have nicer signatures. r=emilio
...
MozReview-Commit-ID: B25qvxKj9CW
2018-01-30 14:48:26 -05:00
Boris Zbarsky
59d4896eb6
Bug 1428610 part 4. Move the nsCSSPropertyID overload of nsICSSDeclaration::SetPropertyValue to nsDOMCSSDeclaration. r=emilio
...
MozReview-Commit-ID: 8BzCHahJjwv
2018-01-30 14:48:26 -05:00
Boris Zbarsky
335a24f297
Bug 1428610 part 3. Move the nsCSSPropertyID overload of nsICSSDeclaration::GetPropertyValue down to nsDOMCSSDeclaration. r=emilio
...
MozReview-Commit-ID: FHrkptqa2hZ
2018-01-30 14:48:26 -05:00
Boris Zbarsky
eb99a6d933
Bug 1428610 part 1. Devirtualize nsICSSDeclaration::GetDocGroup. r=emilio
...
MozReview-Commit-ID: 7OGRkYTjTSQ
2018-01-30 14:48:26 -05:00
Boris Zbarsky
1d5c2e332a
Bug 1434273. Make nsGenConImageContent's inheritance match the way it's used. r=mccr8
...
MozReview-Commit-ID: AYL4iZkMJiH
2018-01-30 14:48:26 -05:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Csoregi Natalia
1d557a2997
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-01-30 18:24:05 +02:00
Csoregi Natalia
c56f656feb
Merge inbound to mozilla-central. a=merge
2018-01-30 18:18:04 +02:00
Emilio Cobos Álvarez
1528ebee1c
Backout changeset 5ca278d8c1af (Bug 1433671) for not handling all callers in all platforms. r=backout
...
This reverts commit 795018bb21eb9fa906128d0a15cf773643878585.
2018-01-30 12:17:04 +01:00
Emilio Cobos Álvarez
b0b4e4a39a
Bug 1433671: Add MOZ_CAN_RUN_SCRIPT annotations to AccessibleCaret. r=bz
...
MozReview-Commit-ID: Js0CF7WQM73
2018-01-30 11:50:35 +01:00
Emilio Cobos Álvarez
9af8f870d0
Bug 1433671: Make AccessibleCaretManager flushes a bit more sound. r=TYLin
...
The accessible caret manager is owned by the event hub, that is owned by the
shell.
All the callers of methods that call FlushLayout on the AccessibleCaretManager
should hold an external reference to the event hub.
Flushing pending notifications can run arbitrary script, that can call Destroy()
on the pres shell (and thus tear down the accessible caret event hub, and the
manager with him).
I don't know why before my change this wasn't crashing badly, but the code as it
was just doesn't look sound to me at all either (maybe I'm misunderstanding
something and I should just revert that patch and give up on having nice
invariants during our flushes..., but I don't think it's the case).
This also adds some sanity-checking that we don't die under our flush.
MozReview-Commit-ID: 4s0UT0fD3TI
2018-01-30 11:50:32 +01:00
Jonathan Kew
2a3cf53f91
Bug 1426146 - patch 2 - Support the paint-order property for HTML text (in addition to SVG); currently preffed-off by default. r=jwatt
2018-01-30 14:41:51 +00:00
Gurzau Raul
afe10a4af5
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-01-30 12:12:34 +02:00
Emilio Cobos Álvarez
75e0e25aeb
Bug 1434215: Simplify some ResistFingerprinting callers in nsMediaFeatures. r=xidorn
...
The docshell version just redirects to the document one, so no need to
ping-pong.
MozReview-Commit-ID: AggEoLubCIF
2018-01-30 11:05:32 +01:00
Gurzau Raul
c380dfe905
Merge inbound to mozilla-central. a=merge
2018-01-30 12:01:49 +02:00
Jonathan Kew
8ab35c14ad
Bug 1280162 - patch 3 - Testcase for layout inspector API to examine font features. r=dholbert
2018-01-30 09:57:39 +00:00
Jonathan Kew
3b1dc9e5ec
Bug 1280162 - patch 2 - Add a getFeatures() method to InspectorFontFace to expose the OpenType features supported by a font. r=dholbert,bz
2018-01-30 09:57:39 +00:00
Phil Ringnalda
85431794dc
Backed out 7 changesets (bug 1429932) for extremely frequent QuantumRender reftest failures
...
Backed out changeset b0ac71407500 (bug 1429932)
Backed out changeset 469ceaefd7a4 (bug 1429932)
Backed out changeset 2f801e78f798 (bug 1429932)
Backed out changeset 72852fdf476c (bug 1429932)
Backed out changeset 09e5e25d48ee (bug 1429932)
Backed out changeset bb1394cba514 (bug 1429932)
Backed out changeset 65b8996eb50c (bug 1429932)
2018-01-29 23:43:27 -08:00
Boris Zbarsky
7c392f077e
Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor
...
MozReview-Commit-ID: 5QUyFeAQYZQ
2018-01-30 00:25:36 -05:00
Hiroyuki Ikezoe
14c14a8057
Bug 1433019 - Dispatch scroll events before dispatching animation events. r=botond,mstange
...
See 7.6. in the section '8.1.4.2 Processing model';
https://html.spec.whatwg.org/multipage/webappapis.html#processing-model-8
Note that this dispatching scroll events should be done after we process
WillRefresh() for FlushType::Style observers since main-thread scroll
animations is one of the FlushType::Style observers, that means it affects
scroll events.
Also test_scroll_event_ordering.html was modified to check scroll events happen
before requestAnimationFrame callbacks.
MozReview-Commit-ID: LuV157XoRkJ
--HG--
extra : rebase_source : a22424c248dcd4a3ec0aad8e71b75306c8f7e487
2018-01-30 08:22:47 +09:00
Hiroyuki Ikezoe
4d9188d86d
Bug 1433846 - Drop nsComputedDOMStyle::GetPresShellForContent(), use nsContentUtils::GetPresShellForContent(). r=xidorn
...
MozReview-Commit-ID: JcpEpqP32Yi
--HG--
extra : rebase_source : dc3649c882f7edd36f9dbc3463d186517b18bdc1
2018-01-29 14:19:25 +09:00
Cosmin Sabou
37bb870512
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-01-30 00:47:39 +02:00
Boris Zbarsky
9da3878bc9
Bug 1418076 part 11. Eliminate the nsIDOMHTMLDocument interface. r=mystor
...
MozReview-Commit-ID: 4lEcUeenbg3
2018-01-26 01:03:25 -05:00
Boris Zbarsky
d3dc65034f
Bug 1418076 part 9. Eliminate remaining uses of nsIDOMHTMLDocument. r=mystor
...
MozReview-Commit-ID: DqjJPKKRYOx
2018-01-26 01:01:25 -05:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533
) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533
)
Backed out changeset 34c999fa006b (bug 1431533
)
Backed out changeset e2674287e57f (bug 1431533
)
2018-01-30 07:17:48 +02:00
Boris Zbarsky
8c61d57bca
Bug 1276438 part 6. Stop using nsIDOMHTMLDocument::GetBody. r=mystor
...
MozReview-Commit-ID: EcDTnByuZsm
2018-01-26 00:53:35 -05:00
Boris Zbarsky
e565b1fe1b
Bug 1432944 part 11. Remove nsIDOMElement::GetAttribute. r=mccr8
...
MozReview-Commit-ID: 2f1vFvRdCPG
2018-01-29 23:28:00 -05:00
Boris Zbarsky
f60fd673d6
Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8
...
MozReview-Commit-ID: KvKjeKIOB9K
2018-01-29 23:10:53 -05:00
Boris Zbarsky
4d88c28e4d
Bug 1432186 part 17. Remove nsIDOMNode's parentNode attribute. r=mccr8
...
MozReview-Commit-ID: 4xzDwwEqnvE
2018-01-29 23:10:52 -05:00
Boris Zbarsky
37aaea3c1f
Bug 1432186 part 16. Remove nsIDOMNode's ownerDocument attribute. r=mccr8
...
MozReview-Commit-ID: JqfAFxPBz41
2018-01-29 23:10:52 -05:00
Boris Zbarsky
87cd3b385a
Bug 1432186 part 14. Remove nsIDOMNode's childNodes attribute. r=mccr8
...
MozReview-Commit-ID: JyQjEYngKAT
2018-01-29 23:10:51 -05:00
Boris Zbarsky
97302665b4
Bug 1432186 part 12. Remove nsIDOMNode's previousSibling attribute. r=mccr8
...
MozReview-Commit-ID: 7UJFaxEnT9Q
2018-01-29 23:10:51 -05:00
Boris Zbarsky
abfab07da3
Bug 1432186 part 5. Remove nsIDOMNode's nodeType attribute. r=mccr8
...
MozReview-Commit-ID: LKsBgKcqtBS
2018-01-29 23:10:50 -05:00
Boris Zbarsky
c646473558
Bug 1432186 part 3. Remove nsIDOMNode's nodeName attribute. r=mccr8
...
MozReview-Commit-ID: Jg0Tuvdi6uX
2018-01-29 23:10:50 -05:00
Boris Zbarsky
4bba913229
Bug 1432186 part 1. Remove nsIDOMNode's prefix, namespaceURI, localName attributes. r=mccr8
...
Removing them all together because the only non-comm-central consumer is all
the same and this way there's no intermediate state to be maintained there
where we need both the nsINode and the nsIDOMNode.
MozReview-Commit-ID: GDjrroN1jao
2018-01-29 23:10:49 -05:00
Gerald Squelart
a2ff96a775
Bug 1433850 - layout.display-list.retain.verify.order to also check RDL ordering - r=mattwoodrow
...
MozReview-Commit-ID: 2foGnuSCwUX
--HG--
extra : rebase_source : a46779e0db3d4452561b52e047daa3716280fde4
2018-01-29 18:23:14 +11:00
Emilio Cobos Álvarez
b5221fcdf8
Bug 1430817: followup: Skip some more tests in non-stylo, since it's not updated to the spec yet. r=me
...
on a CLOSED TREE.
MozReview-Commit-ID: LsdTNqm5BTB
2018-01-29 22:25:03 +01:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Matt Woodrow
760ed538b7
Bug 1429932 - Part 7: Restrict dirty regions in ComputeRebuildRegion to the overflow area of the current frame so that we discard invalidations that aren't visible. r=miko
...
MozReview-Commit-ID: BJ5Ud7c9ofk
2018-01-12 11:51:08 +13:00
Matt Woodrow
756660c0c8
Bug 1429932 - Part 6: Attempt to skip Layer building if the display list hasn't changed. r=mstange
...
MozReview-Commit-ID: 1kBRIVteNb1
2018-01-12 11:50:11 +13:00
Matt Woodrow
ad7cf1fba5
Bug 1429932 - Part 5: Move the Layer building section of nsDisplayList::PaintRoot into a separate function. r=mstange
...
MozReview-Commit-ID: Cm5ZRU3PoQo
2018-01-12 11:48:14 +13:00
Matt Woodrow
6a606ff229
Bug 1429932 - Part 4: Determine when AttemptPartialUpdate made no changes, and return the result to the caller. r=miko
...
MozReview-Commit-ID: 6S8WkzHcxP5
2018-01-12 11:46:23 +13:00
Matt Woodrow
b18337f9bd
Bug 1429932 - Part 3: Refactor RetainedDisplayListBuilder::AttemptPartialUpdate to have an early return instead of a nested scope. r=miko
...
MozReview-Commit-ID: L91euwUeJ5x
2018-01-12 11:43:41 +13:00
Matt Woodrow
ce87663049
Bug 1429932 - Part 2: nsDisplayMask can paint images and shouldn't have the TYPE_RENDERS_NO_IMAGES flag. r=mstange
...
MozReview-Commit-ID: 7viMP1fMdfu
2018-01-12 11:42:11 +13:00
Matt Woodrow
c076460f04
Bug 1429932 - Part 1: Remove mFireAfterPaintEvents and use mTransactions instead. r=tnikkel
...
This fixes a bug where EnsureEventualDidPaintEvent needs to be called separately for each transaction id, but we skip it since mFireAfterPaintEvents is still true from the previous paint.
We now track the equivalent state by checking for the presence of mTransactions[aTransactionId], and correctly schedule an eventual didpaint for each id.
MozReview-Commit-ID: JnRTycGEyom
2018-01-12 11:41:16 +13:00
Matt Woodrow
119e50197f
Bug 1432348 - Null check the inner view when looking for the sub doc for painting. r=miko
...
--HG--
extra : rebase_source : 4e830b7e4a40e8a82dfea53876606867c28e96d1
2018-01-29 17:21:00 -05:00
Matt Woodrow
c112686a2e
Bug 1432348 - Make we sure call the right version of UpdateDrawResult for the display item geometry used. r=tnikkel
...
--HG--
extra : rebase_source : d5e1961a965374204116f5343c6922cb2593b12b
2018-01-29 17:16:51 -05:00