Commit Graph

59659 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
bfee6d98b5 Bug 1395881 - Enable table-overflowed-by-animation.html on stylo. r=boris
Handling interpolation for mismatched transform lists (bug 1335998) fixed this
failure.

MozReview-Commit-ID: 52Xq2g4cxxi

--HG--
extra : rebase_source : a23f39142872af80a9931b4d972e0df2a599a34f
2017-09-01 18:44:37 +09:00
Sebastian Hengst
43bc951ac7 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ES9rKhiQo10
2017-09-01 10:38:51 +02:00
Boris Zbarsky
71d6942bcb Bug 1395650. Make anonymous column groups into non-inheriting anon boxes, to better match the behavior of other browsers. r=heycam 2017-09-01 00:53:33 -04:00
Boris Zbarsky
11a90dfbd9 Bug 1395591. When looking for our layout parent style, make sure to start with the placeholder if we're out of flow. r=emilio
MozReview-Commit-ID: 1M52bi3oQFX
2017-08-31 22:46:35 -04:00
Hiroyuki Ikezoe
6feeb8950f Bug 1394935 - A crash test. r=bholley
MozReview-Commit-ID: 1zSJPx2sVbi
2017-09-01 13:27:11 +09:00
Kartikaya Gupta
f5e6acfc7d Bug 1395237 - Update reftest fuzz values as a result of WR cset f1569c04. r=jrmuizel
MozReview-Commit-ID: RGvlA2lM8
2017-08-31 14:09:26 -04:00
Mats Palmgren
0735644b45 Bug 815077 - Make unicode ETHIOPIC WORDSPACE count as a space character. r=jfkthame
MozReview-Commit-ID: DhUayZurZ00
2017-08-31 19:08:20 +02:00
Phil Ringnalda
b8183bc0b4 Backed out 6 changesets (bug 1302470) for mochitest-chrome failures
CLOSED TREE

Backed out changeset 3aab8b1494ef (bug 1302470)
Backed out changeset fdd40abac611 (bug 1302470)
Backed out changeset a67bc2f1b624 (bug 1302470)
Backed out changeset 160522290018 (bug 1302470)
Backed out changeset 6b948c533944 (bug 1302470)
Backed out changeset 399011313b3c (bug 1302470)

MozReview-Commit-ID: 2B3uMAkzNGv
2017-08-31 20:04:24 -07:00
Boris Zbarsky
7f0ccc9510 Bug 1395312 part 2. Table backgrounds should be drawn or not based on the visibility of the relevant cell, not of the column/row/colgroup/rowgroup they come from. r=heycam
MozReview-Commit-ID: B863KFWjLLW
2017-08-31 09:12:35 -04:00
Boris Zbarsky
8216808d0e Bug 1395312 part 1. Add a method on nsTableCellFrame to determine whether it should paint borders and backgrounds. r=heycam
MozReview-Commit-ID: 7bLn4Fa3qP8
2017-08-31 09:12:14 -04:00
Boris Zbarsky
c7c1bed48a Bug 1390389. Fix anon box restyling assertions to correctly handle ib splits. r=xidorn
MozReview-Commit-ID: AtBFlvLyg6b
2017-08-31 09:12:13 -04:00
Xidorn Quan
58eb5ce434 Bug 1393189 part 6 - Add crashtest for this bug. r=heycam
MozReview-Commit-ID: 1DbP4Hs7tc2

--HG--
extra : rebase_source : 64e9c5bd849fc2f8be2b30829baa76f44f699d47
2017-08-29 17:13:34 +10:00
Xidorn Quan
f3c33019da Bug 1393189 part 5 - Rewrite CounterStyleOrNone::from_gecko_value to use fewer binding functions. r=heycam
MozReview-Commit-ID: 3EsExs0DzQr

--HG--
extra : rebase_source : b97cfeb82dcaf80eb91635e9094c55a264678865
2017-08-29 17:11:13 +10:00
Xidorn Quan
610d192c1b Bug 1393189 part 4 - Remove kListStyleKTable and CSS keywords only used in this table. r=dholbert
MozReview-Commit-ID: IM0cvCSV6tR

--HG--
extra : rebase_source : d5d60115f0774f4e31c5c93617d64534e9c89f3e
2017-08-29 15:41:37 +10:00
Xidorn Quan
ddf527e66d Bug 1393189 part 3 - Replace all uses of nsCSSProps::kListStyleKTable with gBuiltinStyleTable. r=dholbert
The change in CounterStyleManager::BuildCounterStyle converts a case-
insensitive comparison to a case-sensitive comparison by comparing atom
pointer directly. But this is fine because all names of builtin counter
styles should have been lowercased by the parser. For Gecko, it is done
in CSSParserImpl::ParseCounterStyleName, and for Servo, it is done in
counter_style::parse_counter_style_name.

MozReview-Commit-ID: JHHmzEaNIpn

--HG--
extra : rebase_source : aa43d45042c3cbd85e925596586a9a2ea51c6e4a
2017-08-29 15:36:32 +10:00
Xidorn Quan
06b5070af0 Bug 1393189 part 2 - Have CounterStyle::GetStyleName return nsIAtom and make it const. r=dholbert
MozReview-Commit-ID: KmnQSK7ZvND

--HG--
extra : rebase_source : e47fc3d41f16f18f7182bf561d8da7249fd27bc5
2017-08-29 15:21:36 +10:00
Xidorn Quan
d189e163c1 Bug 1393189 part 1 - Statically initialize builtin style table with their name atom included. r=dholbert
Doing this at compile time would save a bit of our startup time, which
I've promised to do since @counter-style was initially implemented, see
bug 966166 comment 103 (the paragraph with "constexpr").

Also, having this implemented here makes using atom instead of string
on name of builtin counter styles easier, for later patches.

MozReview-Commit-ID: C9HYcuShBQv

--HG--
extra : rebase_source : 273eb3d23ee770722d27b26aafaa291d7375b8ee
2017-08-29 14:44:14 +10:00
Xidorn Quan
96c445bf1a Bug 1393189 part 0 - Reorder NS_STYLE_LIST_STYLE_* consts to match the order in nsCSSProps::kListStyleKTable. r=dholbert
MozReview-Commit-ID: 3RNqDbOjXyX

--HG--
extra : rebase_source : cda26fafbdc91328e2661025d60ea3c71952fcc1
2017-08-30 08:44:53 +10:00
Boris Chiou
5a4b83f24b Bug 1393605 - Fix gecko assertion and add one crashtest. r=birtles
MozReview-Commit-ID: 44QIZ8SipWX

--HG--
extra : rebase_source : 764a560a322b9945365929a7bba6eac77f47b554
2017-08-31 11:11:09 +08:00
Brian Birtles
670dfc03bf Bug 1395452 - Call HasAnimationController() before GetAnimationController(); r=hiro
nsDocument::GetAnimationController() will lazily create an animation controller
which, in some call sites, is unnecessary.

This patch first calls HasAnimationController() and only calls
GetAnimationController() if it returns true. This avoids creating an animation
controller in situations where one is not necessarily required.

MozReview-Commit-ID: 4cdpLRvMVJU

--HG--
extra : rebase_source : 125a59c0b0535d5df9a9964538b3784ddb1212c7
2017-08-31 15:00:39 +09:00
Nicholas Nethercote
9251ef42b7 Bug 1394729 - Measure memory usage of Stylo's Rule Tree. r=heycam.
This patch splits up the existing "layout/style-sets" measurement into
"layout/gecko-style-sets", or "layout/servo-style-sets/stylist/rule-tree" and
"layout/servo-style-sets/other". (Additional things will be measured under
"layout/servo-style-sets/" later, such as cascade data.)

This requires introducing a new type, ServoStyleSetSizes, for transferring the
multiple measurements from Rust code to C++ code.

MozReview-Commit-ID: FbmzpsjBpgI

--HG--
extra : rebase_source : f2d1441705139e6674d355792255302fcd89f748
2017-08-30 18:21:26 +10:00
Wei-Cheng Pan
83f77707b7 Bug 1373814 - Add new probe to measure start-up input latency. data-r=francois r=francois,smaug
For parent process, users may expect the UI is interactable after they saw the
first tab has restored/shown.
So this patch added a new topic "sessionstore-one-or-no-tab-restored" which
represents the parent process has finished a tab restoring. If there is nothing
to restore, it is effectively equal to "sessionstore-windows-restored".

For centent processes, users may expect web content is interactable when the
top-level-content-document has finished loading, which is different from the
parent case.

MozReview-Commit-ID: AtEUW80Ea6n

--HG--
extra : rebase_source : d920975bf95545ea9e3127d3f570b814fe301be9
2017-08-08 17:54:13 +08:00
cku
0baa0bf5c4 Bug 1395439 - Clean out useless flags to reuse cache FillGeometry in nsSVGUtils::GetBBox. r=longsonr+218550
In nsSVGUtils::GetBBox, we cache fill-gemorty's bbox in ObjectBoundingBoxProperty
of the given frame[1] so that we can just return the cache value without
recomputing bbox. Some new added flags, such as eUseFrameBoundsForOuterSVG,
prevent storing and reusing this cache value. This patch is trying to make this
cache mechanism work again.

[1]
https://hg.mozilla.org/mozilla-central/file/ef585ac7c476/layout/svg/nsSVGUtils.cpp#l1119

MozReview-Commit-ID: 8vWDzFi8qCw

--HG--
extra : rebase_source : 07725c856f77f95717f16e61a9838393b09f5789
2017-08-31 12:21:39 +08:00
Wes Kocher
cf93b6ca0d Merge m-c to autoland, a=merge
MozReview-Commit-ID: BlE0HFQUP9c
2017-08-31 16:56:58 -07:00
J. Ryan Stinnett
541bcd7f5f Bug 1395751 - Skip test_stylesheet_clone_import_rule.html with Stylo. r=manishearth
MozReview-Commit-ID: smEHAwxRP6

--HG--
extra : rebase_source : 7a959c8b6821e48749847da61764cd57aca884ba
2017-08-31 18:20:39 -05:00
Mantaroh Yoshinaga
4c7997db68 Bug 1390352 - Make Servo_AnimationValues_ComputeDistance return negative value instead of 0.0 when the function fails to distinguish its failure. r=hiro
We need to check whether the function fails or not in order to check whether
we support the specified paced animation values.

Current servo returns 0.0 when failed computing distance, so servo doesn't
distinguish its failure. This patch makes Servo_AnimationValue_ComputeDistance
return a negative value when the function fails.

MozReview-Commit-ID: 43Q4gu4xwHc

--HG--
extra : rebase_source : fa159b4b03e2e84c0a365455de4c0d2cf5d4f2ce
2017-08-24 10:21:14 +09:00
cku
57060b7222 Bug 1361639 - Part 3. Remove unused EffectOffsets::offsetToBoundingBoxInDevPx. r=longsonr+218550
MozReview-Commit-ID: DRdA5FAeu4Q

--HG--
extra : rebase_source : 569eab61de332467ef8ec4d5d07c2e38ecda1737
2017-08-30 11:25:39 +08:00
cku
c13c8d4e5e Bug 1361639 - Part 1. Depend on input flag, return bbox of an <use> element in different coordinate system. r=longsonr+218550
When nsSVGUtils::getBBox is called on <use> element:
1. Call from SVGGraphicsElement::getBBox(WebAPI):
   According to the spec, getBBox should return the bbox as the union box of
   children in user space.
2. Call from mask/ clip-path or filter painting:
   Since we want to paint those elements in the coordinate space formed by
   <use>(bug 537623), getBBox should return the bbox as the union box of
   children in coordinate system of <use>.

Depend on the use case, we return the bbox of an <use> element on different
coordinate system. In this patch, I bring in a new
flag(eInUserSpaceOfUseElement) so that nsSVGUtils::getBBox can return bbox on
different coordinate system accordingly.

MozReview-Commit-ID: FfZalTI8J0y

--HG--
extra : rebase_source : c33e980c00c450792b30f60f6aa01b53e1c5595c
2017-08-29 20:41:45 +08:00
Masayuki Nakano
b3c33d13ad Bug 1395146 - part1: Get rid of nsITextControlElement::IsPlainTextControl() and nsTextEditorState::IsPlainTextEditor() r=smaug
nsTextEditorState::GetValue() refers nsITextControlElement::IsPlainTextControl()
via nsTextEditorState::IsPlainTextEditor().  However, it always returns true and
virtual call with QI.  So, we should get rid of these unnecessary methods.

MozReview-Commit-ID: 3gHdGrzlys4

--HG--
extra : rebase_source : a1be33a18e93e64b8cc87e4f12d5e494b14520bf
2017-08-30 18:57:55 +09:00
Xidorn Quan
4750451d3d Bug 1387993 - Enable chrome mochitests on linux debug build. r=jmaher
MozReview-Commit-ID: Aj0movJBDI9

--HG--
extra : rebase_source : c33c2386fd0ca2e9eed9cb7fc137caf41629f7e4
2017-08-30 10:18:30 +10:00
Alexis Beingessner
bfdaac7f5c Bug 1395098 - Apply folded alpha to text when using advanced layers r=jrmuizel
MozReview-Commit-ID: 6crHThEP6Ha

--HG--
extra : rebase_source : 9dd0c286b400b22803b1a52ac0822738ef17d904
2017-08-30 13:18:09 -04:00
Brad Werth
1174656d6b Bug 1385789: Refactor RestyleManager::ContentStateChangedInternal to move nsRestyleHint calculation out to GeckoRestyleManager. r=bholley
MozReview-Commit-ID: 7GXkPcjfYe6

--HG--
extra : rebase_source : d493227f872f2698d2f7d48df4132377b2d43c36
2017-08-29 15:50:50 -07:00
Kartikaya Gupta
c3ffce14a8 Bug 1395218 - Make the bevel side parameters more strongly-typed. r=dholbert
MozReview-Commit-ID: 5rymg5uTMC1

--HG--
extra : rebase_source : 52feb903732eeba3dd52ff086de15181dde854c9
2017-08-30 12:22:18 -04:00
Wes Kocher
940bdbc699 Merge autoland to central, a=merge
MozReview-Commit-ID: Jz9iBkuBrpV
2017-08-30 19:52:39 -07:00
Tobias Schneider
4c5ae9e764 Bug 1299848 - Move all reftest-paged tests to layout/reftests/pagination. r=dholbert
--HG--
rename : layout/reftests/printing/1108104-ref.html => layout/reftests/pagination/1108104-ref.html
rename : layout/reftests/printing/1108104.html => layout/reftests/pagination/1108104.html
rename : layout/reftests/printing/115199-1-ref.html => layout/reftests/pagination/115199-1-ref.html
rename : layout/reftests/printing/115199-1.html => layout/reftests/pagination/115199-1.html
rename : layout/reftests/printing/115199-2-ref.html => layout/reftests/pagination/115199-2-ref.html
rename : layout/reftests/printing/115199-2a.html => layout/reftests/pagination/115199-2a.html
rename : layout/reftests/printing/115199-2b.html => layout/reftests/pagination/115199-2b.html
rename : layout/reftests/printing/1166147-ref.html => layout/reftests/pagination/1166147-ref.html
rename : layout/reftests/printing/1166147.html => layout/reftests/pagination/1166147.html
rename : layout/reftests/printing/129941-1-ref.html => layout/reftests/pagination/129941-1-ref.html
rename : layout/reftests/printing/129941-1a.html => layout/reftests/pagination/129941-1a.html
rename : layout/reftests/printing/129941-1b.html => layout/reftests/pagination/129941-1b.html
rename : layout/reftests/printing/129941-1c.html => layout/reftests/pagination/129941-1c.html
rename : layout/reftests/printing/129941-1d.html => layout/reftests/pagination/129941-1d.html
rename : layout/reftests/printing/129941-1e.html => layout/reftests/pagination/129941-1e.html
rename : layout/reftests/printing/1321803-1-ref.html => layout/reftests/pagination/1321803-1-ref.html
rename : layout/reftests/printing/1321803-1a.html => layout/reftests/pagination/1321803-1a.html
rename : layout/reftests/printing/272830-1-ref.html => layout/reftests/pagination/272830-1-ref.html
rename : layout/reftests/printing/272830-1.html => layout/reftests/pagination/272830-1.html
rename : layout/reftests/printing/318022-1-ref.html => layout/reftests/pagination/318022-1-ref.html
rename : layout/reftests/printing/318022-1.html => layout/reftests/pagination/318022-1.html
rename : layout/reftests/printing/381497-f.html => layout/reftests/pagination/381497-f.html
rename : layout/reftests/printing/381497-n.html => layout/reftests/pagination/381497-n.html
rename : layout/reftests/printing/403669-1-ref.html => layout/reftests/pagination/403669-1-ref.html
rename : layout/reftests/printing/403669-1.html => layout/reftests/pagination/403669-1.html
rename : layout/reftests/printing/577450-1-ref.html => layout/reftests/pagination/577450-1-ref.html
rename : layout/reftests/printing/577450-1.html => layout/reftests/pagination/577450-1.html
rename : layout/reftests/printing/609227-1-ref.html => layout/reftests/pagination/609227-1-ref.html
rename : layout/reftests/printing/609227-1.html => layout/reftests/pagination/609227-1.html
rename : layout/reftests/printing/609227-2-ref.html => layout/reftests/pagination/609227-2-ref.html
rename : layout/reftests/printing/609227-2a.html => layout/reftests/pagination/609227-2a.html
rename : layout/reftests/printing/609227-2b.html => layout/reftests/pagination/609227-2b.html
rename : layout/reftests/printing/626395-1-ref.html => layout/reftests/pagination/626395-1-ref.html
rename : layout/reftests/printing/626395-1a.html => layout/reftests/pagination/626395-1a.html
rename : layout/reftests/printing/626395-1b.html => layout/reftests/pagination/626395-1b.html
rename : layout/reftests/printing/626395-2-ref.html => layout/reftests/pagination/626395-2-ref.html
rename : layout/reftests/printing/626395-2a.html => layout/reftests/pagination/626395-2a.html
rename : layout/reftests/printing/626395-2b.html => layout/reftests/pagination/626395-2b.html
rename : layout/reftests/printing/626395-2c.html => layout/reftests/pagination/626395-2c.html
rename : layout/reftests/printing/626395-2d.html => layout/reftests/pagination/626395-2d.html
rename : layout/reftests/printing/652178-1-ref.html => layout/reftests/pagination/652178-1-ref.html
rename : layout/reftests/printing/652178-1-ref2.html => layout/reftests/pagination/652178-1-ref2.html
rename : layout/reftests/printing/652178-1.html => layout/reftests/pagination/652178-1.html
rename : layout/reftests/printing/745025-1-ref.html => layout/reftests/pagination/745025-1-ref.html
rename : layout/reftests/printing/745025-1.html => layout/reftests/pagination/745025-1.html
rename : layout/reftests/printing/820496-1-ref.html => layout/reftests/pagination/820496-1-ref.html
rename : layout/reftests/printing/820496-1.html => layout/reftests/pagination/820496-1.html
rename : layout/reftests/printing/960822-ref.html => layout/reftests/pagination/960822-ref.html
rename : layout/reftests/printing/960822.html => layout/reftests/pagination/960822.html
rename : layout/reftests/printing/966419-1-ref.html => layout/reftests/pagination/966419-1-ref.html
rename : layout/reftests/printing/966419-1.html => layout/reftests/pagination/966419-1.html
rename : layout/reftests/printing/966419-2-ref.html => layout/reftests/pagination/966419-2-ref.html
rename : layout/reftests/printing/966419-2.html => layout/reftests/pagination/966419-2.html
rename : layout/reftests/printing/test-async-paged.html => layout/reftests/pagination/test-async-paged.html
2017-08-30 09:23:16 -07:00
Geoff Brown
6d680d9a44 Bug 1394957 - Fix logging of number of tests when running chunked reftests; r=ahal 2017-08-30 10:11:28 -06:00
Kris Maglione
8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
Mike Hommey
57c65279a0 Bug 1395088 - Remove the jemalloc_bool type. r=njn
Back when it was added (for Windows CE, in bug 488608), mozjemalloc was
C and all the supported compilers didn't support C99 bools. Now
mozjemalloc is C++, and all the supported compilers support C99 bools
for the cases where the type is used from C.

--HG--
extra : rebase_source : b9c710a0c48dc36cb473af59e3119131d13523ce
2017-08-30 18:04:47 +09:00
Sebastian Hengst
948b5a30f8 merge mozilla-central to autoland. r=merge a=merge 2017-08-30 11:06:42 +02:00
Sebastian Hengst
a56d428b1f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gf0QPFp52Bj
2017-08-30 11:05:16 +02:00
Sebastian Hengst
2d11b559c8 Backed out changeset 7aee62c706ab (bug 1393189) for crashing e.g. in chrome's devtools/client/memory/test/chrome/test_List_01.html or losing connection while running many test suites, both on Windows. r=backout on a CLOSED TREE 2017-08-30 10:07:09 +02:00
Sebastian Hengst
08520511b8 Backed out changeset d292ce405097 (bug 1393189) 2017-08-30 10:04:40 +02:00
Sebastian Hengst
b8848792ee Backed out changeset 1200482baf04 (bug 1393189) 2017-08-30 10:04:34 +02:00
Sebastian Hengst
7fa5412811 Backed out changeset 986b0a6f7173 (bug 1393189) 2017-08-30 10:04:29 +02:00
Sebastian Hengst
36eaef4709 Backed out changeset d0cff01a73a0 (bug 1393189) 2017-08-30 10:04:23 +02:00
Sebastian Hengst
61bf0a9a2e Backed out changeset 370357882bef (bug 1393189) 2017-08-30 10:04:17 +02:00
Sebastian Hengst
13ff1408e8 Backed out changeset b0cc5205f6ed (bug 1393189) 2017-08-30 10:04:12 +02:00
Bobby Holley
af82cc20b0 Bug 1394987 - Flush styles in PresShell::ReconstructFrames. r=emilio
MozReview-Commit-ID: GUuE1dKoDvK
2017-08-29 17:40:57 -07:00
Bobby Holley
c958f750fa Bug 1394987 - Remove dead codepath into PresShell::ReconstructFrames. r=emilio
MozReview-Commit-ID: 5ZqvGc2eTmJ
2017-08-29 17:40:56 -07:00
Andrew McCreight
78807d8776 Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1

--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00