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

64079 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 295e7d99bc Bug 1459278 - Use Core::XUL instead of obsolete Core::XP Toolkit/Widgets: XUL for file meta data. r=froydnj
MozReview-Commit-ID: A1hLKbyKpkx

--HG--
extra : rebase_source : 8b6010364a10c699da227e7b365e7ba2eca955d5
2018-05-07 10:56:19 +03:00
Narcis Beleuzu f76ef214fb Merge inbound to mozilla-central. a=merge 2018-05-07 11:55:22 +03:00
Alexis Beingessner 239a528013 Bug 1435094 - wire up GlyphRasterSpace to nsDisplayTransform. r=kats,mstange
When a transform thinks it's animated we should abandon screen rasterization
and instead favour local rasterization. This produces a more visually
pleasant rendering, as pixel-snapping "wobbles" the text between
frames.

The float scale of GlyphRasterSpace::Local is currently unused, but this
PR tries its best to set it to a reasonable value, based on discussion
with glennw about the intended semantics. We agreed it should specify
the scale *relative* to the parent stacking context, which means it's
just whatever scaling the stacking context's transform applies. It's
possible we'll need to clamp this value or make it properly 2-dimensional
later on.

Some book-keeping is added to StackingContextHelper to ensure that
GlyphRasterSpace::Screen is never requested by a descendent
of a stacking context using GlyphRasterSpace::Local.

nsDisplayMask is changed to use a StackingContextHelper to ensure
rasterSpace is properly propagated.

In addition, this is the first commit making use of cbindgen's new support
for bridging Rust enums natively into C++! This bumps our minimum cbindgen
to 6.0.0 (just released).

MozReview-Commit-ID: 9AlsB6nUheB

--HG--
extra : rebase_source : 247e5b197e998682cb4bb74f6f9319a9a4dd3264
2018-05-03 20:38:37 -04:00
Emilio Cobos Álvarez d6f7b1d2f5 Bug 1459497: Refactor the preferred style set stuff in order to move the state away from the loader. r=heycam
The main thing to have into account is that the styleset to use is either
mLastStyleSheetSet, or mPreferredStyleSheetSet.

This last one gets set from Loader::IsAlternateSheet, which is quite nasty and
what I'm trying to remove.

MozReview-Commit-ID: BI4P1Chqtli
2018-05-07 03:55:36 +02:00
Emilio Cobos Álvarez 14dba54ee1 Bug 1459401: Remove unused container argument in EventStateManager::ContentRemoved. r=smaug
MozReview-Commit-ID: HAuTfzuo3iY
2018-05-06 16:38:30 +02:00
Andreea Pavel b28b94dc81 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-06 11:41:19 +03:00
Mats Palmgren 7db87acde1 Bug 1452383 part 2 - [css-grid] Remove local enum LineRangeSide and use LogicalSide instead (idempotent patch). r=dholbert 2018-05-05 22:21:17 +02:00
Mats Palmgren f9c9cf6df6 Bug 1452383 part 1 - [css-grid] Use LogicalAxis instead of passing member pointers (idempotent patch). r=dholbert 2018-05-05 22:21:17 +02:00
Mats Palmgren d3994e050d Bug 1452368 part 2 - [css-grid] Adjust reftests. 2018-05-05 22:21:17 +02:00
Mats Palmgren 3518ef2a3e Bug 1452368 part 1 - [css-grid] Fix off-by-1 calculation in line clamping limit for auto-placed items. r=dholbert 2018-05-05 22:21:17 +02:00
Emilio Cobos Álvarez 708fb42af1 Bug 1458814: Mark some tests as failing with webrender. r=jrmuizel
The patches in this bug makes layout get more accurate values. That apparently
is confusing WebRender, which renders one more pixel height in some of the
rectangles.

I have no idea why and I couldn't repro out of the reftest harness. I suspect
something something blob invalidation, but...

MozReview-Commit-ID: A2slTJLfJBx
2018-05-05 16:31:22 +02:00
Emilio Cobos Álvarez 27ca8b58c8 Bug 1458814: Remove code that is no longer called. r=hiro
Au revoir!

MozReview-Commit-ID: DjqszUSIzXs
2018-05-05 16:31:20 +02:00
Emilio Cobos Álvarez ceca84ff64 Bug 1458814: Remove a bit of trivially dead code. r=hiro
MozReview-Commit-ID: GG41v4TejBU
2018-05-05 16:31:19 +02:00
Emilio Cobos Álvarez 42062c43db Bug 1458814: Remove unused AnimationValue::mGecko. r=hiro
MozReview-Commit-ID: I0TJsSQYe5t
2018-05-05 16:31:18 +02:00
Emilio Cobos Álvarez d7f92df0f2 Bug 1458814: Make SMIL values not roundtrip through strings. r=hiro
MozReview-Commit-ID: DpbFSutIv3t
2018-05-05 16:31:17 +02:00
Xidorn Quan f62e2a947a Bug 1406552 - Only update max ascent / descent with em ones when ascent and descent are zero. r=jfkthame
The original code was added in bug 385263 for fixing bug 279032 that a
single font provides zero for max ascent / descent in its HHEA table
which caused Firefox to crash.

Unconditionally picking the maximum of max ascent / descent and their
em correspondents doesn't seem to be essential for working around that
case, so this patch changes it to just use the em ascent / descent when
both max ascent and descent are zero.

This fixes a webcompat problem related to Roboto font on Linux (and
presumably also Android given it uses FreeType backend as well).

MozReview-Commit-ID: EpKrfiOwnZt

--HG--
extra : rebase_source : 0619abf992fb1e1a1f3068ab172880913ebff1f1
2018-05-03 19:43:46 +10:00
Emilio Cobos Álvarez f3ce6d98c2 Bug 1458556: Upgrade an assertion to try get a crash earlier and (hopefully) a reproducible test-case. r=xidorn
MozReview-Commit-ID: 2UT7M2KhHRf
2018-05-05 12:58:43 +02:00
Mats Palmgren 7d559398bd Bug 1458028 - Try also the OverflowList and next-in-flows when searching for the first child frame. r=xidorn 2018-05-05 01:06:57 +02:00
Brindusan Cristian 2d54f42738 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-05 00:43:22 +03:00
Brindusan Cristian 89a097be09 Merge inbound to mozilla-central. a=merge 2018-05-05 00:35:50 +03:00
Matt Woodrow 6e5300c113 Bug 1456534 - Make sure we do a full display list rebuild on the next frame after creating a displayport during painting. r=mstange
MozReview-Commit-ID: 9SZMjf43G7S

--HG--
extra : rebase_source : 8d22bbb4aedf5e91ef2c20e4297cfde5292bf6e0
2018-05-04 10:23:18 -04:00
Cosmin Sabou dc4e10c449 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
2018-05-04 20:37:47 +03:00
Joel Maher 91721cfdc5 Bug 1455316 - sometimes when test-verify finds a failure, all future tests are marked as failing also. r=gbrown 2018-05-01 14:04:24 -04:00
Cosmin Sabou 2f93cbd6cb Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
extra : rebase_source : e56a2d784bd87af73d03cc5fcdca84d8156ed054
2018-05-04 21:07:31 +03:00
Olli Pettay ed65a2bfc8 bug 1457867, store DOMEventTargetHelper objects in global object as a linked list, r=bkelly
--HG--
extra : rebase_source : 415c03249bae1edc4313bcf15f91716a748565f9
2018-05-04 19:25:05 +03:00
David Major 8c93c63c1c Bug 1458365: Skip test_dont_use_document_colors.html on Windows ASan. DONTBUILD
--HG--
extra : rebase_source : 40b6ea094580c8c2cb32254224f68946948c1f27
2018-05-04 14:50:34 -04:00
Olli Pettay 8b14d4d61a bug 1442980, add basic test for print previewed shadow DOM, r=bdahl
--HG--
extra : rebase_source : 66d28f5566710346022ef9a8f8d3459579edb546
2018-05-04 11:56:04 +03:00
shindli 8fad8a2218 Merge inbound to mozilla-central. a=merge 2018-05-04 11:35:37 +03:00
Noemi Erli 6e6ddaaf1f Backed out 4 changesets (bug 1458814) for failres in builds/worker/workspace/build/tests/reftest/tests/layout/reftests/svg/smil/style/anim-css-strokewidth-1-to-pct-pct.svg on a CLOSED TREE
Backed out changeset d0990dff4fc4 (bug 1458814)
Backed out changeset c61d211a9f1d (bug 1458814)
Backed out changeset e7f7ea7ab4af (bug 1458814)
Backed out changeset 9ac18a3eeaa5 (bug 1458814)
2018-05-04 08:39:52 +03:00
Aditya Khadse 98e9eed20b Bug 1441433 - Move test_carets_* files into layout subdirectory. r=ato
MozReview-Commit-ID: D3LrdVj7yOR


--HG--
rename : testing/marionette/harness/marionette_harness/www/test_carets_columns.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_columns.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_cursor.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_cursor.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_display_none.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_display_none.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_iframe.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_iframe.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_longtext.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_longtext.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_multipleline.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_multipleline.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_multiplerange.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_multiplerange.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_selection.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_selection.html
2018-05-04 00:17:30 +01:00
Ciure Andrei 82f7c496dc Merge inbound to mozilla-central. a=merge 2018-05-04 00:52:04 +03:00
Eugen Sawin 8bee753352 Bug 1458687 - [1.0] Remove obsolete isUserTriggered argument in nsContentUtils::TriggerLink. r=smaug 2018-05-03 16:05:34 +02:00
Emilio Cobos Álvarez a3a9886c6b Bug 1458814: Remove code that is no longer called. r=hiro
Au revoir!

MozReview-Commit-ID: DjqszUSIzXs

--HG--
extra : rebase_source : b81bb905449eb1e4d7cbc1094da9a151011b0350
2018-05-03 18:47:47 +02:00
Emilio Cobos Álvarez 0566c42687 Bug 1458814: Remove a bit of trivially dead code. r=hiro
MozReview-Commit-ID: GG41v4TejBU

--HG--
extra : rebase_source : 5dc1f255178ae723eed47ec3fdbd6595fa84da62
2018-05-03 18:41:17 +02:00
Emilio Cobos Álvarez bac4dc505c Bug 1458814: Remove unused AnimationValue::mGecko. r=hiro
MozReview-Commit-ID: I0TJsSQYe5t

--HG--
extra : rebase_source : 344bef12b086f61327e9c745d1a02adcd32e2a38
2018-05-03 18:31:54 +02:00
Emilio Cobos Álvarez d97d041be2 Bug 1458814: Make SMIL values not roundtrip through strings. r=hiro
MozReview-Commit-ID: DpbFSutIv3t

--HG--
extra : rebase_source : 034bb584fcb3f6b67a6b38f70149e167ba0c300c
2018-05-03 18:27:44 +02:00
Emilio Cobos Álvarez 825625678d Bug 1458928: Remove GetCSSParsingEnvironment. r=xidorn
MozReview-Commit-ID: KXGM7JiUZAt

--HG--
extra : rebase_source : 7a3223488e13ddd453298b8f74e9c07a12bf0044
2018-05-03 17:41:48 +02:00
Gurzau Raul 30662c7545 Merge inbound to mozilla-central. a=merge 2018-05-03 00:04:54 +03:00
Timothy Guan-tin Chien c0b090a350 Bug 1457722 - Don't flip resizer twice in RTL-locales r=dao
MozReview-Commit-ID: 6k2AyozxJB9

--HG--
rename : layout/reftests/native-theme/resizer-bottomleft.xul => layout/reftests/native-theme/resizer-bottomleft-rtl.xul
rename : layout/reftests/native-theme/resizer-bottomright.xul => layout/reftests/native-theme/resizer-bottomright-rtl.xul
rename : layout/reftests/xul/resizer-bottomleft.xul => layout/reftests/xul/resizer-bottomleft-rtl.xul
rename : layout/reftests/xul/resizer-bottomright.xul => layout/reftests/xul/resizer-bottomright-rtl.xul
extra : rebase_source : 252aea92ad5bbfa5a8f01aca91c4cbb15bc716bc
2018-05-01 14:12:13 -07:00
Markus Stange 90d2624508 Bug 1219985 - The canvas rendering context 2d should be opaque if either the moz-opaque attribute is set or if it has been initialized with alpha:false. r=jrmuizel
If the canvas is cleared by setting the width or height attributes, its
opaqueness should not be affected.

This patch keeps support for moz-opaque, and also keeps the behavior that
changing the moz-opaque attribute clears the canvas, even if this does not
affect the actual opaqueness of the canvas.

MozReview-Commit-ID: LOlsJxiP9kc

--HG--
extra : rebase_source : 8bb95b1d5932c39a8085e007f9fd1b88b97afe55
2018-05-02 11:23:53 -04:00
Cosmin Sabou a1f7ce21a9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-02 18:07:21 +03:00
Jonathan Kew 007b53464f Bug 1458158 - Correct the weight-difference factor in CalcStyleMatch to favor closer weights, not further ones. r=jwatt 2018-05-01 15:56:04 +01:00
Jonathan Kew e94e29bb2e Bug 1458158 - Testcase for rendering Arabic characters when styled with an extra-bold weight of Arial. r=jwatt 2018-05-01 15:55:06 +01:00
Cosmin Sabou 435ba6ef00 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
2018-05-02 12:27:59 +03:00
Chris Manchester 22900f8fb9 Bug 1372381 - Generate automation.py with GENERATED_FILES rather than Makefile.in r=mshal
This commit also removes "DEFAULT_APP", which is unused.

MozReview-Commit-ID: 5YYaC5LJqUn

--HG--
extra : rebase_source : 45f0f8f11698890fae0dcca71174f88dbdb412c8
2018-04-30 11:08:59 -07:00
Andreea Pavel 7955752872 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-01 13:13:09 +03:00
Xidorn Quan 8de2cba5fc Bug 1457802 part 3 - Remove unused keyword tables. r=heycam
MozReview-Commit-ID: A94JflJh368

--HG--
extra : rebase_source : 8c090b26415462a3e55ad59b7aa4b011b99ad342
2018-04-30 09:56:26 +10:00
Xidorn Quan 069405ae74 Bug 1457802 part 2 - Remove pref callbacks touching keyword tables from nsLayoutUtils. r=heycam
MozReview-Commit-ID: 8ZTyx9es772

--HG--
extra : rebase_source : 99709e44f1b99e2774631bc240ef3fe991d5bfaa
2018-04-30 09:26:37 +10:00
Xidorn Quan b81d5f0707 Bug 1457802 part 1 - Remove nsCSSProps::GetColorName which is unused. r=heycam
MozReview-Commit-ID: GybpTh6GYYx

--HG--
extra : rebase_source : 76c54179522d37ebfc42cbfbc7590605c0f5ae70
2018-04-30 09:20:53 +10:00
Emilio Cobos Álvarez d9af1e4edf Bug 1457985: Fix a typo in nsStyleContentData copy-constructor. r=xidorn
MozReview-Commit-ID: FtcA6Nm4dwr

--HG--
extra : rebase_source : cf1b1c1323072e78a721804e3ae469c367f4bb8a
2018-04-30 20:41:08 +02:00