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

70563 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 82cc547ab8 Bug 1578377 - Render dark scrollbars for element with dark background on Windows. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D48289

--HG--
extra : moz-landing-system : lando
2019-10-23 21:00:28 +00:00
Tim Nguyen 2462f28c99 Bug 1590903 - Fix reftest failure and remove references to <text> that I missed. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D50441

--HG--
extra : histedit_source : e81dc1c6824ac21eadb5113bf1a406eb4f9d2081
2019-10-24 11:12:55 +03:00
Tim Nguyen 5ee02697cf Bug 1590903 - Remove support for XUL <text> element. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D50368

--HG--
extra : moz-landing-system : lando
2019-10-24 06:23:10 +00:00
Timothy Nikkel ede6368cfb Bug 1590551. Allow nsPresContext::GetNearestWidget to work when there is no frame tree. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D50135

--HG--
extra : moz-landing-system : lando
2019-10-23 23:37:11 +00:00
Emilio Cobos Álvarez 0bae88943a Bug 1590426 - Cleanup signatures in nsImageFrame / nsImageControlFrame. r=tnikkel
In particular, remove useless virtual keywords per our style guide, and remove
redundant argument names (argument names where the name is contained in the type
of the argument), since they're somewhat useless.

I think the result looks neater.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 19:05:21 +00:00
Emilio Cobos Álvarez 2c65109365 Bug 1589955 - Sync-decode images when intrinsic ratio between the old and new source changes. r=tnikkel
This seems to fix it for me, and it's pretty straight-forward, but I _think_
we'd still paint the old image if the image is huge and it's loading, which
may be counter-productive. Maybe we should guard the whole "paint mOldImage"
with and if (!oldImageIsDifferent), wdyt?

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

--HG--
extra : moz-landing-system : lando
2019-10-23 12:22:06 +00:00
Emilio Cobos Álvarez 6d8c0d26b1 Bug 1582398 - Remove user-select: all for editable labels. r=masayuki
This seems to go back to our initial contenteditable implementation, and I don't
think there's a reason <label> should work differently from anything else.

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

--HG--
extra : moz-landing-system : lando
2019-10-23 09:30:03 +00:00
Emilio Cobos Álvarez 27c8d88f2c Bug 1590191 - Trigger image loads for <area> cursor styles. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49998

--HG--
extra : moz-landing-system : lando
2019-10-23 08:29:54 +00:00
Kagami Sascha Rosylight e30a6dbb4a Bug 824857: Support IDL stringifier attributes r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D48355

--HG--
extra : moz-landing-system : lando
2019-10-23 04:55:54 +00:00
Cameron McCormack bdb510a010 Bug 1585880 - Ensure pointer-events inherits into scrollbar parts. r=emilio
Like visibility, we rely on pointer-events values inheriting down into
scrollbar part elements.  So don't cached NAC styles for scrollbar parts
if we have a non-initial value for pointer-events, and adjust the UA
style sheet rules to ensure it is always inherited.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 08:20:56 +00:00
Kirk Steuber 047d40ee73 Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov. On a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D48922

--HG--
extra : source : 01007f3333ea182c83bced4ff750c96b22925e80
extra : amend_source : 3b06af7be6009d6bd94798e14f30a2550f1c4c4f
extra : histedit_source : be50ba403a84dda5af1c902438c918c17a971578
2019-10-17 21:25:53 +00:00
Dorel Luca 659e2d2335 Backed out changeset 01007f3333ea (bug 1584283) for Browser-chrome failures in widget/tests/browser/browser_test_procinfo.js 2019-10-23 03:23:24 +03:00
Botond Ballo 432e039626 Bug 1560770 - Use a method of getting the widget in UseMobileViewportManager() than does not require the frame tree to be constructed. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D50121

--HG--
extra : moz-landing-system : lando
2019-10-22 20:40:35 +00:00
Tim Nguyen 6d79a27dfb Bug 1590387 - Remove remaining usages of XUL textboxes. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D50063

--HG--
extra : moz-landing-system : lando
2019-10-22 19:27:23 +00:00
Emilio Cobos Álvarez 1442d5b174 Bug 1590357 - Update overflow areas for visible -> unscrollable clip changes. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D50049

--HG--
extra : moz-landing-system : lando
2019-10-22 19:02:36 +00:00
Kirk Steuber e937081418 Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D48922

--HG--
extra : moz-landing-system : lando
2019-10-17 21:25:53 +00:00
Christoph Kerschbaumer 61c17da3e9 Bug 1584993: Make CSP frame-ancestors work with fission enabled. r=jkt,farre,valentin
Differential Revision: https://phabricator.services.mozilla.com/D49147

--HG--
extra : moz-landing-system : lando
2019-10-22 10:57:43 +00:00
Emilio Cobos Álvarez a2fd653551 Bug 1590278 - Cleanup scrollframe virtual / override / final declarations. r=hiro
There's so much noise.

Every time I read it I feel lost in a sea of virtual keywords :)

This should help.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 12:25:06 +00:00
Emilio Cobos Álvarez 560f96bea7 Bug 1590281 - Don't propagate overscroll-behavior from body to viewport. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50024

--HG--
extra : moz-landing-system : lando
2019-10-22 12:16:13 +00:00
Bogdan Tara e1b6bc2222 Backed out changeset 8705284b50d4 (bug 1584993) for test_report_uri_missing_in_report_only_header.html failures CLOSED TREE 2019-10-22 13:25:49 +03:00
Christoph Kerschbaumer 2d974555d2 Bug 1584993: Make CSP frame-ancestors work with fission enabled. r=jkt,farre,valentin
Differential Revision: https://phabricator.services.mozilla.com/D49147

--HG--
extra : moz-landing-system : lando
2019-10-22 08:53:47 +00:00
Botond Ballo 7b80a2f886 Bug 1560770 - Don't use MobileViewportManager if we're not using APZ. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D50023

--HG--
extra : moz-landing-system : lando
2019-10-22 04:20:07 +00:00
Emilio Cobos Álvarez b0b21c6323 Bug 1590273 - Remove useless early-outs in nsStyle{Padding,Margin}::CalcDifference. r=hiro
Best-case they're redundant.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 02:34:20 +00:00
Andre Natal 20834f4fb9 Bug 1248897 - Introducing an online speech recognition service for Web Speech API r=smaug,pehrsons,padenot
This patch introduces a Speech Recognition Service which interfaces with Mozilla's remote STT endpoint which is currently being used by multiple services

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

--HG--
extra : moz-landing-system : lando
2019-10-21 20:58:57 +00:00
Emilio Cobos Álvarez 1e1979bf60 Bug 1590203 - Handle overflow changes more gracefully when possible. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D49987

--HG--
extra : moz-landing-system : lando
2019-10-21 23:47:31 +00:00
shindli 03dfb76e95 Backed out changeset 613ca59a8e61 (bug 584141) for causing tier1 permafails in layout/generic/test/test_selection_doubleclick.html CLOSED TREE 2019-10-22 01:09:48 +03:00
Brendan Dahl 48a59e061b Bug 1583314 - Skip or port XBL tests to shadow DOM. r=bzbarsky
Where possible I ported tests to use the shadow DOM. The following could
potentially be ported, but don't think it worth of it:
  test_bug414907.xul - uses children nodes in constructor which is very
different in shadow DOM world
  test_bug233643.xul - really tests XBL behavior
  test_anonymous_content.py - bug on file already to create shadow DOM
test from scratch

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

--HG--
rename : devtools/client/inspector/test/browser_inspector_highlighter-xbl.js => devtools/client/inspector/test/browser_inspector_highlighter-custom-element.js
extra : moz-landing-system : lando
2019-10-21 20:21:20 +00:00
Nour 89bdaf0774 Tests for wbr element Bug 584141 r=Ehsan
added tests for Bug 584141 selection across wbr elements

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

--HG--
extra : moz-landing-system : lando
2019-10-21 20:04:44 +00:00
Sylvestre Ledru 7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Andrea Marchesini 6797e45278 Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49392

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:33 +00:00
Emilio Cobos Álvarez 986d8c0d8e Bug 1588737 - Hide -moz-touch-enabled media query in Nightly and Early Beta. r=xidorn
This is effectively superseded by the hover / any-hover media queries, which
actually are standard, and is also causing trouble in the wild.

Not even the browser fronted uses it, so we should be able to just remove it
everywhere at once.

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

--HG--
extra : moz-landing-system : lando
2019-10-20 13:44:16 +00:00
Ting-Yu Lin cbe975548d Bug 992384 - Make sure we always propagate root element's mWritingMode. r=emilio
Bug 1102175 Part 1 only handles HTML documents correctly because they
always have a body element (even if the <body> tag is not written
explicitly in the document). For SVG documents and all other documents
lacking <body> element, we always want to propagate mWritingMode from
the root element, which is our old behavior prior to Bug 1102175.

Note that mDocElementContainingBlock (i.e. nsCanvasFrame) is using
viewport's style, so we need to use the root element's computed style to
compute WritingMode for propagating.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 09:16:01 +00:00
Cosmin Sabou 1dd7851e3f Backed out changeset ab0ed4869416 (bug 584141) for mochitest failures on test_selection_doubleclick.html. CLOSED TREE 2019-10-18 21:44:41 +03:00
Nour 4dcaa130ee Tests for wbr element Bug 584141 r=Ehsan
added tests for Bug 584141 selection across wbr elements

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

--HG--
extra : moz-landing-system : lando
2019-10-18 17:12:28 +00:00
Nour b5e280180d Bug 584141 Added WBR frame class implementing nsFrame and overriding thepeekOffset* methods. r=dbaron,Ehsan
The wbr element represents a line break opportunity. Before the change double clicking on a text that contains a wbr element did not select the whole sentence.
After the change, the presence of a wbr element in the selection does not affect the selection functionality.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 19:35:23 +00:00
Jan Horak 5c3ec14301 Bug 1589541 Don't consider headless display as wayland; r=stransky
This fixes the related test failures.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 13:56:44 +00:00
Frederic Wang c24a0fbe31 Bug 1587577 - Remove support for the mfenced element. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/DHO72glZxA0

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

--HG--
extra : moz-landing-system : lando
2019-10-17 15:53:31 +00:00
Jan Horak 4d0cec02a5 Bug 1565401 - return valid screen size on multimonitor setup under Wayland; r=stransky,NeilDeakin
By getting the right screen size we can shrink the popup menus which overflows
the screen size under Wayland. The ScreenManager does not help us, because we
can't get absolute window position, but we can use gdk_display_get_monitor_at_window
and gdk_monitor_get_workarea to get the correct screen rectangle.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 11:27:08 +00:00
Frederic Wang d7e6c31b00 Bug 1587572 - Remove support for the mfrac@bevelled attribute. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/9pEvlYn-Xyw

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:41:06 +00:00
Hiroyuki Ikezoe f6dee32218 Bug 1588675 - Use nsPresContext::IsRootContentDocumentCrossProcess instead of IsRootContentDocument for places where we call nsLayoutUtils::ComputeScrollMetadata. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D49272

--HG--
extra : moz-landing-system : lando
2019-10-16 21:34:45 +00:00
David Major 2bf032d442 Bug 1468131 - Avoid a ubsan complaint in GetTrimmableWhitespaceCount r=emilio
ubsan was complaining about the expression
```
    const char* str = aFrag->Get1b() + aStartOffset;
```
when `aFrag->Get1b() == nullptr` and `aStartOffset == -1`, because the addition generates an invalid pointer.

Due to other logic in the function, we would never dereference that pointer, so it was reasonably harmless, but this patch silences the complaint.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 22:59:51 +00:00
Cosmin Sabou e1278bb139 Backed out changeset 23e9fe8a919b (bug 1565401) for causing build bustages on nsWindow.h. CLOSED TREE 2019-10-16 18:45:09 +03:00
Jan Horak e2b9bdb35e Bug 1565401 - return valid screen size on multimonitor setup under Wayland; r=stransky,NeilDeakin
By getting the right screen size we can shrink the popup menus which overflows
the screen size under Wayland. The ScreenManager does not help us, because we
can't get absolute window position, but we can use gdk_display_get_monitor_at_window
and gdk_monitor_get_workarea to get the correct screen rectangle.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 13:03:43 +00:00
Frederic Wang dccb496ee8 Bug 1587570 - Remove support for the subscriptshift and superscriptshift attributes. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/CAqw0Nxw6Pg

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

--HG--
extra : moz-landing-system : lando
2019-10-16 11:57:13 +00:00
Edgar Chen ee3842300e Bug 1421539 - Remove todo comment for shadow dom; r=smaug
Given that test_bug522601-shadow.xhtml already has pretty nice test cases for shadow dom;

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

--HG--
extra : moz-landing-system : lando
2019-10-16 13:16:51 +00:00
Cosmin Sabou e37b7b8834 Backed out changeset 972db326c375 (bug 1587570) for causing wr failures on subsup-legacy-scriptshift-attributes-001.tentative.html 2019-10-16 14:19:24 +03:00
Frederic Wang 32ca7cf404 Bug 1587570 - Remove support for the subscriptshift and superscriptshift attributes. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/CAqw0Nxw6Pg

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:57:38 +00:00
Gijs Kruitbosch 540deb21ba Bug 1588846 - move browser_bug839103.js somewhere more topical and make it pass with fission enabled, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D49322

--HG--
rename : browser/base/content/test/general/browser_bug839103.js => layout/base/tests/browser_bug839103.js
rename : browser/base/content/test/general/bug839103.css => layout/base/tests/bug839103.css
rename : browser/base/content/test/general/test_bug839103.html => layout/base/tests/file_bug839103.html
extra : rebase_source : 66a42a5f79dc9963b360b2923283de356ac13567
extra : source : 0999a4c81a05c47e77ab9e593ad2d7a3db5d4d09
2019-10-15 19:37:55 +00:00
Emilio Cobos Álvarez 5e0abce31f Bug 1588748 - Make an scroll anchoring assertion a release assert. r=dholbert
This should prevent this being exploitable, should this fire.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 18:46:42 +00:00
Razvan Maries bc77394f54 Backed out changeset 0999a4c81a05 (bug 1588846) for causing perma fails on browser_bug633691.js. CLOSED TREE
--HG--
rename : layout/base/tests/browser_bug839103.js => browser/base/content/test/general/browser_bug839103.js
rename : layout/base/tests/bug839103.css => browser/base/content/test/general/bug839103.css
rename : layout/base/tests/file_bug839103.html => browser/base/content/test/general/test_bug839103.html
2019-10-16 01:49:57 +03:00