gecko-dev/layout/reftests
Masayuki Nakano a353ab7e90 Bug 1789967 - part 3: Make `HTMLEditor::CollapseSelectionToEndOfLastLeafNodeOfDocument` and `HTMLEditor::InitEditorContentAndSelection` do nothing if the document is partially editable r=m_kato
They and their callees work with the result of `GetRoot()` which is the document
element or the body element.  If the body is not editable, `Selection` should
not be updated in non-editable region nor `<br>` elements should not be
inserted in both non-focused editable elements and non-editable elements.
Therefore, they should run only when the document element or the `<body>`
element is editable.

To keep testing crashtests as reported, this patch makes tests which have
`contenteditable` except `<html>` and `<body>` initialize `Selection` as
what we've done.  And clean up the tests for helping to port them to WPT
in the future (bug 1725850).

Differential Revision: https://phabricator.services.mozilla.com/D157408
2022-09-22 06:27:37 +00:00
..
abs-pos Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
apng-mime
async-scrolling Bug 1714143 - Revert bug 1705927. r=tnikkel 2022-09-21 08:38:53 +00:00
backgrounds Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
bidi Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
border-dotted Bug 1761756 - Check the intersection again after conditioning the rect. r=miko 2022-04-05 22:41:53 +00:00
border-image Bug 1746662 - Disable CreateSamplingRestrictedDrawable. 2022-08-21 18:12:48 +00:00
border-radius Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
box Bug 1790590 - contain: size <browser> elements. r=dao 2022-09-14 18:31:42 +00:00
box-ordinal
box-properties Bug 1715984 - Remove -moz-outline-radius. r=TYLin 2021-06-15 04:16:46 +00:00
box-shadow Bug 793686 Part 1 - Don't set mIsTopOfPage on -moz-column-content during column-balancing. r=emilio 2022-08-10 16:19:05 +00:00
box-sizing
bugs Bug 1789612 - Backed out changeset 105858693e9a for causing tsvgx regression. r=gfx-reviewers,jgilbert 2022-09-19 09:40:23 +00:00
canvas Bug 1773280 - Support complex clips in DrawTargetWebgl by using a mask texture. r=aosmond,gfx-reviewers 2022-09-06 05:06:18 +00:00
color-scheme Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
columns Bug 1739894 - Stop including overflowing descendants in outlines. r=jwatt 2021-11-10 20:00:13 +00:00
conditional
counter-style
counters Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
css-animations Bug 1776077 - Fix delay phase for scroll animations in the compositor thread. r=hiro 2022-09-22 00:06:10 +00:00
css-blending Bug 1787089 - Fix interactions between root level mix-blend containers and backdrop-filter r=gfx-reviewers,lsalzman 2022-08-29 00:30:24 +00:00
css-break Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
css-calc Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
css-charset
css-default
css-disabled Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
css-display Bug 1694459 - Deal with 'display:contents' style changes on <fieldset> descendants better where it affects which <legend> is the rendered legend. r=emilio 2021-03-01 03:42:41 +00:00
css-enabled Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
css-gradients Bug 1772555 - Annotate a test as fuzzy as some other neighboring tests. 2022-06-23 03:08:49 +02:00
css-grid Bug 1780996 - Adjust windows10 screen resolution to match physical hardware if using gpu instance. r=gbrown,jrmuizel 2022-07-25 17:33:50 +00:00
css-import
css-invalid Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug 2021-10-26 21:35:40 +00:00
css-mediaqueries Bug 1422312 - implement 'update' media feature r=emilio 2022-05-14 13:46:41 +00:00
css-optional
css-page Bug 1764437 - Check for prev/next sibling when propagating start/end page values for frames r=dholbert 2022-09-20 21:42:34 +00:00
css-parsing
css-placeholder Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
css-required
css-ruby
css-scroll-snap Bug 1707513 - Add 'drawSnapshot' mode to reftest harness, and annotate all current failures. r=tnikkel 2021-05-10 00:28:01 +00:00
css-scrollbars Bug 1748181 - Provide a pref to make scrollbar-width: thin behave as auto. r=morgan 2022-02-07 18:14:31 +00:00
css-selectors
css-shapes
css-sizing
css-transitions
css-ui Bug 1707513 - Add 'drawSnapshot' mode to reftest harness, and annotate all current failures. r=tnikkel 2021-05-10 00:28:01 +00:00
css-ui-invalid Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug 2021-10-26 21:35:40 +00:00
css-ui-valid Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug 2021-10-26 21:35:40 +00:00
css-valid Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug 2021-10-26 21:35:40 +00:00
css-valuesandunits Bug 1733921 - Simplify reftest annotations to assume WebRender is on. r=gfx-reviewers,jrmuizel 2021-10-04 13:14:37 +00:00
css-variables Bug 1692067 - Disable perma-failing reftests. r=decoder 2021-05-05 18:20:33 +00:00
css-visited Bug 1687538 - Make HTMLLinkElement not inherit from Link. r=smaug 2021-01-28 05:35:05 +00:00
cssom Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
datalist
details-summary Bug 1308080 - Make <details> use a shadow tree as per spec. r=TYLin,smaug 2022-09-16 14:54:12 +00:00
display-list Bug 1697979 - Part 3: Add tests r=mstange 2022-01-22 02:37:32 +00:00
dom
first-letter Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
first-line Bug 1769842 - remove old osx annotations in reftest. r=aryx 2022-05-18 18:57:11 +00:00
flexbox Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
floats Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
font-face Backed out 2 changesets (bug 1791017, bug 1740526) for causing reftest failures on colrv1-01.html. CLOSED TREE 2022-09-22 03:45:25 +03:00
font-features Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
font-inflation Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
font-loading-api Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
font-matching Bug 1784375: Call LocaleParser::TryParse() with a new, empty Locale. r=platform-i18n-reviewers,dminor 2022-08-15 15:37:20 +00:00
font-variations Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
fonts Bug 1738700 - Don't use FT_LOAD_COLOR for COLR-format fonts within WebRender, because color-font layers are handled at the Gecko level. r=lsalzman 2021-11-09 23:17:44 +00:00
forms Bug 1789874 - Fix colors used by nsListControlFrame::PaintFocus. r=mstange 2022-09-13 00:43:09 +00:00
frameset Bug 1692067 - Disable perma-failing reftests. r=decoder 2021-05-05 18:20:33 +00:00
generated-content Bug 1769842 - remove old osx annotations in reftest. r=aryx 2022-05-18 18:57:11 +00:00
high-contrast Bug 1791455 - Honor currentColor in HCM. r=morgan 2022-09-20 17:52:34 +00:00
ib-split
image Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
image-element Bug 1746662 - Disable CreateSamplingRestrictedDrawable. 2022-08-21 18:12:48 +00:00
image-rect Bug 1733921 - Simplify reftest annotations to assume WebRender is on. r=gfx-reviewers,jrmuizel 2021-10-04 13:14:37 +00:00
image-region Bug 1784265 - Drop support for flex attribute values other than 0 and 1. r=dholbert,mconley,preferences-reviewers 2022-08-12 23:13:41 +00:00
indic-shaping
inline
inline-borderpadding
invalidation Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
layers Bug 1780996 - Adjust windows10 screen resolution to match physical hardware if using gpu instance. r=gbrown,jrmuizel 2022-07-25 17:33:50 +00:00
line-breaking Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
list-item Bug 1542807 part 6 - Update test expectations and fix tests that unintentionally depend on bullet ::marker font metrics. r=emilio 2021-06-14 01:22:07 +00:00
margin-collapsing Bug 1688695 - Hide non-standard values of caption-side. r=emilio 2021-02-12 15:45:48 +00:00
marquee
mathml Bug 1789988: Export layout/reftests/mathml/mo-lspace-rspace-* tests to WPT. r=emilio 2022-09-09 19:40:48 +00:00
meta-viewport Bug 1735574 - Simplify meta viewport handling. r=smaug 2021-10-15 16:08:02 +00:00
mp4-video
native-theme Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
object Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
ogg-video
outline Bug 1780075 - Remove outline-style: auto pref. r=layout-reviewers,dholbert 2022-07-19 09:25:11 +00:00
pagination Bug 793686 Part 1 - Don't set mIsTopOfPage on -moz-column-content during column-balancing. r=emilio 2022-08-10 16:19:05 +00:00
percent-overflow-sizing
pixel-rounding Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
position-dynamic-changes Bug 1692067 - Disable perma-failing reftests. r=decoder 2021-05-05 18:20:33 +00:00
position-relative
position-sticky Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
printing Bug 1699240 - Add print.css stylesheet to print reftest to suppress default footer text (because the timestamp is potentially problematic). r=dholbert 2021-03-17 20:01:05 +00:00
reftest-sanity Bug 1771822 - Remove the layers.low-precision-{buffer,resolution} prefs. r=tnikkel 2022-07-14 18:39:33 +00:00
scrolling Bug 1724088 - Don't notify ScrollbarActivity in scroll frames without scrollbars. r=tnikkel 2022-02-17 01:31:02 +00:00
selection Bug 1769842 - remove old osx annotations in reftest. r=aryx 2022-05-18 18:57:11 +00:00
stylesheet-cloning
svg Bug 1789612 - Backed out changeset 105858693e9a for causing tsvgx regression. r=gfx-reviewers,jgilbert 2022-09-19 09:40:23 +00:00
tab-size
table-anonymous-boxes Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
table-background Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
table-bordercollapse Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
table-dom
table-html Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
table-overflow Bug 1692067 - Disable perma-failing reftests. r=decoder 2021-05-05 18:20:33 +00:00
table-width
text Bug 1772668 - Move text-align-last reftests to WPT. r=emilio 2022-06-04 13:00:53 +00:00
text-decoration Bug 1499459: Remove skip-if-win7 reftest annotation for an issue that seems to have gone away. r=emilio 2022-05-19 23:25:07 +00:00
text-indent
text-overflow Bug 1789967 - part 3: Make `HTMLEditor::CollapseSelectionToEndOfLastLeafNodeOfDocument` and `HTMLEditor::InitEditorContentAndSelection` do nothing if the document is partially editable r=m_kato 2022-09-22 06:27:37 +00:00
text-shadow Bug 1749380 - Part 1 - Improve how WR handles bounding rects for off-screen surfaces r=gfx-reviewers 2022-02-23 20:49:26 +00:00
text-stroke Bug 1789612 - Backed out changeset 105858693e9a for causing tsvgx regression. r=gfx-reviewers,jgilbert 2022-09-19 09:40:23 +00:00
text-svgglyphs Bug 1769965 - Create copies of the svg-glyph-objectvalue reftest with different zoom levels. r=emilio 2022-05-21 15:42:17 +00:00
text-transform Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
transform Bug 1783717 - Fix glyph cache entry bounds comparisons in DrawTargetWebgl. r=aosmond 2022-08-10 02:57:25 +00:00
transform-3d Bug 1780996 - Adjust windows10 screen resolution to match physical hardware if using gpu instance. r=gbrown,jrmuizel 2022-07-25 17:33:50 +00:00
unicode
usercss Bug 1733921 - Simplify reftest annotations to assume WebRender is on. r=gfx-reviewers,jrmuizel 2021-10-04 13:14:37 +00:00
view-source
web-animations
webcomponents
webkit-box Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
webkit-gradient Bug 1733921 - Simplify reftest annotations to assume WebRender is on. r=gfx-reviewers,jrmuizel 2021-10-04 13:14:37 +00:00
webm-video Bug 1733921 - Simplify reftest annotations to assume WebRender is on. r=gfx-reviewers,jrmuizel 2021-10-04 13:14:37 +00:00
writing-mode Bug 1770273: Annotate reftest 1673510-1.html as reliably failing on win7 (instead of skipped). r=jfkthame 2022-05-29 02:54:52 +00:00
xul Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx 2022-05-19 12:27:29 +00:00
xul-document-load
z-index Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel 2021-10-04 15:19:10 +00:00
filters.svg
moz.build Bug 1774376 - update file-to-Bugzilla-component mappings for Graphics team r=perftest-reviewers,gfx-reviewers,sparky,aosmond,nical 2022-06-30 18:07:29 +00:00
reftest-qr.list
reftest.list Bug 1760378 Part 3 - Add ref case and updated reftest.list for generated page-name reftests r=dholbert 2022-03-29 18:18:48 +00:00