Alexandru Michis
c592078f73
Backed out 7 changesets (bug 1675375) for causing mochitest plain failures in test_group_hittest-2.html
...
CLOSED TREE
Backed out changeset e2e27cedd002 (bug 1675375)
Backed out changeset dba2861e4b53 (bug 1675375)
Backed out changeset 5dbfc7ce0a85 (bug 1675375)
Backed out changeset dd08dfba1dcd (bug 1675375)
Backed out changeset 5f8ae081f4ee (bug 1675375)
Backed out changeset 4d13e1221a79 (bug 1675375)
Backed out changeset 0e463f7857ea (bug 1675375)
2021-04-14 07:29:47 +03:00
Brad Werth
fc138c46c1
Bug 1675375 Part 2: Add a polygon clips to image masks. r=gw
...
This patch augments the pushing of an image mask to allow a polygon clip
region to be attached to it.
Differential Revision: https://phabricator.services.mozilla.com/D105397
2021-04-14 03:17:40 +00:00
Markus Stange
38c95685b1
Bug 1703482 - Workaround: Set aria-hidden="true" while a popup is open as a native context menu. r=morgan
...
This is a lower risk alternative to the approach in bug 1703899 and can be
removed once bug 1703899 is fixed.
Differential Revision: https://phabricator.services.mozilla.com/D111914
2021-04-14 00:18:25 +00:00
Kagami Sascha Rosylight
84d84038b4
Bug 1623717 - Make sure selection offset remains within inline editing host r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D107120
2021-04-13 23:02:41 +00:00
Daniel Holbert
52208dc702
Bug 1703735: Adjust test_context_properties_allowed_domains.html to wait for two rAFs (i.e. at least one paint) before taking screenshot of iframe. r=emilio
...
Previously this test was waiting for the iframe's load event; now it will wait
for one additional paint (two rAF ticks).
This should hopefully allow the iframe enough time to paint after its load
event has fired, so that we can usefully snapshot it.
Differential Revision: https://phabricator.services.mozilla.com/D111940
2021-04-13 22:45:37 +00:00
Alexandru Michis
97e8263ebb
Backed out 7 changesets (bug 1675375) for causing webrender lint tidy failures.
...
CLOSED TREE
Backed out changeset 153063d9a02a (bug 1675375)
Backed out changeset c8ef6d2e370b (bug 1675375)
Backed out changeset 7085c1fa22a7 (bug 1675375)
Backed out changeset 842bc646804b (bug 1675375)
Backed out changeset 13d98397d39a (bug 1675375)
Backed out changeset d29bc0506ced (bug 1675375)
Backed out changeset 5b83b96c3057 (bug 1675375)
2021-04-14 02:21:41 +03:00
Brad Werth
8e27bc2b02
Bug 1675375 Part 2: Add a polygon clips to image masks. r=gw
...
This patch augments the pushing of an image mask to allow a polygon clip
region to be attached to it.
Differential Revision: https://phabricator.services.mozilla.com/D105397
2021-04-13 19:42:36 +00:00
Kris Maglione
cd65dcda87
Bug 1701765: Inline CallChildren calls in HintCharacterSet code. r=hsivonen
...
`CallChildren` is deprecated due to Fission. We should remove it so that we
don't wind up with new callers.
Differential Revision: https://phabricator.services.mozilla.com/D110607
2021-04-13 19:10:39 +00:00
Miko Mynttinen
03cca3bf64
Bug 1702675 - Demote nsTextFrame selection state assert to NS_ASSERTION r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D111637
2021-04-13 17:11:28 +00:00
Emilio Cobos Álvarez
b7fda546dc
Bug 1476524 - Don't require so much contrast for selection background-against-background checks. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D111794
2021-04-13 16:29:14 +00:00
Mike Conley
b29a236f04
Bug 1686315 - Fix up more tests to pass with content prompt subdialogs enabled or disabled. r=Gijs
...
Batch 2 of 2.
Differential Revision: https://phabricator.services.mozilla.com/D110483
2021-04-13 15:51:48 +00:00
Emilio Cobos Álvarez
2d921c7e9c
Bug 1704551 - Make nsMappedAttributes more similar to AttrArray. r=smaug
...
I need to use these from Rust to insert mapped attribute names in the
bloom filter, and this would save me handrolling even more bindings :)
Differential Revision: https://phabricator.services.mozilla.com/D111731
2021-04-13 10:53:40 +00:00
Markus Stange
c213cdf11b
Bug 1704212
- Make nsXULPopupManager::HideMenu handle native menus, so that menu.openMenu(false) can be used in tests to support native menus. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D111666
2021-04-13 02:52:44 +00:00
Markus Stange
69bffb5f68
Bug 1704212
- Make nsXULPopupManager::ShowMenu handle native menus, so that menu.openMenu(true) can be used in tests to support native menus. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D111664
2021-04-13 02:52:43 +00:00
Markus Stange
d60b8c5380
Bug 1704212
- Move part of nsXULElement::OpenMenu into a new method called nsXULPopupManager::HideMenu. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D111660
2021-04-13 02:52:41 +00:00
Markus Stange
b4750b7fb3
Bug 1704209 - Make XULPopupElement.activateItem work for native menus. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D111521
2021-04-13 02:52:41 +00:00
Boris Chiou
95586d6559
Bug 1690423 - Part 3: No need to handle transferred size suggestion for the minimum contribution on non-replaced elements. r=mats
...
The spec says: the content-based minimum size for a grid item in a given
dimension is its specified size suggestion if it exists, otherwise its
transferred size suggestion if that exists and the element is replaced, else
its content size suggestion. So for non-replaced elements, we don't have
to take transferred size suggestion into account.
Add some tests when using the preferred size with percentage value and
min-size:auto in grid items, and a test for overflow:auto.
Differential Revision: https://phabricator.services.mozilla.com/D110479
2021-04-12 21:06:56 +00:00
Boris Chiou
98ea39687f
Bug 1690423 - Part 2: Unified auto block-size behavior with UseAutoBSize flag in nsIFrame::ComputeSize(). r=mats
...
For grid layout, we set UseAutoBSize flag during measuring reflow to
resolve the grid track sizing. We still have to respect aspect ratio
for the calculation of the content contribution.
Differential Revision: https://phabricator.services.mozilla.com/D104936
2021-04-12 21:06:55 +00:00
Boris Chiou
20211d237b
Bug 1690423 - Part 1: Fix stretched grid items with aspect-ratio. r=mats
...
Based on https://drafts.csswg.org/css-grid/#grid-item-sizing , the grid
items should ignore aspect-ratio if it's stretched in that axis.
1. If the alignment value is stretch: don't apply aspect ratio.
2. If the alignment value is normal: apply aspect ratio if we have one.
3. Other values: apply aspect ratio if we have one.
Note:
We also clamp margin block min size in nsBlockFrame::ComputeFinalSize(), so
grid-aspect-ratio-021.html is still passed without this patch. However, we
add this test case just in case and let other browsers catch this.
Differential Revision: https://phabricator.services.mozilla.com/D105082
2021-04-12 21:06:55 +00:00
Butkovits Atila
52896afc37
Backed out 7 changesets (bug 1675375) for causing build bustages. CLOSED TREE
...
Backed out changeset 4cf2b6a19950 (bug 1675375)
Backed out changeset 119c1be7430c (bug 1675375)
Backed out changeset d96860372ec5 (bug 1675375)
Backed out changeset 319a7979be09 (bug 1675375)
Backed out changeset 1cd395b58b92 (bug 1675375)
Backed out changeset c542d63b4dd8 (bug 1675375)
Backed out changeset 4d8b6d3a5f02 (bug 1675375)
2021-04-12 22:23:18 +03:00
Brad Werth
db5bbb5890
WIP: Bug 1675375 Part 2: Add a polygon clips to image masks. r=gw
...
This patch augments the pushing of an image mask to allow a polygon clip
region to be attached to it.
Differential Revision: https://phabricator.services.mozilla.com/D105397
2021-04-12 18:30:53 +00:00
Emilio Cobos Álvarez
a9c33bfa5b
Bug 1703735 - Use assertSnapshots to get the screenshots when the test fails. r=Gijs
...
This should allow us to diagnose why is it failing.
Differential Revision: https://phabricator.services.mozilla.com/D111646
2021-04-12 15:48:05 +00:00
Lee Salzman
a282f72724
Bug 1669314 - Adjust fuzz more for layout/reftests/css-grid/grid-fragmentation-dyn2-031. r=aosmond,gfx-reviewers DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D111532
2021-04-12 15:29:06 +00:00
Geoff Brown
c792752b09
Bug 1704245 - Dump less device info in android test logs; r=jmaher
...
Make android test logs simpler and easier to read by removing less helpful diagnostic info.
Differential Revision: https://phabricator.services.mozilla.com/D111526
2021-04-12 13:38:28 +00:00
Timothy Nikkel
ddd6cffdc0
Bug 1701749. When computing the double tap rect if there is a overflow rect that contains the bounding client rect use that. r=emilio
...
I'm not sure if this is better overall or not, it's better for the testcase in this bug (a div with a large amount of visible overflow).
This code is a direct port of javascript code, so it only had the option of using getBoundingClientRect.
Differential Revision: https://phabricator.services.mozilla.com/D110534
2021-04-12 07:45:08 +00:00
smolnar
f9c528b63b
Backed out changeset e0df81346b2b (bug 1701749) for causing build bustages. CLOSED TREE
2021-04-12 10:39:01 +03:00
Timothy Nikkel
333191777b
Bug 1701749. When computing the double tap rect if there is a overflow rect that contains the bounding client rect use that. r=emilio
...
I'm not sure if this is better overall or not, it's better for the testcase in this bug (a div with a large amount of visible overflow).
This code is a direct port of javascript code, so it only had the option of using getBoundingClientRect.
Differential Revision: https://phabricator.services.mozilla.com/D110534
2021-04-12 07:19:23 +00:00
Markus Stange
38856ea957
Bug 1704206 - Add nsMenuFrame::ActivateItem(). r=tnikkel
...
Depends on D111517
Differential Revision: https://phabricator.services.mozilla.com/D111518
2021-04-12 00:32:19 +00:00
Markus Stange
383d9ad57a
Bug 1704206 - Make it possible to call CreateMenuCommandEvent without an event. r=tnikkel
...
Depends on D111516
Differential Revision: https://phabricator.services.mozilla.com/D111517
2021-04-12 00:32:19 +00:00
Markus Stange
911942152b
Bug 1704206 - Use mozilla::Modifiers in nsXULMenuCommandEvent. r=tnikkel
...
Depends on D111515
Differential Revision: https://phabricator.services.mozilla.com/D111516
2021-04-12 00:32:18 +00:00
Markus Stange
6ab67c7365
Bug 1704206 - Simplify nsMenuFrame::Execute. r=tnikkel
...
Depends on D111502
Differential Revision: https://phabricator.services.mozilla.com/D111515
2021-04-12 00:32:18 +00:00
Mats Palmgren
3885d5d6a6
Bug 1696713
- Add a missing #include to nsCanvasFrame.cpp. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D107360
2021-04-11 20:42:30 +00:00
Mats Palmgren
2b3dbc5dc2
Bug 1696712 - [css-pseudo] Use 'white-space: pre' by default in ::marker. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D107359
2021-04-11 20:42:30 +00:00
Emilio Cobos Álvarez
a4272ff381
Bug 1704332 - Move moz-control-character-visibility out of mako, and remove support for gecko_pref_controlled_initial_value. r=xidorn
...
No behavior change, just cleanup. Actually seem this technically _adds_ some code even
though it's a cleanup, but that's mostly because of the wrapping of the
derive list. The resulting code is simpler (more in-line with our usual
things, so I think it's an improvement).
Differential Revision: https://phabricator.services.mozilla.com/D111551
2021-04-11 17:39:12 +00:00
Emilio Cobos Álvarez
97ec9ca623
Bug 1704332 - Remove various image-orientation related prefs. r=tnikkel
...
These shipped in 77.
Differential Revision: https://phabricator.services.mozilla.com/D111550
2021-04-11 17:39:12 +00:00
Mark Striemer
fa48ebee58
Bug 1702330 - Remove -moz-proton-infobars media query support r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D110963
2021-04-11 17:28:02 +00:00
Lee Salzman
d402b2c2f4
Bug 1704270 - Adjust fuzz for layout/reftests/svg/filters/filter-clipped-rect-01. r=longsonr DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D111535
2021-04-10 16:17:37 +00:00
Emilio Cobos Álvarez
30483671c1
Bug 1703984 - Clean up text-justify, and make distribute a parse-time alias. r=xidorn
...
Since it's simpler, as discussed in the CSSWG issue.
Differential Revision: https://phabricator.services.mozilla.com/D111346
2021-04-10 03:45:51 +00:00
Markus Stange
e775faf0f7
Bug 1704127 - Fire the initial popupshowing event for native context menus from nsXULPopupManager, not from nsMenuX. r=tnikkel
...
This makes sure that all the correct properties are set, such as the event
position and input mode.
Differential Revision: https://phabricator.services.mozilla.com/D111502
2021-04-10 01:26:24 +00:00
Markus Stange
4907497098
Bug 1704127 - Factor out part of BeginShowingPopup into a new FirePopupShowingEvent method. r=tnikkel
...
Depends on D111500
Differential Revision: https://phabricator.services.mozilla.com/D111501
2021-04-10 01:26:24 +00:00
Markus Stange
43398e2c77
Bug 1704127 - Rename FirePopupShowingEvent to BeginShowingPopup. r=tnikkel
...
Depends on D111499
Differential Revision: https://phabricator.services.mozilla.com/D111500
2021-04-10 01:26:24 +00:00
Markus Stange
c5ebc0cf2d
Bug 1704127 - Use NS_NewRunnableFunction instead of a custom nsXULPopupShowingEvent class. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D111499
2021-04-10 01:26:23 +00:00
Lee Salzman
858230be78
Bug 1669314 - Adjust fuzz for layout/reftests/css-grid/grid-fragmentation-dyn2-031. r=gfx-reviewers,bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D111497
2021-04-09 22:40:49 +00:00
Mike Conley
47794f668f
Bug 1704163 - Disable Proton for the menulist-shrinkwrap-2.xhtml XUL reftest. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D111476
2021-04-09 21:08:02 +00:00
Marco Bonardo
2c982d3c01
Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 18:20:21 +00:00
Dorel Luca
7c6d9844e5
Backed out 8 changesets (bug 1702330)for Browser-chrome failures in est/popups/browser_popup_blocker.js. CLOSED TREE
...
Backed out changeset b81511f8e157 (bug 1702330)
Backed out changeset 15f60f1d3f14 (bug 1702330)
Backed out changeset 809af1f94b4b (bug 1702330)
Backed out changeset 63cec3eadb4f (bug 1702330)
Backed out changeset b9964fb4dd70 (bug 1702330)
Backed out changeset 1e5ccb47056e (bug 1702330)
Backed out changeset 65faaeeb2339 (bug 1702330)
Backed out changeset e72fb8b52609 (bug 1702330)
2021-04-09 20:21:35 +03:00
Cosmin Sabou
99c461b614
Backed out changeset d5b874ccd877 (bug 1526970) as requested by miko.
...
CLOSED TREE
2021-04-09 19:12:38 +03:00
Mark Striemer
7f49e59cfb
Bug 1702330 - Remove -moz-proton-infobars media query support r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D110963
2021-04-09 15:26:25 +00:00
Cosmin Sabou
13826a4c50
Backed out changeset bd396182f84a (bug 1703274) for causing wpt failures on shape-outside-shape-arguments-000.html. CLOSED TREE
2021-04-09 17:51:48 +03:00
Jonathan Kew
0d70ec8a0e
Bug 1667977 - Don't risk using a stale fontGroup from a pre-existing textrun in GetHyphenTextRun; ensure it retrieves fresh metrics from the context. r=emilio
...
If there's a textrun already cached in the frame, it's fine to check its attrbutes such as direction,
but using it to retrieve a fontGroup to shape new text is risky because this could lead to a font-
matching search via the platform font list (if the fonts already configured in the group don't
support the text to be shaped), and the list could have been mutated in the meantime, making the
old fontgroup's references invalid. Instead, we should retrieve the fontgroup from the context to
ensure it is current.
Differential Revision: https://phabricator.services.mozilla.com/D111376
2021-04-09 13:32:05 +00:00