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

70022 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez cf63cf46ad Bug 1572252 - Properly null-check a variable in debug-only code.
Differential Revision: https://phabricator.services.mozilla.com/D43054

--HG--
extra : moz-landing-system : lando
2019-08-22 13:05:44 +00:00
Emilio Cobos Álvarez dca2b09c76 Bug 1575713 - Use atoms for font-feature-values. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D42984

--HG--
extra : moz-landing-system : lando
2019-08-22 00:24:44 +00:00
Frédéric Wang 90172bae44 Bug 1575596 - MathML Lengths: Do not accept numbers ending with a dot. r=emilio
See https://github.com/mathml-refresh/mathml/issues/23
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/wIjm9JjVHNg

This commit introduces a new preference option
mathml.legacy_number_syntax.disabled to disable legacy MathML numbers
(e.g. "1234.") that are not supported by CSS. This feature is now disabled by
default.

* test_bug553917.html is updated to check that such legacy values now cause an
  error message to be logged into the console when the feature is disabled.
* Legacy MathML features are now disabled for WPT mathml test in a global
  __dir__.ini file. Removing legacy numbers allow to pass
  mathml/relations/css-styling/lengths-2.html

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

--HG--
extra : moz-landing-system : lando
2019-08-21 23:49:36 +00:00
Botond Ballo 52a4f25b4b Bug 1573014 - Early-exit ShrinkToDisplaySizeIfNeeded() in reader mode. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D42967

--HG--
extra : moz-landing-system : lando
2019-08-21 23:33:14 +00:00
Emilio Cobos Álvarez ba5c709666 Bug 1575608 - Simplify -x-span property. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D42914

--HG--
extra : moz-landing-system : lando
2019-08-21 20:02:13 +00:00
Emilio Cobos Álvarez 346d47d739 Bug 1575608 - Avoid manual paint-order glue code. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D42913

--HG--
extra : moz-landing-system : lando
2019-08-21 19:47:53 +00:00
Emilio Cobos Álvarez 611e05f178 Bug 1575608 - Avoid some signed -> unsigned conversions for box-ordinal-group. r=dholbert
This is consistent with the `order` property anyhow, and allows to simplify some
code.

Negatives are still not parsed, but rust uses a similar representation for all
CSS <integer> values and so should C++.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 18:35:31 +00:00
Emilio Cobos Álvarez f11bf00012 Bug 1575559 - Make font-variant-alternates use cbindgen. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D42859

--HG--
extra : moz-landing-system : lando
2019-08-21 22:45:26 +00:00
Randall E. Barker f906c88052 Bug 1575694 - Short circuiting the refresh driver in WebVR immersive mode on Android break the MediaRecorder r=mstange
Rather than short circuit the refresh driver, this instead only bypasses painting on
Android when WebVR is in immersive mode.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 22:41:56 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Kristen Wright b94d261b88 Bug 1572529 - Remove vsync.parentProcess.highPriority . r=smaug
Removes vsync.parentProcess.highPriority pref and stores BrowserTabsRemoteAutostart() directly into sHighPriorityEnabled.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 21:54:58 +00:00
Botond Ballo 9d1532ac71 Bug 1575093 - Ensure initial-scale in a meta viewport tag is respected. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D42949

--HG--
extra : moz-landing-system : lando
2019-08-21 22:00:43 +00:00
Ryan VanderMeulen 51ae45f59c Backed out changeset e8e037a5fb87 (bug 1572302) because the patch it depends on is being backed out.
--HG--
extra : rebase_source : 349181c67d0e02a27f1d571d41ba63f63493ede6
2019-08-21 16:40:22 -04:00
Ting-Yu Lin ee24bfab2a Bug 1575377 - Remove BlockReflowInput::mHasUnconstrainedBSize, and update documents. r=dholbert
The flag's original form `mUnconstrainedHeight` was added in
nsBlockReflowState.h in
e580331b37

Nowadays, we often check available block-size in reflow directly in nsBlockFrame.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 19:53:08 +00:00
Ting-Yu Lin e5e0ef1d8d Bug 1568001 - Add crashtests fixed by bug 1420528. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D42931

--HG--
extra : moz-landing-system : lando
2019-08-21 19:08:46 +00:00
Edgar Chen a3adabe5a7 Bug 1568950 - Part 5: Remove nsIDOMWindowUtils::forceUseCounterFlush; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D42818

--HG--
extra : moz-landing-system : lando
2019-08-21 12:52:19 +00:00
Ryan VanderMeulen ac0a329b07 Bug 1572302 - Update the expected result for skip-ink-multiline-position. r=dholbert
Somehow, updating lz4 from version 1.9.1 to 1.9.2 makes this test reliably pass.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 18:18:18 +00:00
Jonathan Kew 75e716cf5d Bug 1573249 - patch 3 - Add reftests for ignoring skip-ink behavior on CJK text. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42683

--HG--
extra : moz-landing-system : lando
2019-08-21 11:04:19 +00:00
Jonathan Kew 129e7436f7 Bug 1573249 - patch 2 - Don't apply skip-ink to runs of CJK text, because it looks bad with many fonts. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42529

--HG--
extra : moz-landing-system : lando
2019-08-21 15:07:20 +00:00
Jonathan Kew 38828a9be9 Bug 1573249 - patch 1 - Clean up some management of the GlyphRun array in gfxTextRun. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42528

--HG--
extra : moz-landing-system : lando
2019-08-21 15:07:08 +00:00
Mats Palmgren 13aaea78f8 Bug 1575560 - Make 'contain:size' not apply to inline-table boxes. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D42891

--HG--
extra : moz-landing-system : lando
2019-08-21 15:04:02 +00:00
Thomas Nguyen 32ab8293ff Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug
ReferrerPolicy gets tossed back and forth as a uint32_t and
ReferrerPolicy enum in header file. Expose ReferrerPolicyValues from
webidl file and use consistently in native code.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 13:24:45 +00:00
Frédéric Wang 7a6019b9e2 Bug 1574750 - Remove support for MathML length values thinmathspace, mediummathspace, thickmathspace, etc. r=emilio
See https://github.com/mathml-refresh/mathml/issues/75
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/yEMdIOo4i-0

This commit introduces a new preference option
mathml.mathspace_names.disabled to disable *mathspace names for MathML lengths.
For now, these are only disabled in Nightly builds.

* test_bug553917.html is updated to check that these values now cause an
  error message to be logged into the console when mathsize names are used
  and the feature disabled.
* mathml-negativespace-ref.html and positive-namedspace.html verify support for
  mathspace names, so force running them with the support enabled.
* The reference files for mo-lspace-rspace-2.html, mo-lspace-rspace-3.html,
  mo-lspace-rspace.html, op-dict-8.html and op-dict-9.html use explicit
  lspace/rspace attributes corresponding to the one read from the operator
  dictionary. Instead of running them with mathspace names enabled, use the
  equivalent em values from core
  https://mathml-refresh.github.io/mathml-core/#operator-dictionary
  See https://github.com/mathml-refresh/mathml/issues/75#issuecomment-523016332
* Force WPT tests
  mathml/presentation-markup/fractions/frac-linethickness-002.html and
  mathml/relations/css-styling/lengths-2.html to be run with the features
  disabled and remove corresponding failure expectation.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:56:30 +00:00
Coroiu Cristina f2e9770b54 Backed out 3 changesets (bug 1573249) for chrome failures at layout/inspector/tests/chrome/test_fontFaceGeneric.xul on a CLOSED TREE
Backed out changeset bdba80dae6e2 (bug 1573249)
Backed out changeset 21306e3f8d31 (bug 1573249)
Backed out changeset 3576d5b9f2db (bug 1573249)
2019-08-21 14:01:11 +03:00
Sylvestre Ledru 7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Jonathan Kew c08c7f523b Bug 1573249 - patch 3 - Add reftests for ignoring skip-ink behavior on CJK text. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42683

--HG--
extra : moz-landing-system : lando
2019-08-21 09:39:02 +00:00
Jonathan Kew 2898eb876f Bug 1573249 - patch 2 - Don't apply skip-ink to runs of CJK text, because it looks bad with many fonts. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42529

--HG--
extra : moz-landing-system : lando
2019-08-21 09:39:02 +00:00
Jonathan Kew 64239ebc50 Bug 1573249 - patch 1 - Clean up some management of the GlyphRun array in gfxTextRun. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42528

--HG--
extra : moz-landing-system : lando
2019-08-20 18:06:13 +00:00
Dan Glastonbury 41fff20f69 Bug 1571612 - P2: Collect flush req and flush telemetry. r=heycam
Collect telemetry for the number of pending style and layout flush requests per
flush and the number of style and layout flushes per nsRefreshDriver::Tick.  A
style flush reports only style requests, but a layout flush reports style and
layout requests since flushing layout implies a style flush also.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 01:43:30 +00:00
Dan Glastonbury d87e8fd612 Bug 1571612 - P1: Split FlushType::Style and FlushType::Frame. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D40755

--HG--
extra : moz-landing-system : lando
2019-08-07 03:51:20 +00:00
Ting-Yu Lin 0958d8ea88 Bug 1575305 Part 4 - Improve column set log. r=dbaron
1. Add `this` to the log so that it's easier to debug a nested column
balancing

2. Print the struct fields the same as their names.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 00:25:07 +00:00
Ting-Yu Lin 913e451679 Bug 1575305 Part 3 - Initialize colBSize with available block-size when column-span is enabled. r=dbaron
nsBlockFrame already prepares the available block-size for
ColumnSetFrame with ColumnSetWrapper's block-size and max-block-size
applied. (ColumnSet's computed block-size and max block-size is always
unconstrained when column-span is enabled.)

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

--HG--
extra : moz-landing-system : lando
2019-08-21 00:24:09 +00:00
Ting-Yu Lin 6df1d8db45 Bug 1575305 Part 2 - Remove the unused border-padding variable in nsBlockFrame::FindBestBalanceBSize(). r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D42709

--HG--
extra : moz-landing-system : lando
2019-08-21 00:24:00 +00:00
Ting-Yu Lin c44acb8e9f Bug 1575305 Part 1 - Remove an unneeded condition used for ::-moz-column-content. r=dbaron
Before bug 1411422, a ::-moz-column-content has height:100%, so it could
go into this path if ColumnSet's available block-size is unconstrained.

However, after bug 1411422, height:100% was removed for
::-moz-column-content. That is, its computed block-size is
unconstrained, so it can't go into this path. This applies regardless of
whether column-span is enabled or not.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:29:55 +00:00
Daniel Holbert 07da11b14a Bug 1574031: Turn off text-decoration-skip-ink for intermittently mismatching section of reftest decoration-style-standards.html. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D42707

--HG--
extra : moz-landing-system : lando
2019-08-20 21:30:27 +00:00
Mats Palmgren dd5a04bc1d Bug 1574552 - Push float/abs.pos. CB for 'block ruby' as needed. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D42701

--HG--
extra : moz-landing-system : lando
2019-08-20 21:28:01 +00:00
singuliere 2fc69f08bc Bug 1526447 - remove unused NS_STYLE_GRID_REPEAT_* macros r=boris
Remove unused NS_STYLE_GRID_REPEAT_* macro definitions.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 17:53:16 +00:00
Mats Palmgren acbd6a2b96 Bug 1574994 part 2 - Remove display:-moz-inline-grid/-moz-inline-stack. r=emilio
Depends on D42551

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

--HG--
extra : moz-landing-system : lando
2019-08-19 21:19:04 +00:00
Mats Palmgren 2525944e34 Bug 1574994 part 1 - Remove/replace display:-moz-inline-grid and -moz-inline-stack in tests. r=emilio
I replaced the values with -moz-inline-box in the crashtests
rather than removing them.  I think they are still valuable
after replacing the display value.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 21:19:04 +00:00
Jonathan Kew 59bf0bb933 Bug 1574927 - Account for the advance of (otherwise-ignored) vertical-upright glyph runs when collecting skip-ink intercepts. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42527

--HG--
extra : moz-landing-system : lando
2019-08-19 21:54:12 +00:00
Botond Ballo 4232079a25 Bug 1565525 - Add helper functions to make working with Maybe<Matrix> easier. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42564

--HG--
extra : moz-landing-system : lando
2019-08-20 06:36:01 +00:00
Frédéric Wang 926e8f6c74 Bug 1575167 - Export MathML mathcolor, mathbackground and displaystyle reftests to WPT. r=emilio
These are only file renaming, metadata/comments addition, changing the way
Ahem is included and other minor formatting changes. The MathML tests itself
are not modified.

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

--HG--
rename : layout/reftests/mathml/displaystyle-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-011-ref.html
rename : layout/reftests/mathml/displaystyle-1.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-011.html
rename : layout/reftests/mathml/displaystyle-2-ref.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-012-ref.html
rename : layout/reftests/mathml/displaystyle-2.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-012.html
rename : layout/reftests/mathml/displaystyle-3-ref.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-013-ref.html
rename : layout/reftests/mathml/displaystyle-3.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-013.html
rename : layout/reftests/mathml/displaystyle-4-ref.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-014-ref.html
rename : layout/reftests/mathml/math-display-ref.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-015-ref.html
rename : layout/reftests/mathml/math-display.html => testing/web-platform/tests/mathml/relations/css-styling/displaystyle-015.html
rename : layout/reftests/mathml/mathbackground-1-ref.xml => testing/web-platform/tests/mathml/relations/css-styling/mathbackground-001-notref.html
rename : layout/reftests/mathml/mathbackground-2-ref.xml => testing/web-platform/tests/mathml/relations/css-styling/mathbackground-002-notref.html
rename : layout/reftests/mathml/mathbackground-3-ref.xml => testing/web-platform/tests/mathml/relations/css-styling/mathbackground-003-notref.html
rename : layout/reftests/mathml/mathbackground-4-ref.xml => testing/web-platform/tests/mathml/relations/css-styling/mathbackground-004-notref.html
rename : layout/reftests/mathml/mathcolor-1-ref.xml => testing/web-platform/tests/mathml/relations/css-styling/mathcolor-001-notref.html
rename : layout/reftests/mathml/mathcolor-2-ref.xml => testing/web-platform/tests/mathml/relations/css-styling/mathcolor-002-notref.html
rename : layout/reftests/mathml/mathcolor-3-ref.xml => testing/web-platform/tests/mathml/relations/css-styling/mathcolor-003-notref.html
rename : layout/reftests/mathml/mathcolor-4-ref.xml => testing/web-platform/tests/mathml/relations/css-styling/mathcolor-004-notref.html
extra : moz-landing-system : lando
2019-08-20 11:26:44 +00:00
Frédéric Wang 9374c0be36 Bug 1574391 - Move old MathML reftests into layout/reftests/mathml. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D42276

--HG--
rename : layout/reftests/bugs/345563-sub.xhtml => layout/reftests/mathml/345563-sub.xhtml
rename : layout/reftests/bugs/345563-sup.xhtml => layout/reftests/mathml/345563-sup.xhtml
rename : layout/reftests/bugs/347348-1-ref.xhtml => layout/reftests/mathml/347348-1-ref.xhtml
rename : layout/reftests/bugs/347348-1.xhtml => layout/reftests/mathml/347348-1.xhtml
rename : layout/reftests/bugs/347496-1-ref.xhtml => layout/reftests/mathml/347496-1-ref.xhtml
rename : layout/reftests/bugs/347496-1.xhtml => layout/reftests/mathml/347496-1.xhtml
rename : layout/reftests/bugs/355548-1-ref.xml => layout/reftests/mathml/355548-1-ref.xml
rename : layout/reftests/bugs/355548-1.xml => layout/reftests/mathml/355548-1.xml
rename : layout/reftests/bugs/355548-2-ref.xml => layout/reftests/mathml/355548-2-ref.xml
rename : layout/reftests/bugs/355548-2.xml => layout/reftests/mathml/355548-2.xml
rename : layout/reftests/bugs/355548-3-ref.xml => layout/reftests/mathml/355548-3-ref.xml
rename : layout/reftests/bugs/355548-3.xml => layout/reftests/mathml/355548-3.xml
rename : layout/reftests/bugs/355548-4-ref.xml => layout/reftests/mathml/355548-4-ref.xml
rename : layout/reftests/bugs/355548-4.xml => layout/reftests/mathml/355548-4.xml
rename : layout/reftests/bugs/355548-5-ref.xml => layout/reftests/mathml/355548-5-ref.xml
rename : layout/reftests/bugs/355548-5.xml => layout/reftests/mathml/355548-5.xml
rename : layout/reftests/bugs/370692-1-ref.xhtml => layout/reftests/mathml/370692-1-ref.xhtml
rename : layout/reftests/bugs/370692-1.xhtml => layout/reftests/mathml/370692-1.xhtml
rename : layout/reftests/bugs/373533-1.xhtml => layout/reftests/mathml/373533-1.xhtml
rename : layout/reftests/bugs/373533-2.xhtml => layout/reftests/mathml/373533-2.xhtml
rename : layout/reftests/bugs/373533-3.xhtml => layout/reftests/mathml/373533-3.xhtml
rename : layout/reftests/bugs/393760-1-ref.xml => layout/reftests/mathml/393760-1-ref.xml
rename : layout/reftests/bugs/393760-1.xml => layout/reftests/mathml/393760-1.xml
rename : layout/reftests/bugs/393760-2-ref.xml => layout/reftests/mathml/393760-2-ref.xml
rename : layout/reftests/bugs/393760-2.xml => layout/reftests/mathml/393760-2.xml
rename : layout/reftests/bugs/414123-ref.xhtml => layout/reftests/mathml/414123-ref.xhtml
rename : layout/reftests/bugs/414123.xhtml => layout/reftests/mathml/414123.xhtml
extra : moz-landing-system : lando
2019-08-20 04:13:25 +00:00
Nicolas Silva 043a970708 Bug 1562091 - Add a reftest. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D42467

--HG--
extra : moz-landing-system : lando
2019-08-19 11:16:34 +00:00
Frédéric Wang 675225dd5a Bug 1574749 - Remove support for nonzero unitless lengths. r=emilio
See https://github.com/mathml-refresh/mathml/issues/24
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/-yV6wb3klSA

This commit introduces a new preference option
mathml.nonzero_unitless_lengths.disabled to disable MathML nonzero unitless
values like "5" for 500%. MathML nonzero unitless are now disabled by default
but it could be easily enabled again later if we decide otherwise.

* test_bug553917.html is updated to check that these values now cause an error
  message to be logged into the console rather than a deprecated warning
  when nonzero unitless lengths are disabled.
  Additionally, the test checking invalid double dots "2..0" is updated not
  to use unitless syntax.
* The old test 355548-3.xml checks support for mathsize names and also uses
  several features that are going to be deprecated. So it is just run with
  the proper preference adjustment.
* mfrac-linethickness-2.xhtml and number-size-1.xhtml check support for
  unitless lengths so they are now run with that support enabled.
* WPT tests frac-linethickness-001.html and lengths-1.html are executed with
  the some MathML features disabled in order to make them pass.
  We get more assertion passing for the "Legacy numbers" test of
  lengths-2.html ; however there are still some issues to address
  (see bug 1574751).

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

--HG--
extra : moz-landing-system : lando
2019-08-19 17:10:58 +00:00
Frédéric Wang 526e469d17 Bug 1548527 - Remove values "small", "normal", "big" values of the mathsize attribute. r=emilio
See https://github.com/mathml-refresh/mathml/issues/7
    and https://groups.google.com/forum/#!topic/mozilla.dev.platform/kyB34PjYXek

    This commit introduces a new preference option
    mathml.mathsize_names.disabled to disable mathsize keyword values. For
    now, these are only disabled in Nightly builds.

    * test_bug553917.html is updated to check that these values now cause an
      error message to be logged into the console when mathsize names are used
      and the feature disabled.
    * The old test 355548-3.xml checks support for mathsize names and also uses
      several features that are going to be deprecated. So it is just run with
      the proper preference adjustment.
    * mathml/relations/css-styling/mathsize-attribute-legacy-values.html passes
      after this change so the test is run with the mathsize names disabled too
      and the failure expectation is removed.
    * mathml/relations/css-styling/mathsize-attribute-css-keywords.html is added
      to check that CSS keywords won't be supported when we switch to using the
      CSS parser in the future. This test passes now when the "small" keyword
      is not accepted so it is run with the mathsize names disabled too.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 18:28:03 +00:00
Emilio Cobos Álvarez f1008a9300 Bug 1480146 - Add memory reporting for the inline style cache. r=heycam
MANUAL PUSH: Splitting a stack after the fact to avoid getting the main patch backed out due to talos timeouts.

Differential Revision: https://phabricator.services.mozilla.com/D41731
2019-08-19 14:55:01 +02:00
Emilio Cobos Álvarez b726907ec7 Bug 1480146 - Add a cache for inline stylesheets without @import rules. r=heycam
Supporting @import was much more annoying (I had a patch but it became much more
complex than this), and seems other browsers don't do it either:

  https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/css/style_sheet_contents.cc?l=149&rcl=1999822baf4dc673088e65997fa07ad158f2e166
  https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/css/StyleSheetContents.cpp?rev=246490#L111

Also added a singleton perf test for <link> caching.

Maybe we should add some cache eviction here, but I'm not sure what'd be the
best policy here.

Differential Revision: https://phabricator.services.mozilla.com/D41564
2019-08-19 14:53:50 +02:00
Emilio Cobos Álvarez bfcf9b881b Bug 1574544 - Remove now-unnecessary condition that makes the frame constructor get confused with editor anonymous nodes. r=mats
This condition was needed when FindInsertionPrevSibling and co didn't understand
display: contents.

Editor is pretty broken (and calls into PresShell::ContentRemoved directly, and
incorrectly, using anonymous nodes).

In this case we were taking the XBL path because of display: contents, which
means that we tried to seek to the editor anonymous node, and crash (since it's
not an explicit kid).

Editor needs to get fixed, but this is technically more correct and fixes the
crash, so we may as well take it in the interim.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 12:16:28 +00:00
Ciure Andrei bf0253640d Backed out 2 changesets (bug 1480146) for causing inline-style-cache-1.html timeouts CLOSED TREE
Backed out changeset 8e3a8dd3189d (bug 1480146)
Backed out changeset 2bcd5ea241cd (bug 1480146)
2019-08-19 14:29:28 +03:00