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
Перейти к файлу
Aleks Totic 9ef4ee35c5 Bug 1564666 [wpt PR 17542] - [LayoutNG] Fix for incorrect Legacy containing block oof removal, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix for incorrect Legacy containing block oof removal

When containing block changes from being an OOF container
to not being one, it needs to remove the positioned descendants
from its list of positioned objects.

If an OOF object remains in the positioned objects list,
it will cause NGOutOfLayoutPart::SweepLegacyDescendants
to go into an infinite loop and run out of memory. This
was fixed to just trigger a DCHECK in a recent CL.

LayoutInline::StyleDidChange did not perform OOF descendant
removal correctly. LayoutInline OOF descendants are stored in
first non-anonymous block on parent chain, (container's container)
which is not the same as ContainingBlock().

Added a method that computes container's container to
LayoutObject, and made LayoutInline call it.

This fix also works for fixed, because
fixed containers are always absolute containers.

Bug: 977930
Change-Id: I9f88fe676ec67d9d6751f3502507d773ed978dc8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680123
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673156}

--

wpt-commits: a8405825541d608fd26f28b0af36e6b5c42fd70a
wpt-pr: 17542
2019-07-24 13:31:53 +01:00
.cargo Bug 1530715 - P4: Vendor Rust dependencies for cubeb-coreaudio-rs. r=kinetik 2019-07-17 05:32:36 +00:00
.vscode Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof 2019-07-06 07:33:28 +00:00
accessible Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs 2019-07-24 01:26:07 +00:00
browser Backed out changeset 044beb95c8fc (bug 1568306) for mochitest failures on test_confirm_delete_dialog.html . CLOSED TREE 2019-07-24 05:44:54 +03:00
build Bug 1561146 - Enable PGO for Windows aarch64 builds; r=firefox-build-system-reviewers,chmanchester 2019-07-23 23:42:47 +00:00
caps Bug 1501108 - [1.7] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer 2019-07-21 17:18:37 +00:00
chrome Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer 2019-07-15 13:39:51 +00:00
config Bug 1567069 - Set valid _DEPEND_CFLAG for host compiler when target and host are different type. r=glandium 2019-07-18 07:46:03 +00:00
devtools Backed out changeset 637f32b7e43c (bug 1567335) for dt failures on markup.css . CLOSED TREE 2019-07-23 23:24:34 +03:00
docshell Bug 1566215 - Part 6: Undo the insecure URI loading exception for the Layout Debugger. r=dbaron 2019-07-22 04:48:46 +00:00
dom Backed out changeset f74c9d255293 (bug 1568055) for Assertion failures (MOZ_ASSERT_UNREACHABLE: leaking stream event). CLOSED TREE 2019-07-23 23:13:43 +03:00
editor Bug 1548389 - part 10: Make `TextEditor::SetUnmaskRangeInternal()` expand the range if specified offset is middle of a surrogate pair r=m_kato 2019-07-22 03:56:33 +00:00
extensions Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8 2019-07-15 16:19:32 -07:00
gfx Bug 1548339 - Fix WR saved alpha task sampling r=gw 2019-07-23 23:14:35 +00:00
gradle/wrapper
hal Bug 1289211 - Rename InfallibleTArray to nsTArray in hal/ r=gsvelto 2019-07-10 03:30:52 +00:00
image Backed out changeset a858e4411532 (bug 1566595) for causing Windows MinGW builds bustages CLOSED TREE 2019-07-22 21:39:08 +03:00
intl Backed out changeset a858e4411532 (bug 1566595) for causing Windows MinGW builds bustages CLOSED TREE 2019-07-22 21:39:08 +03:00
ipc Merge mozilla-central to mozilla-inbound. 2019-07-18 12:57:56 +03:00
js Merge mozilla-central to mozilla-inbound. a=merge 2019-07-24 12:57:43 +03:00
layout Merge mozilla-central to mozilla-inbound. a=merge 2019-07-24 12:57:43 +03:00
media Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-24 06:58:05 +03:00
memory Bug 1523276 - Implement PHC, a probabilistic heap checker. r=glandium,gsvelto 2019-07-03 09:26:11 +10:00
mfbt Bug 1567944 - remove *DISABLE_INTEGRAL_CONSTANT_OVERFLOW_WARNING macros; r=dmajor 2019-07-23 08:02:48 +00:00
mobile Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs 2019-07-24 01:26:07 +00:00
modules Bug 1560820 - Remove `sGfxLogLevel`. r=nical 2019-07-24 00:05:23 +00:00
mozglue Bug 1567465 - Default BlockIndex used as empty value index before any valid entry - r=gregtatum 2019-07-19 16:10:30 +00:00
netwerk Backed out changeset a858e4411532 (bug 1566595) for causing Windows MinGW builds bustages CLOSED TREE 2019-07-22 21:39:08 +03:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to NSPR 4.22 beta1. r=me 2019-07-09 17:40:27 +02:00
other-licenses Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium 2019-07-11 16:40:13 +00:00
parser Bug 1565129 - Re-introduce plain_text.wrap_long_lines. r=bzbarsky 2019-07-11 18:49:50 +00:00
python Bug 1567619 - Avoid double stat in preprocessed file installs; r=glandium 2019-07-23 03:03:36 +00:00
remote Bug 1563690 - Make Target class save a list of Connection rather than Session. r=remote-protocol-reviewers,jdescottes 2019-07-18 16:39:11 +00:00
security Bug 1564499 - land NSS a31fc0eefc4c UPGRADE_NSS_RELEASE, r=me 2019-07-23 19:31:53 +00:00
services Bug 1564131 - re-enable syncing of builtin themes. r=rpl 2019-07-18 01:25:50 +00:00
servo Backed out 2 changesets (bug 1568446) for causing multiple failures 2019-07-24 12:38:39 +03:00
startupcache Bug 1554162 - Enable ESLint for startupcache/. r=froydnj 2019-05-25 02:07:26 +00:00
storage Bug 1565056, merge ImgDecoder and mozStorage threads in THREAD_WAKEUP telemetry, r=tnikkel,asuth 2019-07-11 04:03:44 +00:00
taskcluster Bug 1561146 - Enable PGO for Windows aarch64 builds; r=firefox-build-system-reviewers,chmanchester 2019-07-23 23:42:47 +00:00
testing Bug 1564666 [wpt PR 17542] - [LayoutNG] Fix for incorrect Legacy containing block oof removal, a=testonly 2019-07-24 13:31:53 +01:00
third_party Bug 1567457 - Vendor rust depencies: add ringbuf. r=kinetik 2019-07-23 12:03:31 +00:00
toolkit Bug 1568371 - Make h1 headings sticky on about:memory. r=njn 2019-07-24 01:50:09 +00:00
tools Bug 1568110 - Add RPMGetStringPref for getting the content blocking category pref in about:protections. r=ewright 2019-07-23 17:45:54 +00:00
uriloader Bug 1567614: Part 3 - Use ShellExecuteByExplorer in nsMIMEInfoWin; r=jmathies 2019-07-23 20:18:21 +00:00
view Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron 2019-07-09 19:40:42 +00:00
widget Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs 2019-07-24 01:26:07 +00:00
xpcom Backed out changeset a858e4411532 (bug 1566595) for causing Windows MinGW builds bustages CLOSED TREE 2019-07-22 21:39:08 +03:00
xpfe/appshell Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE 2019-07-23 05:13:32 +03:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1563903 - Remove libmar from the clang ignore list r=Ehsan 2019-07-08 15:39:24 +00:00
.cron.yml Bug 1565630 - Do searchfox C++/Rust indexing on ESR68. r=RyanVM 2019-07-15 17:55:20 +00:00
.eslintignore Bug 1556849 - Enable ESLint for dom/base/. r=Standard8,mccr8 2019-07-15 17:22:45 +00:00
.eslintrc.js Bug 1564555 - Enable some more ESLint rules for layout. r=Standard8,dholbert 2019-07-18 21:00:21 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1564862 - Update .git-blame-ignore-revs to ignore reformatting m-c using Prettier (bug 1561435) in blame/annotate, r=sylvestre 2019-07-10 13:47:38 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hg-annotate-ignore-revs Bug 1563763 - Ignore reformatting m-c using Prettier (bug 1561435) in in blame/annotate, r=standard8, CLOSED TREE, DONTBUILD 2019-07-05 17:53:06 +02:00
.hg-format-source Bug 1556393 - Pre 1 (m-c): Update .hg-format-source to use Prettier when running format-source, r=andi, CLOSED TREE 2019-07-03 20:48:37 +02:00
.hgignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hgtags No bug - Tagging mozilla-central e596664275d5e3e2fdcb7fa8d1447289f99269c3 with FIREFOX_NIGHTLY_69_END a=release DONTBUILD CLOSED TREE 2019-07-08 16:13:40 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1542233 - Add link to treeherder for all notification emails r=tomprince 2019-07-08 18:47:27 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-07-08 17:27:36 +00:00
Cargo.lock Bug 1539225 - Vendor Rust. r=chunmin 2019-07-23 19:38:48 +00:00
Cargo.toml Bug 1550640 - P4: Remove bincode. r=Gankro 2019-07-12 06:12:33 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1565706 - Allow to run `mach build rust` without setting MOZ_RUST_TIER. r=froydnj 2019-07-15 23:50:31 +00:00
README.txt
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
build.gradle Bug 1515248 - Upgrade to Android-Gradle plugin 3.2.1 and build-tools 28.0.3. r=agi 2019-07-20 17:27:53 +00:00
client.mk
client.py
configure.in
configure.py Bug 1559975 - Make configure.py lint with 'py2' and 'py3' r=catlee 2019-07-08 17:34:09 +00:00
gradle.properties
gradlew
gradlew.bat
mach
moz.build Bug 1560425 - Remove old performance measurement API r=jorendorff 2019-07-02 14:37:17 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in
old-configure.in Bug 1567888 - remove unneeded QT-related rules and configure bits; r=nalexander 2019-07-22 18:53:43 +00:00
package-lock.json Bug 1567134 - Update the node modules packages for the builders. r=ahal 2019-07-18 13:10:40 +00:00
package.json Bug 1564138 - Fix DevTools PropTypes errors when updating eslint. r=Ola. 2019-07-17 10:35:44 +00:00
settings.gradle
test.mozbuild

README.txt

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

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

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 Mozilla developers for
testing, may be buggy.