Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Emilio Cobos Álvarez 1cdf344860 Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel
This should be mostly straight-forward, since we have code for this
anyways for image-set() and srcset.

The only thing is that we were using floats for resolution, but since
EXIF allows you to scale each axis separately, we now need to pass an
image::Resolution instead.

The main outstanding issue is the spec comment mentioned in the previous
patch, about what happens if you have srcset/image-set and the image
density specified together. For now I've implemented what the
image-set() spec says, but this is subject to change before shipping of
course.

Differential Revision: https://phabricator.services.mozilla.com/D113265
2021-05-05 09:41:24 +00:00
.cargo Bug 1706427 - Update wasmparser and cranelift. r=rhunt 2021-05-04 14:59:40 +00:00
.vscode Bug 1701913 - Documentation regarding Remote Development over SSH using VS Code. r=marco 2021-03-30 14:44:51 +00:00
accessible Bug 1709250: Null check LocalAcc() in GeckoCustom. r=morgan 2021-05-04 21:59:03 +00:00
browser Bug 1707901 - Add opt in to nimbus experiments via URL r=k88hudson 2021-05-05 08:58:56 +00:00
build Bug 1705373 - Part 1: Only set WDBA and Update Agent configs on Firefox (browser app). r=nalexander 2021-05-05 04:26:43 +00:00
caps Bug 1706593: Update prePath to camel case in nsIPrincipal.idl r=Gijs 2021-04-30 11:16:31 +00:00
chrome Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag 2021-03-17 15:49:46 +00:00
config Bug 1709253 - Fix building rust programs. r=firefox-build-system-reviewers,mhentges 2021-05-04 20:45:43 +00:00
devtools Bug 1706094 - [devtools] Set watchedByDevTools browsingContextflag in the parent process. r=ochameau. 2021-05-05 08:04:24 +00:00
docs Bug 1705755 - added explanations about Bugzilla and Phabricator amended2 r=firefox-source-docs-reviewers,sylvestre,championshuttler DONTBUILD 2021-05-05 06:58:16 +00:00
docshell Backed out changeset 0672855335bc (bug 1702678) for Mochitest failures in toolkit/components/windowwatcher/nsWindowWatcher.cpp. CLOSED TREE 2021-05-05 02:01:05 +03:00
dom Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
editor Bug 1707630 - part 3: Make EditorBase::CreateNodeWithTransaction() return error if failed r=m_kato 2021-04-28 03:33:26 +00:00
extensions Backed out 2 changesets (bug 1708116) for causing build bustages. CLOSED TREE 2021-05-04 18:41:36 +03:00
gfx Bug 1709535 - Fix clear tiles. r=gfx-reviewers,jnicol 2021-05-05 09:22:48 +00:00
gradle/wrapper
hal Bug 1701789 - Restore UserProximityEvent r=smaug 2021-03-30 20:44:47 +00:00
image Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
intl Bug 1706318 - Rename connector pattern override preference; r=zbraniecki 2021-04-26 18:11:59 +00:00
ipc Bug 1685505 - When env GCOV_CHILD_PREFIX is set then generate gcdas for each process in different directories (named in appending their pid). r=marco 2021-05-04 16:34:27 +00:00
js Bug 1678097 - Add vector registers on ARM64. r=lth,nbp. 2021-05-05 05:45:35 +00:00
layout Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
media Backed out 4 changesets (bug 1707590) for worker/checkouts/gecko/config/rules.mk. CLOSED TREE 2021-05-04 20:29:51 +03:00
memory Bug 1683288 - Directly query OOMAllocationSize value and enable tests on linux/macOS r=gsvelto 2021-04-30 20:10:58 +00:00
mfbt Bug 1704775 part 10 - Disable unsupported c++ tests. r=glandium 2021-04-27 06:09:27 +00:00
mobile Bug 1698959: Remove HangData union and SLOW_SCRIPT enum value r=dthayer,geckoview-reviewers,agi 2021-05-01 01:12:46 +00:00
modules Bug 1680387 - Read and expose EXIF image resolution data. r=tnikkel,aosmond 2021-05-05 09:41:23 +00:00
mozglue Bug 1685503 - Use AwakeTimeStamp to count time for media telemetry. r=alwu 2021-05-05 09:24:51 +00:00
netwerk Backed out 4 changesets (bug 1707590) for worker/checkouts/gecko/config/rules.mk. CLOSED TREE 2021-05-04 20:29:51 +03:00
nsprpub Bug 1708093 - NSPR_4_31_BETA1. r=bbeurdouche UPGRADE_NSPR_RELEASE 2021-04-29 08:41:41 +00:00
other-licenses Bug 1692893 - Minimal patch: Workaround atk extern "C" issue. r=Jamie 2021-02-16 00:40:33 +00:00
parser Bug 1694662 - Remove appcache logic from content sink r=necko-reviewers,dragana 2021-04-30 07:20:18 +00:00
python Bug 1706334 - Improving the accessible text on Add Engine items. r=adw,Jamie,fluent-reviewers,flod 2021-05-04 19:52:52 +00:00
remote Bug 1693296 - [remote] Hardening Browser.close() for a clean shutdown. r=remote-protocol-reviewers,jdescottes 2021-05-04 06:34:37 +00:00
security Bug 1670506 - OCSP requests shouldn't interact with the necko cache at all r=valentin 2021-05-04 23:28:50 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2021-05-03 13:02:40 +00:00
servo Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
startupcache Bug 708901 - Migrate to nsTHashSet in startupcache. r=dthayer 2021-03-23 10:36:39 +00:00
storage Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
taskcluster Bug 1706056 - increase the parallelism of getHSTSPreloadList.js r=releng-reviewers,jmaher 2021-05-04 17:21:01 +00:00
testing Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
third_party Bug 1709505 - Fix -D dead-code bustage in third_party/rust/mio. r=emilio 2021-05-05 06:54:23 +00:00
toolkit Bug 1707901 - Add opt in to nimbus experiments via URL r=k88hudson 2021-05-05 08:58:56 +00:00
tools Bug 1698616: Bump python dependencies r=firefox-build-system-reviewers,glandium 2021-05-04 20:43:26 +00:00
uriloader Backed out changeset 5b15696335bd (bug 1696473) for xpcshell failures on test_subframe_stop_after_parent_error.js . CLOSED TREE 2021-05-05 01:12:48 +03:00
view Backed out changeset 93fd52dafca2 (bug 1689682) as requested by haik. CLOSED TREE 2021-03-14 04:29:17 +02:00
widget Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
xpcom Bug 1708409 - Include libFuzzer in xpcshell r=decoder 2021-04-30 17:46:15 +00:00
xpfe/appshell Backed out changeset 49744f943e16 (bug 1682136) for putting browser window partially behind left and top taskbars on older Windows versions (bug 1705504). 2021-04-18 11:32:17 +03:00
.arcconfig
.babel-eslint.rc.js Bug 1702166 - Update ESLint, Babel and associated modules to the latest versions. r=mossop,nchevobbe 2021-04-04 08:05:39 +00:00
.clang-format
.clang-format-ignore Bug 1686831 - Import glibc printf test cases verbatim. r=mhoye 2021-01-28 09:48:53 +00:00
.cron.yml Bug 1705639 - bump max run time for periodic-update job. r=RyanVM,releng-reviewers,jmaher DONTBUILD 2021-04-16 14:52:53 +00:00
.eslintignore Bug 1682719 - [meta] Enables eslint on browser/extensions/screenshots. r=emalysz 2021-04-20 19:39:48 +00:00
.eslintrc.js Bug 1705127 - Enable more ESLint rules for some more dom/security/test directories. r=ckerschb 2021-04-15 11:11:18 +00:00
.flake8 Bug 1622676 - Made dom/base flake8 compliant.r=championshuttler,sylvestre 2021-03-24 15:26:06 +00:00
.git-blame-ignore-revs Bug 1648010 - Add revisions for the replacement of literal string macros by string literals to the ignore sets. r=marco,glandium DONTBUILD 2020-12-01 09:04:42 +00:00
.gitattributes
.gitignore Bug 1687154 - Add raptor's generated files to .gitignore. r=glandium DONTBUILD 2021-01-19 00:34:55 +00:00
.hg-annotate-ignore-revs Bug 1648010 - Add revisions for the replacement of literal string macros by string literals to the ignore sets. r=marco,glandium DONTBUILD 2020-12-01 09:04:42 +00:00
.hg-format-source
.hgignore Bug 1703105 - wasm: Move generate-spectest tool into tree. r=lth 2021-04-13 16:41:46 +00:00
.hgtags No bug - tagging a69c07c7da3a386e3baf4b7d604312d3fa974273 with FIREFOX_NIGHTLY_89_END a=release DONTBUILD CLOSED TREE 2021-04-19 19:08:56 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright 2021-01-27 22:54:25 +00:00
.prettierrc
.taskcluster.yml Bug 1696944 - Part 3 - Add new image to taskcluster.yml. r=aki 2021-03-17 11:22:02 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
aclocal.m4
AUTHORS
build.gradle Bug 1685390 - Update apilint to 0.4.1. r=esawin 2021-01-08 16:17:22 +00:00
Cargo.lock Bug 1706427 - Update wasmparser and cranelift. r=rhunt 2021-05-04 14:59:40 +00:00
Cargo.toml Bug 1706427 - Update wasmparser and cranelift. r=rhunt 2021-05-04 14:59:40 +00:00
client.mk Bug 1683797: Removes unnecessary lines from client.mk r=sheehan,firefox-build-system-reviewers,glandium 2021-03-09 14:45:24 +00:00
client.py Bug 1705730 - remove update_libffi option from client.py. r=firefox-build-system-reviewers,mhentges 2021-04-16 20:50:15 +00:00
CLOBBER Bug 1705372 - Add new Amazon search engine definitions. r=daleharvey 2021-04-27 18:46:35 +00:00
configure.in Bug 1671424 - Move configure execution from client.mk to mach configure. r=firefox-build-system-reviewers,rstewart 2020-10-20 20:41:52 +00:00
configure.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1700419 - Remove py2commands logic from mach driver.r=ahal 2021-03-26 05:26:47 +00:00
mach.ps1 Bug 1686256 - Add Windows friendly wrapper for mach r=mhentges,firefox-build-system-reviewers,dmajor 2021-01-20 02:08:40 +00:00
Makefile.in Bug 1675086 - drop reference to 'pgo' from Windows AArch EME artifact build. r=nalexander 2020-11-03 22:46:57 +00:00
moz.build Bug 1682898 Migrate Performance Best Practices for Front-end Engineers MDN page to in-tree docs r=firefox-source-docs-reviewers,bas,ahal 2021-03-30 16:02:41 +00:00
moz.configure Bug 1704580 - Move various rust-related configure items to rust.configure. r=firefox-build-system-reviewers,mhentges 2021-04-20 00:33:58 +00:00
mozilla-config.h.in
old-configure.in Bug 1377445 - Remove build dependencies on gtk+2. r=firefox-build-system-reviewers,mhentges 2021-04-20 01:57:03 +00:00
package-lock.json Bug 1556460 - Upgrade jsdoc version to 3.6.6. r=ahal 2021-04-16 16:17:26 +00:00
package.json Bug 1556460 - Upgrade jsdoc version to 3.6.6. r=ahal 2021-04-16 16:17:26 +00:00
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.