Narcis Beleuzu
25e3477b34
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-05-15 00:39:41 +03:00
Narcis Beleuzu
932adad93d
Merge inbound to mozilla-central. a=merge
2018-05-15 00:36:35 +03:00
Adrian Wielgosik
c501e3beb0
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
f1457c6874
Bug 1460940 - Remove nsIDOMDocument uses in layout/. r=bz
...
MozReview-Commit-ID: KixJ5edlCjl
--HG--
extra : rebase_source : 677049bc7eb131dc86ed468eb8a6b06085f2c17d
2018-05-11 19:46:15 +02:00
Kristen Wright
5b0c2d18cb
Bug 1460682 - nsSelectionStyle::mUnderlineStyle should be compared against NS_STYLE_TEXT_DECORATION_STYLE_NONE r=dbaron
...
Removed comparison to NS_STYLE_BORDER_STYLE_NONE and replaced with NS_STYLE_TEXT_DECORATION_STYLE_NONE
--HG--
extra : rebase_source : 559d47c0379229c169c5da75d38db6850ff3d60b
2018-05-10 10:55:47 -07:00
bobslept
705b29c214
Bug 1459111 - Rename ServoCSSParsingEnvironment to ParsingEnvironment. r=emilio
...
MozReview-Commit-ID: Jl5aoarH0aU
2018-05-14 20:20:20 +02:00
Margareta Eliza Balazs
2b9779c593
Merge inbound to mozilla-central. a=merge
2018-05-14 19:44:11 +03:00
Kartikaya Gupta
849bc9d409
Bug 1437036 - Stop the reftest harness from waiting for MozAfterPaint during infinite/superlong animations. r=hiro
...
These tests rely on an optimization within Gecko where it stops firing
MozAfterPaint events if there was no visible change to the generated
layers. This allows the reftest harness to exit the
waiting-for-MozAfterPaint loop and proceed with the test. However, with
webrender, this optimization does not exist and so the loop never exits.
In order to solve this problem, this patch adds an explicit mechanism to
exit the loop by means of a class attribute on the root element of the
test page.
MozReview-Commit-ID: 17ta5kLPDr9
--HG--
extra : rebase_source : 96ea462274724c6c65f1186f473bc1767253fd6b
2018-05-14 08:53:52 -04:00
Robert Longson
1baf4cf80c
Bug 1422226 - Don't build display lists for NONDISPLAY content. r=jwatt
2018-05-13 19:16:26 +01:00
Bas Schouten
bbc1a8c2c3
Bug 1460624: Switch FIFO buffer to use stl::deque instead of stl::list. r=mattwoodrow
...
MozReview-Commit-ID: 3oeH9WyRKBp
2018-05-12 22:21:38 +02:00
Brindusan Cristian
6c56b182d4
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-05-12 12:51:43 +03:00
Brindusan Cristian
1df25b391a
Merge inbound to mozilla-central. a=merge
2018-05-12 12:47:14 +03:00
Emilio Cobos Álvarez
5aab8db970
Bug 1408301: Remove getPropertyCSSValue. r=bz
...
It's been removed for a while on Nightly without any known regressions. This
gives us a full beta cycle of telemetry and two nightly cycles without the API
before shipping.
This only removes the API, followup work will replace serialization by Servo's,
and remove the remaining DOM interfaces.
MozReview-Commit-ID: 2m1taYg5xEr
2018-05-12 11:23:47 +02:00
Jonathan Watt
4753528362
Bug 1447039 - Stop using getPropertyCSSValue in test files. r=emilio
...
MozReview-Commit-ID: GjsNPBZmje0
2018-05-12 11:23:30 +02:00
Jonathan Kew
dba372ac43
Bug 1396450 - Don't apply ToLowerCase to font feature identifiers used in @font-feature-values rules, as the spec says they're case sensitive. r=xidorn
2018-05-14 10:05:25 +01:00
Alexis Beingessner
692c803365
Bug 1406179 - add reftest to check that preserve-3d corrupts nothing. r=kats
...
MozReview-Commit-ID: 5kmAQIu0CP
--HG--
extra : rebase_source : fad50f5d9ad612034f5c44e951b145edc58b6b6b
2018-05-14 14:09:54 -04:00
Emilio Cobos Álvarez
f78be9e725
Bug 1460655: Support x as a resolution unit. r=xidorn
...
MozReview-Commit-ID: TjU0FLCLMN
--HG--
extra : rebase_source : 63da5bdd570587f82b370e8819d9e0fc7220e9c2
2018-05-10 18:11:52 +02:00
Margareta Eliza Balazs
4f9a2ba08e
Merge inbound to mozilla-central. a=merge
2018-05-11 12:36:02 +03:00
Dorel Luca
956b982878
Merge mozilla-central to mozilla-inbound
2018-05-11 01:04:57 +03:00
Dorel Luca
d32e085275
Merge mozilla-inbound to mozilla-central. a=merge
2018-05-11 00:59:14 +03:00
Csoregi Natalia
d2a7e3fcd3
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-05-10 19:45:06 +03:00
Bas Schouten
f86cc21a3b
Bug 1460279: Avoid copying clips during FrameLayerBuilder. r=mattwoodrow
...
MozReview-Commit-ID: DzQezU7BOML
2018-05-10 18:05:54 +02:00
Emilio Cobos Álvarez
a5e7a3aec3
Bug 509958: Unprefix :-moz-selection. r=dbaron,xidorn
...
Our implementation is totally not what the spec says, but totally what other
UAs do, see https://github.com/w3c/csswg-drafts/issues/2474 .
So given this is causing webcompat pain, I think we should be pragmatic and just
unprefix this.
We could keep serialization and getComputedStyle with ::selection working with a
bit more effort, like we do for :-moz-placeholder, but I'd prefer not doing at
least the serialization bit, and just alias in nsCSSPseudoElements
:-moz-selection to selection too.
MozReview-Commit-ID: 6lxctozRDqv
2018-05-10 17:19:25 +02:00
Brian Birtles
3c006b6e4c
Bug 1456394 - Use updateTiming() in animation tests; r=hiro
...
We will remove animation.effect.timing in the next patch.
MozReview-Commit-ID: EyeFNM81NbN
--HG--
extra : rebase_source : 9fe5eb0e5d141ffffa017db255328c742a059611
2018-05-07 12:58:37 +09:00
Brian Birtles
f8c518344a
Bug 1456394 - Rename AnimationEffectReadOnly to AnimationEffect; r=bz,hiro
...
MozReview-Commit-ID: 8jzJiCWt5vs
--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffect.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffect.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffect.webidl
extra : rebase_source : 2bd6490fe9be47cfb760bda81a63c33ba0b0397d
2018-05-07 11:15:16 +09:00
Brian Birtles
3184f30162
Bug 1456394 - Merge KeyframeEffectReadOnly and KeyframeEffect; r=bz,hiro
...
MozReview-Commit-ID: FvTMGjxfRXk
--HG--
extra : rebase_source : 8f7fd0903c9ca2f545dce2633eb797345a7517f8
2018-05-07 11:08:59 +09:00
Brian Birtles
9622b88217
Bug 1456394 - Rename KeyframeEffectReadOnly.{h,cpp} to KeyframeEffect.{h,cpp}; r=bz,hiro
...
MozReview-Commit-ID: 5Q7oQV8vmgS
--HG--
rename : dom/animation/KeyframeEffectReadOnly.cpp => dom/animation/KeyframeEffect.cpp
rename : dom/animation/KeyframeEffectReadOnly.h => dom/animation/KeyframeEffect.h
extra : rebase_source : cdc8448e7d07376691ef9187f7d6f4424800b690
2018-05-07 11:07:06 +09:00
Kristen Wright
031610cc8e
Bug 1459367 - Convert NS_STYLE_IMAGELAYER_ATTACHMENT_* to enum class. r=manishearth
...
Converted NS_STYLE_IMAGELAYER_ATTATCHMENT_* vals to enum class, StyleImageLayerAttachment.
2018-05-08 15:05:33 -07:00
Brad Werth
b2b1e332cd
Bug 1459697 Part 3: Add a crashtest. r=dbaron
...
MozReview-Commit-ID: GrUrVIdzO6
--HG--
extra : rebase_source : a683cb8f24dee4814ed2dfd2c491de9a2f060d2b
2018-05-08 09:15:43 -07:00
Brad Werth
1ac1d8fd0d
Bug 1459697 Part 2: Account for the possibility that EllipseShapeInfo may not generate an interval for the entire BStart() to BEnd() range, due to rounding error in the distance field calculation. r=dbaron
...
MozReview-Commit-ID: CYeBKhDYD1F
The distance field does not calculate a true Euclidean distance, so it is
unreasonable to require that the intervals span all of the BStart() to BEnd()
float area. The final block pixel may not generate an interval at all due to
rounding errors. This change makes accomodation for the rounding errors and
adds asserts to ensure we aren't tolerating errors outside the area of the
last block pixel.
--HG--
extra : rebase_source : 114c1667861c90a055295f9bd40a3991cbb5dc88
2018-05-07 14:02:03 -07:00
Brad Werth
4624dc95ff
Bug 1459697 Part 1: In EllipseShapeInfo distance field calculation, remove a warning that might trigger due to rounding error, and shorten the iteration of each block pixel row, when possible. r=dbaron
...
MozReview-Commit-ID: 6itpj3HBSRy
--HG--
extra : rebase_source : 2285e1b0c136f6fe8c057f7bdb0a8566146cd443
2018-05-08 11:11:47 -07:00
Csoregi Natalia
f034c0ab5d
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-05-10 12:52:31 +03:00
Matt Woodrow
ca3bd0a315
Bug 1452464 - Followup to fix bustage. CLOSED TREE
2018-05-10 16:34:25 +12:00
Matt Woodrow
560dfcc99f
Bug 1452464. r=miko a=abillings
2018-04-21 16:25:33 +12:00
Emilio Cobos Álvarez
a104536e36
Bug 1447009: Fix StyleSheet title getter to comply with the spec. r=heycam
...
Also to match Blink.
MozReview-Commit-ID: Lh4iLhVEUKI
2018-05-10 00:37:27 +02:00
Matt Woodrow
cb53646377
Bug 1460482 - Force root scroll frame overlay scroll bars to be always on top. r=mstange
...
MozReview-Commit-ID: 3zeykuDgEHc
--HG--
extra : rebase_source : 56515ba09442c49cb5c9cbbfdc3be258279ccb37
2018-05-10 16:52:12 +12:00
Brad Werth
140f9cb9f9
Bug 1460041 Part 1: Correct PolygonShapeInfo constructor to measure its start and end block extents in margin rect space. r=jfkthame
...
MozReview-Commit-ID: 5pxiK1oH7sn
--HG--
extra : rebase_source : f6ad9f0e66a0ce5fe7c487a0cd9a05e74bbd201f
2018-05-08 15:56:49 -07:00
Matt Woodrow
545bdd8190
Bug 1453541
- Part 3: Add reftests. r=mstange
...
MozReview-Commit-ID: 95DOq6UBUnq
--HG--
extra : rebase_source : 1807ba3ddcb4426f7a221d59d1f2916824d97cda
2018-04-15 16:38:45 +12:00
Matt Woodrow
250e99f481
Bug 1453541
- Part 2: Look for Out Of Flow frames with modified ancestors during ProcessFrame instead of during display list building. r=mstange
...
MozReview-Commit-ID: KsgrFqr2gVN
--HG--
extra : rebase_source : c4c370a48cbc5d3955e4b4d815c1d2b91eeb5601
2018-04-15 16:38:45 +12:00
Matt Woodrow
52c6a96582
Bug 1453541
- Part 1: Move more code into ProcessFrame so that we can call it from multiple places. r=mstange
...
MozReview-Commit-ID: AOXPgteSgTL
--HG--
extra : rebase_source : 88da959b50c5ca9681482854e40d5d913aeac57d
2018-04-15 16:38:44 +12:00
Dan Glastonbury
ee3d63760a
Bug 1457810: Move CalcComplexColor to StyleComplexColor. r=xidorn
...
Move from nsStyleColor::CalcComplexColor to StyleComplexColor::CalcColor.
MozReview-Commit-ID: FkYovvPZLc8
--HG--
extra : rebase_source : 54f1966e0ef9258f20e954cd6250774008eca04c
2018-05-09 17:03:02 +10:00
Brad Werth
e70fdc35ef
Bug 1457602 Part 2: Correct shape-outside: image interval creation to correctly handle sideways-lr (with or without positive shape-margin.) r=jfkthame
...
MozReview-Commit-ID: F4fsRPajJfR
--HG--
extra : rebase_source : 217c18eee3b5ea1ba145752ed39d27ef80d208e4
2018-05-03 15:51:06 -07:00
Brad Werth
8eda60256e
Bug 1457602 Part 1: Correct shape-outside: image shape-margin calculation for vertical writing modes. r=jfkthame
...
MozReview-Commit-ID: ChUL66vUkHu
--HG--
extra : rebase_source : beadd474d6022b1f8672c39cb841da8590ffde51
2018-04-30 17:01:24 -07:00
Xidorn Quan
4ddb42237d
Bug 1460116 - Remove ShouldHideScrollbars. r=jimm
...
MozReview-Commit-ID: 7v6Eylefk4t
--HG--
extra : rebase_source : f37e94e205e7e589c3a47f282c57b725d65914d9
2018-05-09 11:40:58 +10:00
Coroiu Cristina
8d9a2fdf05
Backed out 2 changesets (bug 1460041) for lint failure at /builds/worker/checkouts/gecko/tools/lint/wpt.yml on a CLOSED TREE
...
Backed out changeset 25c0ace5ecb4 (bug 1460041)
Backed out changeset 8f13ab5de9be (bug 1460041)
2018-05-11 01:25:08 +03:00
Brad Werth
0e6a1cf4aa
Bug 1460041 Part 1: Correct PolygonShapeInfo constructor to measure its start and end block extents in margin rect space. r=jfkthame
...
MozReview-Commit-ID: 5pxiK1oH7sn
--HG--
extra : rebase_source : f6ad9f0e66a0ce5fe7c487a0cd9a05e74bbd201f
2018-05-08 15:56:49 -07:00
Joel Maher
b798845062
Bug 1392106 - skip css writing modes on win7/debug and fix import-tests.py to support reftest_writing_modes.list. r=gbrown,xidorn
2018-05-09 08:55:51 -04:00
Jonathan Kew
9c8f263093
Bug 1458004 - Link font-style values italic / oblique to the appropriate variation-font axes or synthetic styling. r=jwatt
2018-05-09 13:49:24 +01:00
Bas Schouten
c04589f5de
Bug 1458655: Do not copy DisplayItemClip onto AssignedDisplayItemData. r=mattwoodrow
2018-05-09 12:29:01 +00:00
Margareta Eliza Balazs
eb6c5214a6
Merge inbound to mozilla-central. a=merge
2018-05-09 12:33:51 +03:00