Dactyloidae/layout/generic
Andy be1f68f39e Issue #1620 - Use Intrinsic Aspect Ratio for Images
https://bugzilla.mozilla.org/show_bug.cgi?id=1547231
https://bugzilla.mozilla.org/show_bug.cgi?id=1559094
https://bugzilla.mozilla.org/show_bug.cgi?id=1633434
https://bugzilla.mozilla.org/show_bug.cgi?id=1565690
https://bugzilla.mozilla.org/show_bug.cgi?id=1602047

Make use of Aspect Ratios in Image frames before Images are loaded.
- Check for width and height HTML properties and create a ratio with them.
- Overwrite HTML size values with actual image dimensions on load.
- Collapse any frames with srcless images.

Comments:
dom/html/nsGenericHTMLElement.cpp:1483
layout/generic/nsImageFrame.cpp:289
2020-08-14 08:59:33 +08:00
..
crashtests Issue #1620 - Use Intrinsic Aspect Ratio for Images 2020-08-14 08:59:33 +08:00
test Issue #1233 - Part 2: Update Reftests 2019-10-05 07:22:08 +08:00
AspectRatio.h Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
AsyncScrollBase.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
AsyncScrollBase.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
BlockReflowInput.cpp Remove unnecessary calls to ReparentFloatsForInlineChild in 2019-12-02 15:45:56 +08:00
BlockReflowInput.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
broken-image.png import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
CSSAlignUtils.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
CSSAlignUtils.h Issue #80 - De-unify layout/PITA... I mean layout/generic 2020-05-02 08:28:25 +08:00
DetailsFrame.cpp Bug 1377648 - Fix HTMLSummaryElement::IsSummary() on removing the element 2020-04-18 07:04:35 +08:00
DetailsFrame.h Bug 1377648 - Fix HTMLSummaryElement::IsSummary() on removing the element 2020-04-18 07:04:35 +08:00
folder.png import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
frame-graph.py import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
FrameChildList.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
FrameChildList.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
jar.mn import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
JustificationUtils.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
loading-image.png import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
MathMLTextRunFactory.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
MathMLTextRunFactory.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
moz.build Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
nsAbsoluteContainingBlock.cpp issue #1575 - Fix the wrong position when we calculate the position for position:absolute child and add reftests 2020-06-06 07:21:30 +08:00
nsAbsoluteContainingBlock.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsAtomicContainerFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsAutoCopyListener.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsBackdropFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsBackdropFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsBlockDebugFlags.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsBlockFrame.cpp Issue #1355 - Preemptively fix build bustage for 1409114 2020-05-16 06:48:36 +08:00
nsBlockFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsBlockReflowContext.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsBlockReflowContext.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsBRFrame.cpp Issue #80 - Resolve issues with compiling on insane gcc configurations with no optimizations in layout/ 2020-05-02 08:28:44 +08:00
nsBulletFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsBulletFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsCanvasFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsCanvasFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsColumnSetFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsColumnSetFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsContainerFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsContainerFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsDirection.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFirstLetterFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsFirstLetterFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsFlexContainerFrame.cpp Issue #1619 - Nits Picked 2020-08-06 10:23:13 +08:00
nsFlexContainerFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsFloatManager.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsFloatManager.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFontInflationData.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsFontInflationData.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFrame.cpp Issue #1619 - Add Vertical Writing Testcase 2020-08-06 10:23:11 +08:00
nsFrame.h Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
nsFrameIdList.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFrameList.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFrameList.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFrameSelection.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFrameSetFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsFrameSetFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsFrameState.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFrameState.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFrameStateBits.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsFrameUtil.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsGfxScrollFrame.cpp Issue #1355 - Preemptively fix build bustage for 1409114 2020-05-16 06:48:36 +08:00
nsGfxScrollFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsGridContainerFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsGridContainerFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsHTMLCanvasFrame.cpp Issue #1619 - Nits Picked 2020-08-06 10:23:13 +08:00
nsHTMLCanvasFrame.h Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
nsHTMLParts.h Bug 1334358 - Remove nsCSSFrameConstructor::CreateAnonymousFrames 2020-04-18 07:02:57 +08:00
nsIAnonymousContentCreator.h Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time 2020-04-18 07:03:03 +08:00
nsIFrame.h Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
nsIFrameInlines.h Bug 1368547 - Remove nsFrameManagerBase::mPlaceholderMap and instead store the placeholder on a frame property on the out-of-flow 2020-04-18 07:04:32 +08:00
nsIFrameUtil.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsILineIterator.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsImageFrame.cpp Issue #1620 - Use Intrinsic Aspect Ratio for Images 2020-08-14 08:59:33 +08:00
nsImageFrame.h Issue #1620 - Use Intrinsic Aspect Ratio for Images 2020-08-14 08:59:33 +08:00
nsImageMap.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsImageMap.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsInlineFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsInlineFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsIntervalSet.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIntervalSet.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIObjectFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIPageSequenceFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIScrollableFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIScrollPositionListener.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIStatefulFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsLeafFrame.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsLeafFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsLineBox.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsLineBox.h Remove 18 yo OS/2 and AIX bustage workaround. 2019-04-04 20:26:32 +08:00
nsLineLayout.cpp Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
nsLineLayout.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsPageContentFrame.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsPageContentFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsPageFrame.cpp Issue #1355 - Preemptively fix build bustage for 1409114 2020-05-16 06:48:36 +08:00
nsPageFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsPlaceholderFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsPlaceholderFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsPluginFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsPluginFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsQueryFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyBaseContainerFrame.cpp Issue #80 - De-unify layout/PITA... I mean layout/generic 2020-05-02 08:28:25 +08:00
nsRubyBaseContainerFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyBaseFrame.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyBaseFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyContentFrame.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyContentFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyFrame.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyTextContainerFrame.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyTextContainerFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsRubyTextFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsRubyTextFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsSelection.cpp Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions] 2020-04-18 07:06:12 +08:00
nsSimplePageSequenceFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsSimplePageSequenceFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsSplittableFrame.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsSplittableFrame.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsSubDocumentFrame.cpp Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
nsSubDocumentFrame.h Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
nsTextFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsTextFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsTextFrameUtils.cpp Issue #80 - De-unify layout/PITA... I mean layout/generic 2020-05-02 08:28:25 +08:00
nsTextFrameUtils.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsTextRunTransformations.cpp Issue #80 - De-unify layout/PITA... I mean layout/generic 2020-05-02 08:28:25 +08:00
nsTextRunTransformations.h Issue #80 - De-unify layout/PITA... I mean layout/generic 2020-05-02 08:28:25 +08:00
nsVideoFrame.cpp Issue #1619 - Nits Picked 2020-08-06 10:23:13 +08:00
nsVideoFrame.h Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
nsViewportFrame.cpp Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
nsViewportFrame.h Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList 2020-05-16 06:48:33 +08:00
ReflowInput.cpp Bug 1368547 - Remove nsFrameManagerBase::mPlaceholderMap and instead store the placeholder on a frame property on the out-of-flow 2020-04-18 07:04:32 +08:00
ReflowInput.h Bug 958714 Simplify percent-margin/padding resolution code to pass around a single length as the percent basis 2019-02-16 00:09:08 +08:00
ReflowOutput.cpp Issue #80 - De-unify layout/PITA... I mean layout/generic 2020-05-02 08:28:25 +08:00
ReflowOutput.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
RubyUtils.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
RubyUtils.h Issue #80 - De-unify layout/PITA... I mean layout/generic 2020-05-02 08:28:25 +08:00
ScrollbarActivity.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ScrollbarActivity.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ScrollSnap.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ScrollSnap.h Issue #80 - De-unify layout/PITA... I mean layout/generic 2020-05-02 08:28:25 +08:00
ScrollVelocityQueue.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ScrollVelocityQueue.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
Selection.h Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions] 2020-04-18 07:06:12 +08:00
SelectionChangeListener.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
StickyScrollContainer.cpp Issue #146 - Part 6: Allow position: sticky on table elements. 2019-11-05 10:43:07 +08:00
StickyScrollContainer.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
TextOverflow.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
TextOverflow.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
Visibility.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
WritingModes.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00